kernel: add header files
This commit is contained in:
12
arch/x86_64/include/kernel/machine/panic.h
Normal file
12
arch/x86_64/include/kernel/machine/panic.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#ifndef KERNEL_X86_64_PANIC_H_
|
||||
#define KERNEL_X86_64_PANIC_H_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
struct ml_cpu_context;
|
||||
|
||||
extern void ml_print_cpu_state(struct ml_cpu_context *ctx);
|
||||
extern void ml_print_stack_trace(uintptr_t ip);
|
||||
extern void ml_print_stack_trace_irq(struct ml_cpu_context *ctx);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user