forked from Bananymous/banan-os
Kernel: Initialize GDT in kernel code
We dont use the boot GDT only while booting
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#include <kernel/Debug.h>
|
||||
#include <kernel/FS/VirtualFileSystem.h>
|
||||
#include <kernel/GDT.h>
|
||||
#include <kernel/IDT.h>
|
||||
#include <kernel/Input.h>
|
||||
#include <kernel/InterruptController.h>
|
||||
@@ -76,6 +77,9 @@ extern "C" void kernel_main()
|
||||
kmalloc_initialize();
|
||||
dprintln("kmalloc initialized");
|
||||
|
||||
GDT::initialize();
|
||||
dprintln("GDT initialized");
|
||||
|
||||
IDT::initialize();
|
||||
dprintln("IDT initialized");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user