diff options
| author | Ian Moffett <ian@osmora.org> | 2025-11-19 01:02:33 -0500 |
|---|---|---|
| committer | Ian Moffett <ian@osmora.org> | 2025-11-19 01:02:33 -0500 |
| commit | 860ac5d5d1c047bd388aed8ac9c0570a118a5034 (patch) | |
| tree | bdcec6605bfb4f0e4f3db2cb8cfae57fb4749939 /sys/inc | |
| parent | 298e9130c6c57706453e401975b36461e970460b (diff) | |
kern/amd64+mu: panic: Dump registers on panicdev
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/inc')
| -rw-r--r-- | sys/inc/mu/panic.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/inc/mu/panic.h b/sys/inc/mu/panic.h index 310e657..c96e844 100644 --- a/sys/inc/mu/panic.h +++ b/sys/inc/mu/panic.h @@ -33,6 +33,12 @@ #include <sys/types.h> /* + * Used internally by the panic function to dump + * internal machine state. + */ +void mu_panic_dump(void); + +/* * Used internally by the panic function and implemented * per architecture to bring the system to a halt. */ |
