aboutsummaryrefslogtreecommitdiff
path: root/include/apos/types.h
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2022-09-14 21:30:11 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2022-09-14 21:30:11 +0300
commitcabbf335824db0df835e4c541c19d3803ce38454 (patch)
treee7397d2b6637545b8e18f26135e3ad2a0a2fbe1e /include/apos/types.h
parent025778e89e7d0fe3cd1ad53537c9cc6f3cd819cc (diff)
downloadkmi-cabbf335824db0df835e4c541c19d3803ce38454.tar.gz
kmi-cabbf335824db0df835e4c541c19d3803ce38454.zip
add canary to kernel stack
Diffstat (limited to 'include/apos/types.h')
-rw-r--r--include/apos/types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/apos/types.h b/include/apos/types.h
index 10ad80a..f249705 100644
--- a/include/apos/types.h
+++ b/include/apos/types.h
@@ -455,6 +455,8 @@ typedef uint_fast16_t vmflags_t;
*/
/* should this enum be somewhere else? */
enum status_codes {
+ /** Internal error, should probably halt */
+ ERR_INT = -9,
/** Something went wrong :/ */
ERR_MISC = -8,
/** Not initialized. */