diff options
author | Freya Murphy <freya@freyacat.org> | 2024-02-03 14:36:26 -0500 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2024-02-03 14:41:52 -0500 |
commit | 8e74123683072deed9ecd29e76037a16a47e3295 (patch) | |
tree | 2a4d6394688ed23b9360ff87c8d9861ab40da01d /src/kmain.c | |
parent | refactor exception panic (diff) | |
download | corn-8e74123683072deed9ecd29e76037a16a47e3295.tar.gz corn-8e74123683072deed9ecd29e76037a16a47e3295.tar.bz2 corn-8e74123683072deed9ecd29e76037a16a47e3295.zip |
alloc on write paging, -O3 compile works, 'volatile' is the story of my life
Diffstat (limited to '')
-rw-r--r-- | src/kmain.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |