aboutsummaryrefslogtreecommitdiff
path: root/sys/include
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-04-09 17:33:09 -0400
committerIan Moffett <ian@osmora.org>2024-04-09 17:33:09 -0400
commitd52caa46b10eb1670bc6f9c55eff6dce288926c5 (patch)
tree0f2dbb29fef2df37ddf4db3ab6af2d7313429e2a /sys/include
parent3c8dd7d392dc50ca9d356beefba7820a14d7fd74 (diff)
kernel/amd64: Add backtrace support for panic()
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include')
-rw-r--r--sys/include/sys/machdep.h1
1 files changed, 1 insertions, 0 deletions
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_ */