summaryrefslogtreecommitdiff
path: root/src/kmain.c
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2024-02-03 21:38:57 -0500
committerFreya Murphy <freya@freyacat.org>2024-02-03 21:39:02 -0500
commit61e7fdf1eb7d5d4a66c443fe6bd16fd2a2a92859 (patch)
tree757350208c44ac1e639dc7095d3e80eedc6cd74a /src/kmain.c
parentformatting (diff)
downloadcorn-61e7fdf1eb7d5d4a66c443fe6bd16fd2a2a92859.tar.gz
corn-61e7fdf1eb7d5d4a66c443fe6bd16fd2a2a92859.tar.bz2
corn-61e7fdf1eb7d5d4a66c443fe6bd16fd2a2a92859.zip
acpi table loading and shutdown works, plus mmap fix :3
Diffstat (limited to 'src/kmain.c')
-rw-r--r--src/kmain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kmain.c b/src/kmain.c
index b4ebadb..07165bc 100644
--- a/src/kmain.c
+++ b/src/kmain.c
@@ -15,12 +15,12 @@ void kmain(struct boot_info *info) {
kprintf("enterd kmain\n");
+ //acpi_shutdown();
+
// pages are allocated on write :3
char *test = kalloc(5);
*test = 1;
- //log_backtrace();
-
while (1) {
screen_redraw();
// loop so we dont halt