2023-04-09 16:35:15 +01:00
|
|
|
#ifndef SOCKS_X86_64_PANIC_H_
|
|
|
|
|
#define SOCKS_X86_64_PANIC_H_
|
|
|
|
|
|
2023-05-06 22:18:34 +01:00
|
|
|
#include <stdint.h>
|
|
|
|
|
|
2023-04-09 16:35:15 +01:00
|
|
|
struct cpu_context;
|
|
|
|
|
|
|
|
|
|
extern void ml_print_cpu_state(struct cpu_context *ctx);
|
2023-05-06 22:18:34 +01:00
|
|
|
extern void ml_print_stack_trace(uintptr_t ip);
|
|
|
|
|
extern void ml_print_stack_trace_irq(struct cpu_context *ctx);
|
2023-04-09 16:35:15 +01:00
|
|
|
|
|
|
|
|
#endif
|