Load an empty IDT

This commit is contained in:
Eryn Wells 2016-03-02 02:57:35 -05:00
parent ccc7eeff60
commit 70d53827d2

View file

@ -35,6 +35,7 @@ kmain()
{
using kernel::Console;
using kernel::GDT;
using kernel::IDT;
// Reinitialize the system console now that we have global static objects.
auto console = Console::systemConsole();
@ -47,4 +48,9 @@ kmain()
gdt.load();
console.writeString("GDT loaded\n");
auto idt = IDT::systemIDT();
idt.load();
console.writeString("IDT loaded\n");
}