summaryrefslogtreecommitdiff
path: root/include/kernel/panic.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/kernel/panic.h')
-rw-r--r--include/kernel/panic.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/kernel/panic.h b/include/kernel/panic.h
index 529702b..e15d6ee 100644
--- a/include/kernel/panic.h
+++ b/include/kernel/panic.h
@@ -1,6 +1,12 @@
#ifndef KERNEL_PANIC_H
#define KERNEL_PANIC_H
+#include <kernel/asm.h>
+#include <stdint.h>
+#include <stddef.h>
+
void panic(const char *str);
+void dump_reg(struct regs *regs);
+void dump_stack(struct regs *regs, size_t length);
#endif