1
Files
interrupt-handling-using-th…/code/interruptservice_after.cpp
2023-02-26 21:12:51 +01:00

7 lines
188 B
C++

void InterruptService::allowHardwareInterrupt(InterruptRequest interrupt) {
if (Apic::isEnabled()) {
Apic::allow(interrupt);
} else {
Pic::allow(interrupt);
}
}