Add idt module and set up IDT
This commit is contained in:
1 parent
b72c69ef1c
commit
bc7fd3f2fc
3 files changed
+111
-4
No files matched your search
@@ -14,6 +14,7 @@ import hulk.hurl;
|
||||
import hulk.hippo;
|
||||
import hulk.pci;
|
||||
import hulk.gdt;
|
||||
import hulk.idt;
|
||||
import hos.cpu;
|
||||
|
||||
extern extern(C) __gshared ubyte _hulk_total_size;
|
||||
@@ -35,6 +36,7 @@ void hulk_start()
|
||||
{
|
||||
cli();
|
||||
gdt.initialize();
|
||||
idt.initialize();
|
||||
fb.initialize(cast(uint *)HULK_VIRTUAL_FRAMEBUFFER_ADDRESS, hulk_header.bootinfo.fb.width, hulk_header.bootinfo.fb.height, hulk_header.bootinfo.fb.stride);
|
||||
console.initialize();
|
||||
console.clear();
|
||||
|
||||
Reference in new issue
Block a user