From cabbf335824db0df835e4c541c19d3803ce38454 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Wed, 14 Sep 2022 21:30:11 +0300 Subject: add canary to kernel stack --- include/apos/types.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/apos/types.h') 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. */ -- cgit v1.3