summaryrefslogtreecommitdiff
path: root/src/kmain.c
diff options
context:
space:
mode:
authortrimill <trimill@trimillxyz.org>2024-02-03 00:58:27 -0500
committertrimill <trimill@trimillxyz.org>2024-02-03 00:58:27 -0500
commit5bec5d9fbdaed3a599c1cd0231f2093933828217 (patch)
treeda8afdd5244697e83dc4b6e9085d3c24e5c7d5a0 /src/kmain.c
parentrefactor, new arch dirs, (wip) page alloc on write, hsv screen (convert to us... (diff)
downloadcorn-5bec5d9fbdaed3a599c1cd0231f2093933828217.tar.gz
corn-5bec5d9fbdaed3a599c1cd0231f2093933828217.tar.bz2
corn-5bec5d9fbdaed3a599c1cd0231f2093933828217.zip
refactor exception panic
Diffstat (limited to 'src/kmain.c')
-rw-r--r--src/kmain.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/kmain.c b/src/kmain.c
index 249dd84..1175f14 100644
--- a/src/kmain.c
+++ b/src/kmain.c
@@ -20,8 +20,9 @@ void kmain(struct boot_info *info) {
char *test = kalloc(5);
*test = 1;
-
while (1) {
screen_redraw();
+ // loop so we dont halt
+ // this allows interrupts to fire
}
}