summaryrefslogtreecommitdiffstats
path: root/include/api/error.h
diff options
context:
space:
mode:
authorJon Santmyer <jon@jonsantmyer.com>2025-09-18 13:52:58 -0400
committerJon Santmyer <jon@jonsantmyer.com>2025-09-18 13:52:58 -0400
commitddc4fbc15223e362896a9f42beca73f05f48e664 (patch)
tree30f8ffc989bc66d9d9e67c7321b3d7a9c46dc130 /include/api/error.h
parentcfc793e204ba63d281e778a36992b8c86dd0ad88 (diff)
downloadjove-kernel-ddc4fbc15223e362896a9f42beca73f05f48e664.tar.gz
jove-kernel-ddc4fbc15223e362896a9f42beca73f05f48e664.tar.bz2
jove-kernel-ddc4fbc15223e362896a9f42beca73f05f48e664.zip
move usermode-critical info to include/api
Diffstat (limited to 'include/api/error.h')
-rw-r--r--include/api/error.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/api/error.h b/include/api/error.h
new file mode 100644
index 0000000..da8093c
--- /dev/null
+++ b/include/api/error.h
@@ -0,0 +1,21 @@
+#ifndef _JOVE_ERROR_H
+#define _JOVE_ERROR_H 1
+
+enum
+{
+ KE_OK = 0,
+ KE_BADOBJ,
+ KE_BADFUNC,
+ KE_BADTYPE,
+ KE_BADMSG,
+ KE_BADCALL,
+ KE_FULL,
+ KE_TOOSMALL,
+ KE_OOB,
+ KE_DNE,
+ KE_ALIGN,
+ KE_BADSIZE,
+ KE_OCCUPIED
+};
+
+#endif