summaryrefslogtreecommitdiff
path: root/src/kmain.c
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2024-01-29 19:19:29 -0500
committerFreya Murphy <freya@freyacat.org>2024-01-29 19:19:29 -0500
commitb9754579df4eeff3d94aed514a37920d68d39940 (patch)
tree88509189d763bc1df17746048d519f79e505aa4d /src/kmain.c
parentpic (diff)
downloadcorn-b9754579df4eeff3d94aed514a37920d68d39940.tar.gz
corn-b9754579df4eeff3d94aed514a37920d68d39940.tar.bz2
corn-b9754579df4eeff3d94aed514a37920d68d39940.zip
pic done
Diffstat (limited to 'src/kmain.c')
-rw-r--r--src/kmain.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/kmain.c b/src/kmain.c
index 4bd2190..701c135 100644
--- a/src/kmain.c
+++ b/src/kmain.c
@@ -13,4 +13,8 @@ void kmain(struct boot_info *info) {
itoa(*(long*)info, buf, 16);
//fb_init(1024, 768);
serial_out_str(buf);
+ while (1) {
+ // loop so we dont halt
+ // this allows interrupts to fire
+ }
}