diff options
author | Freya Murphy <freya@freyacat.org> | 2024-02-03 17:05:04 -0500 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2024-02-03 17:06:37 -0500 |
commit | f785bce3ccde87a0bccc8ca7602cf6e5f0c9b53d (patch) | |
tree | 1504a2e087ee6820e82076977322a9176abf0473 /src/kmain.c | |
parent | fix problem (diff) | |
download | corn-f785bce3ccde87a0bccc8ca7602cf6e5f0c9b53d.tar.gz corn-f785bce3ccde87a0bccc8ca7602cf6e5f0c9b53d.tar.bz2 corn-f785bce3ccde87a0bccc8ca7602cf6e5f0c9b53d.zip |
rework kprintf
Diffstat (limited to 'src/kmain.c')
-rw-r--r-- | src/kmain.c | 3 |
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 |