summaryrefslogtreecommitdiff
path: root/include/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'include/kernel')
-rw-r--r--include/kernel/mem.h1
-rw-r--r--include/kernel/panic.h6
2 files changed, 6 insertions, 1 deletions
diff --git a/include/kernel/mem.h b/include/kernel/mem.h
index dfbcf23..aae3091 100644
--- a/include/kernel/mem.h
+++ b/include/kernel/mem.h
@@ -1,6 +1,5 @@
#ifndef KERNEL_MEM_H
-#include <kernel/paging.h>
#include <stddef.h>
int init_kmalloc(void);
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