kernel: implement panic()

This commit is contained in:
2023-04-09 16:35:15 +01:00
parent 9b75ca8b8c
commit da415c7f6d
5 changed files with 184 additions and 4 deletions

View File

@@ -0,0 +1,9 @@
#ifndef SOCKS_X86_64_PANIC_H_
#define SOCKS_X86_64_PANIC_H_
struct cpu_context;
extern void ml_print_cpu_state(struct cpu_context *ctx);
extern void ml_print_stack_trace(struct cpu_context *ctx);
#endif