Initial commit
This commit is contained in:
7
code/interruptservice_after.cpp
Normal file
7
code/interruptservice_after.cpp
Normal file
@ -0,0 +1,7 @@
|
||||
void InterruptService::allowHardwareInterrupt(InterruptRequest interrupt) {
|
||||
if (Apic::isEnabled()) {
|
||||
Apic::allow(interrupt);
|
||||
} else {
|
||||
Pic::allow(interrupt);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user