From 860ac5d5d1c047bd388aed8ac9c0570a118a5034 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Wed, 19 Nov 2025 01:02:33 -0500 Subject: kern/amd64+mu: panic: Dump registers on panic Signed-off-by: Ian Moffett --- sys/inc/mu/panic.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sys/inc') 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 @@ -32,6 +32,12 @@ #include +/* + * 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. -- cgit v1.2.3