fix: gdt init no longer crashes

WIP: change page directory and stuff so the memory can work properly
This commit is contained in:
2024-10-14 23:36:41 +02:00
parent 5969dcca54
commit 9855669662
3 changed files with 12 additions and 18 deletions

View File

@ -27,9 +27,10 @@ void kernel_main(void)
terminal_initialize();
init_gdt();
init_idt();
init_memory();
/* init_memory(); */
load_drivers();
kprintf("I see no way to confuse an array of 256 seg:off pairs with a "
kprintf(KERN_ALERT
"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");
shell_init();