summaryrefslogtreecommitdiff
path: root/kernel/include/lib
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-05-05 09:54:48 -0400
committerFreya Murphy <freya@freyacat.org>2025-05-05 09:58:20 -0400
commit592c6992c7ea0c2e4cbea79fadb1c845f2fc050e (patch)
tree5d98b664749b67eb20d7fc279ff36bcf44843f21 /kernel/include/lib
parentoff by one (diff)
downloadcomus-592c6992c7ea0c2e4cbea79fadb1c845f2fc050e.tar.gz
comus-592c6992c7ea0c2e4cbea79fadb1c845f2fc050e.tar.bz2
comus-592c6992c7ea0c2e4cbea79fadb1c845f2fc050e.zip
pc spkr
Diffstat (limited to '')
-rw-r--r--kernel/include/lib/klib.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/include/lib/klib.h b/kernel/include/lib/klib.h
index b4d26ed..f549a09 100644
--- a/kernel/include/lib/klib.h
+++ b/kernel/include/lib/klib.h
@@ -264,6 +264,11 @@ __attribute__((noreturn, format(printf, 3, 4))) void
__panic(unsigned int line, const char *file, const char *format, ...);
/**
+ * Loop kernel in fatal notifier (beep and blink caps lock key)
+ */
+__attribute__((noreturn)) void fatal_loop(void);
+
+/**
* Fill dst with a stack trace consisting of return addresses in order
* from top to bottom
*