diff options
author | Richard Braun <rbraun@sceen.net> | 2017-07-13 20:07:07 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2017-07-13 20:07:07 +0200 |
commit | b2ad7d862388558556288877a65f2797528168f4 (patch) | |
tree | 4d3080abf0cbcca7c058cba5cad2ed71e5d5e1e5 /kern/panic.h | |
parent | cacd797c0c1825301f21aab18a7ce2c410d14535 (diff) |
Switch to initialization operations
Diffstat (limited to 'kern/panic.h')
-rw-r--r-- | kern/panic.h | 8 |
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 */ |