summaryrefslogtreecommitdiff
path: root/src/kmain.c
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2024-02-03 17:05:04 -0500
committerFreya Murphy <freya@freyacat.org>2024-02-03 17:06:37 -0500
commitf785bce3ccde87a0bccc8ca7602cf6e5f0c9b53d (patch)
tree1504a2e087ee6820e82076977322a9176abf0473 /src/kmain.c
parentfix problem (diff)
downloadcorn-f785bce3ccde87a0bccc8ca7602cf6e5f0c9b53d.tar.gz
corn-f785bce3ccde87a0bccc8ca7602cf6e5f0c9b53d.tar.bz2
corn-f785bce3ccde87a0bccc8ca7602cf6e5f0c9b53d.zip
rework kprintf
Diffstat (limited to 'src/kmain.c')
-rw-r--r--src/kmain.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/kmain.c b/src/kmain.c
index ce8016d..b4ebadb 100644
--- a/src/kmain.c
+++ b/src/kmain.c
@@ -1,3 +1,4 @@
+#include <backtrace.h>
#include <fpu.h>
#include <acpi.h>
#include <memory.h>
@@ -18,6 +19,8 @@ void kmain(struct boot_info *info) {
char *test = kalloc(5);
*test = 1;
+ //log_backtrace();
+
while (1) {
screen_redraw();
// loop so we dont halt