|
PatchworkOS
da8a090
A non-POSIX operating system.
|
Go to the source code of this file.
Macros | |
| #define | PANIC_NO_CPU_ID UINT32_MAX |
| Cpu ID indicating no CPU has panicked yet. | |
| #define | PANIC_MAX_STACK_FRAMES 16 |
| Maximum stack frames to capture in a panic. | |
| #define | QEMU_EXIT_ON_PANIC_PORT 0x501 |
| QEMU exit port for panic. | |
Typedefs | |
| typedef struct interrupt_frame | interrupt_frame_t |
| typedef struct cpu | cpu_t |
Functions | |
| void | panic_stack_trace (const interrupt_frame_t *frame) |
| Print a stack trace from a interrupt frame. | |
| NORETURN void | panic (const interrupt_frame_t *frame, const char *format,...) |
| Panic the kernel, printing a message and halting. | |
| typedef struct interrupt_frame interrupt_frame_t |