From 690e1884f1fcc7128d97efaa64f933eb8f811cfd Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sat, 17 Jan 2026 21:11:37 +0100 Subject: feat: kernel: stability improvements on the scheduler and AMD64 HAL. Signed-off-by: Amlal El Mahrouss --- src/kernel/HALKit/AMD64/HalInterruptAPI.asm | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'src/kernel/HALKit/AMD64/HalInterruptAPI.asm') 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 -- cgit v1.2.3