From d52caa46b10eb1670bc6f9c55eff6dce288926c5 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Tue, 9 Apr 2024 17:33:09 -0400 Subject: kernel/amd64: Add backtrace support for panic() Signed-off-by: Ian Moffett --- sys/include/sys/machdep.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/include') diff --git a/sys/include/sys/machdep.h b/sys/include/sys/machdep.h index 0c06374..811f6be 100644 --- a/sys/include/sys/machdep.h +++ b/sys/include/sys/machdep.h @@ -48,6 +48,7 @@ void intr_unmask(void); __weak void chips_init(void); __weak void pre_init(void); __weak void serial_dbgch(char c); +__weak void backtrace(void); #endif /* defined(_KERNEL) */ #endif /* !_SYS_MACHDEP_H_ */ -- cgit v1.2.3