diff options
Diffstat (limited to 'src/kernel/main.c')
-rw-r--r-- | src/kernel/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/main.c b/src/kernel/main.c index ba4cdbb..a59c014 100644 --- a/src/kernel/main.c +++ b/src/kernel/main.c @@ -16,7 +16,7 @@ static void setup_paging() { for (size_t p = 0x100000; p < &_bss_end; p += PAGE_SIZE) pagedir_map(dir, p, p, false, true); // yes, .text is writeable too - pagedir_use(dir); + pagedir_switch(dir); } void kmain(struct kmain_info info) { |