summaryrefslogtreecommitdiff
path: root/src/kernel/panic.c
diff options
context:
space:
mode:
authorBenji Dial <Benji3.141@gmail.com>2020-08-13 17:58:50 -0400
committerBenji Dial <Benji3.141@gmail.com>2020-08-13 17:58:50 -0400
commit2ddbeb9f7214f6d3feef651eba83e6a9d120a743 (patch)
tree10a2aef195e0f40b0e44ffac82dcf60e426c4385 /src/kernel/panic.c
parent63167f223e1f54910f6b80e698390ee60aec79ee (diff)
downloadportland-os-2ddbeb9f7214f6d3feef651eba83e6a9d120a743.tar.gz
lots of progress, including readonly PATA driver and part of FAT16 driver
Diffstat (limited to 'src/kernel/panic.c')
-rw-r--r--src/kernel/panic.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/kernel/panic.c b/src/kernel/panic.c
index 93944ff..e04ae38 100644
--- a/src/kernel/panic.c
+++ b/src/kernel/panic.c
@@ -1,10 +1,7 @@
-#include <stdint.h>
-#include "vga.h"
-#include "serial.h"
-#include "util.h"
#include "panic.h"
+#include "vga.h"
-void panic(char *message) {
+void panic(const char *message) {
vga_set_color(0x4f);
vga_blank();
vga_printsz("Kernel panic: ");