fix: paging with higher half kernel

This commit is contained in:
2024-10-15 00:29:46 +02:00
parent 9855669662
commit 5fc90ea240
3 changed files with 36 additions and 7 deletions

View File

@ -1,3 +1,4 @@
#include "alloc.h"
#include "drivers.h"
#include "gdt.h"
#include "idt.h"
@ -33,5 +34,7 @@ void kernel_main(void)
"I see no way to confuse an array of 256 seg:off pairs with a "
"complex 8*unknown quantity -byte descriptor table. -- Troy "
"Martin 03:50, 22 March 2009 (UTC)\n");
while (!kmalloc(10))
;
shell_init();
}