kernel: add header files
This commit is contained in:
13
include/kernel/panic.h
Normal file
13
include/kernel/panic.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#ifndef KERNEL_PANIC_H_
|
||||
#define KERNEL_PANIC_H_
|
||||
|
||||
#include <kernel/compiler.h>
|
||||
|
||||
struct ml_cpu_context;
|
||||
|
||||
#define panic(...) panic_irq(NULL, __VA_ARGS__)
|
||||
|
||||
extern void __noreturn
|
||||
panic_irq(struct ml_cpu_context *ctx, const char *fmt, ...);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user