From 0737d2f96d52e80cd6d13b0c37a4f8428e1b5bb9 Mon Sep 17 00:00:00 2001 From: Amlal Date: Sun, 16 Feb 2025 19:26:51 +0100 Subject: ADD: Many tweaks to the OS. Signed-off-by: Amlal --- dev/Kernel/HALKit/AMD64/HalInterruptAPI.asm | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 'dev/Kernel/HALKit/AMD64/HalInterruptAPI.asm') 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 -- cgit v1.2.3