summaryrefslogtreecommitdiff
path: root/sys/inc/mu
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-11-19 01:02:33 -0500
committerIan Moffett <ian@osmora.org>2025-11-19 01:02:33 -0500
commit860ac5d5d1c047bd388aed8ac9c0570a118a5034 (patch)
treebdcec6605bfb4f0e4f3db2cb8cfae57fb4749939 /sys/inc/mu
parent298e9130c6c57706453e401975b36461e970460b (diff)
kern/amd64+mu: panic: Dump registers on panicdev
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/inc/mu')
-rw-r--r--sys/inc/mu/panic.h6
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.
*/