From 6bdd17edca2fa58263db47841e007cee5a01a26c Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Tue, 14 May 2024 11:36:23 -0400 Subject: kernel: machdep: Add machine_panic() + panic beep machine_panic() handles things like backtracing, beeping the speaker and halting the processor. Signed-off-by: Ian Moffett --- sys/include/sys/machdep.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/include') diff --git a/sys/include/sys/machdep.h b/sys/include/sys/machdep.h index 99ebbac..31385ce 100644 --- a/sys/include/sys/machdep.h +++ b/sys/include/sys/machdep.h @@ -45,10 +45,10 @@ void processor_init(void); void processor_halt(void); void intr_mask(void); void intr_unmask(void); +void machine_panic(void); __weak void chips_init(void); __weak void pre_init(void); __weak void serial_dbgch(char c); -__weak void backtrace(void); __weak void cpu_halt_others(void); #endif /* defined(_KERNEL) */ -- cgit v1.2.3