summaryrefslogtreecommitdiff
path: root/kern/panic.h
diff options
context:
space:
mode:
Diffstat (limited to 'kern/panic.h')
-rw-r--r--kern/panic.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/kern/panic.h b/kern/panic.h
index e0980575..e6cbe8ba 100644
--- a/kern/panic.h
+++ b/kern/panic.h
@@ -20,10 +20,18 @@
#include <stdnoreturn.h>
+#include <kern/init.h>
+
/*
* Print the given message and halt the system immediately.
*/
noreturn void panic(const char *format, ...)
__attribute__((format(printf, 1, 2)));
+/*
+ * This init operation provides :
+ * - module fully initialized
+ */
+INIT_OP_DECLARE(panic_setup);
+
#endif /* _KERN_PANIC_H */