diff options
author | Ian Moffett <ian@osmora.org> | 2024-05-14 11:36:23 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-05-14 11:36:23 -0400 |
commit | 6bdd17edca2fa58263db47841e007cee5a01a26c (patch) | |
tree | 74aa0c5283b01cffddd341d46514ccf3c133006c /sys/include | |
parent | 7a414a0c785ce4f12ac33a4e8a5061b21344bdf7 (diff) |
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 <ian@osmora.org>
Diffstat (limited to 'sys/include')
-rw-r--r-- | sys/include/sys/machdep.h | 2 |
1 files changed, 1 insertions, 1 deletions
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) */ |