diff options
Diffstat (limited to 'Private/HALKit/AMD64/HalCoreInterruptHandler.cpp')
| -rw-r--r-- | Private/HALKit/AMD64/HalCoreInterruptHandler.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Private/HALKit/AMD64/HalCoreInterruptHandler.cpp b/Private/HALKit/AMD64/HalCoreInterruptHandler.cpp index a668a0e4..1e46e5af 100644 --- a/Private/HALKit/AMD64/HalCoreInterruptHandler.cpp +++ b/Private/HALKit/AMD64/HalCoreInterruptHandler.cpp @@ -16,10 +16,14 @@ extern "C" HCore::UIntPtr rt_handle_interrupts(HCore::UIntPtr &rsp) { HCore::HAL::StackFramePtr sf = (HCore::HAL::StackFramePtr)rsp; - rt_syscall_handle(sf); + if (sf->IntNum == 0x21) { + rt_syscall_handle(sf); + } - HCore::kcout << "Krnl\\rt_handle_interrupts: Done\r\n"; + HCore::HAL::Out8(0x20, 0x20); + HCore::HAL::Out8(0xa0, 0x20); HCore::HAL::rt_sti(); + return rsp; } |
