summaryrefslogtreecommitdiffhomepage
path: root/dev/Kernel/HALKit/AMD64/HalInterruptAPI.asm
diff options
context:
space:
mode:
authorAmlal <amlal.elmahrouss@icloud.com>2025-02-16 19:26:51 +0100
committerAmlal <amlal.elmahrouss@icloud.com>2025-02-16 19:26:51 +0100
commit0737d2f96d52e80cd6d13b0c37a4f8428e1b5bb9 (patch)
tree9443bee06cd6cf39d57335c66990c537df821b7d /dev/Kernel/HALKit/AMD64/HalInterruptAPI.asm
parent384710f48befc0e68d9fd8e70926b4ab8163119d (diff)
ADD: Many tweaks to the OS.
Signed-off-by: Amlal <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/Kernel/HALKit/AMD64/HalInterruptAPI.asm')
-rw-r--r--dev/Kernel/HALKit/AMD64/HalInterruptAPI.asm16
1 files changed, 4 insertions, 12 deletions
diff --git a/dev/Kernel/HALKit/AMD64/HalInterruptAPI.asm b/dev/Kernel/HALKit/AMD64/HalInterruptAPI.asm
index b9a1e831..ffea6707 100644
--- a/dev/Kernel/HALKit/AMD64/HalInterruptAPI.asm
+++ b/dev/Kernel/HALKit/AMD64/HalInterruptAPI.asm
@@ -18,14 +18,6 @@ global __NE_INT_%1
__NE_INT_%1:
cld
- mov al, 0x20
- out 0xA0, al
- out 0x20, al
-
- push rcx
- call idt_handle_generic
- pop rcx
-
std
o64 iret
@@ -36,10 +28,6 @@ global __NE_INT_%1
__NE_INT_%1:
cld
- mov al, 0x20
- out 0xA0, al
- out 0x20, al
-
std
o64 iret
@@ -66,6 +54,10 @@ __NE_INT_0:
mov al, 0x20
out 0x20, al
+ push rcx
+ call idt_handle_generic
+ pop rcx
+
std
o64 iret