2024-11-02 11:31:51 +00:00
|
|
|
#ifndef MANGO_X86_64_PANIC_H_
|
|
|
|
|
#define MANGO_X86_64_PANIC_H_
|
2023-04-09 16:35:15 +01:00
|
|
|
|
2023-05-06 22:18:34 +01:00
|
|
|
#include <stdint.h>
|
|
|
|
|
|
2026-02-08 11:32:09 +00:00
|
|
|
struct ml_cpu_context;
|
2023-04-09 16:35:15 +01:00
|
|
|
|
2026-02-08 11:32:09 +00:00
|
|
|
extern void ml_print_cpu_state(struct ml_cpu_context *ctx);
|
2023-05-06 22:18:34 +01:00
|
|
|
extern void ml_print_stack_trace(uintptr_t ip);
|
2026-02-08 11:32:09 +00:00
|
|
|
extern void ml_print_stack_trace_irq(struct ml_cpu_context *ctx);
|
2023-04-09 16:35:15 +01:00
|
|
|
|
|
|
|
|
#endif
|