diff options
Diffstat (limited to 'src/kernel/HALKit/AMD64/HalInterruptAPI.asm')
| -rw-r--r-- | src/kernel/HALKit/AMD64/HalInterruptAPI.asm | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/src/kernel/HALKit/AMD64/HalInterruptAPI.asm b/src/kernel/HALKit/AMD64/HalInterruptAPI.asm index c761684e..be8675f8 100644 --- a/src/kernel/HALKit/AMD64/HalInterruptAPI.asm +++ b/src/kernel/HALKit/AMD64/HalInterruptAPI.asm @@ -206,7 +206,24 @@ __NE_INT_32: o64 iret -IntNormal 33 +global __NE_INT_33 +__NE_INT_33: + cli + + push rax + + ; Read scancode from keyboard port to acknowledge + in al, 0x60 + + ; Send EOI to master PIC + mov al, 0x20 + out 0x20, al + + pop rax + + std + + o64 iret IntNormal 34 IntNormal 35 |
