Enable interrupts and loop forever
This commit is contained in:
parent
dfe85fd8e0
commit
4f2c2a9150
1 changed files with 4 additions and 0 deletions
|
@ -48,4 +48,8 @@ kmain()
|
|||
|
||||
auto& interruptHandler = x86::InterruptHandler::systemInterruptHandler();
|
||||
interruptHandler.initialize();
|
||||
interruptHandler.enableInterrupts();
|
||||
console.writeString("Interrupts enabled\n");
|
||||
|
||||
for (;;) { }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue