Enable interrupts and halt CPU
This commit is contained in:
1 parent
bc7fd3f2fc
commit
43d945b5e8
2 files changed
+13
No files matched your search
@@ -16,6 +16,7 @@ import hulk.pci;
|
||||
import hulk.gdt;
|
||||
import hulk.idt;
|
||||
import hos.cpu;
|
||||
import ldc.llvmasm;
|
||||
|
||||
extern extern(C) __gshared ubyte _hulk_total_size;
|
||||
|
||||
@@ -46,8 +47,10 @@ void hulk_start()
|
||||
|
||||
hippo.initialize(&hulk_header);
|
||||
pci.initialize();
|
||||
sti();
|
||||
|
||||
for (;;)
|
||||
{
|
||||
hlt();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user