fix endof interrupt

This commit is contained in:
Eggert Jung
2025-05-11 01:18:41 +02:00
parent 220bdd8b77
commit b61df61e36
2 changed files with 3 additions and 0 deletions

View File

@@ -74,6 +74,7 @@ void handle_keyboard() {
if (PS2Controller::fetch(key)) {
kout << key.ascii() << flush ;
}
LAPIC::endOfInterrupt();
}
[[gnu::interrupt]] void handle_panic(InterruptContext *context) {

View File

@@ -95,6 +95,8 @@ extern "C" int main() {
Core::Interrupt::enable();
PS2Controller::drainBuffer();
while (true){
}