From 8e74123683072deed9ecd29e76037a16a47e3295 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Sat, 3 Feb 2024 14:36:26 -0500 Subject: alloc on write paging, -O3 compile works, 'volatile' is the story of my life --- src/kmain.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/kmain.c') diff --git a/src/kmain.c b/src/kmain.c index 1175f14..6b3c94b 100644 --- a/src/kmain.c +++ b/src/kmain.c @@ -17,6 +17,7 @@ void kmain(struct boot_info *info) { kprintf("enterd kmain\n"); + // pages are allocated on write :3 char *test = kalloc(5); *test = 1; -- cgit v1.2.3-freya