From e47e393fc01c663ca634068c56a41eb74ed01439 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Mon, 2 Sep 2024 17:30:15 +0200 Subject: [ FIX ] A fix has been found for the SYSRET issue. Will apply it later. Signed-off-by: Amlal El Mahrouss --- dev/ZKA/HALKit/AMD64/HalInterruptAPI.asm | 29 +++++------------------------ 1 file changed, 5 insertions(+), 24 deletions(-) (limited to 'dev/ZKA/HALKit/AMD64/HalInterruptAPI.asm') diff --git a/dev/ZKA/HALKit/AMD64/HalInterruptAPI.asm b/dev/ZKA/HALKit/AMD64/HalInterruptAPI.asm index 5fe8b1aa..d3decfde 100644 --- a/dev/ZKA/HALKit/AMD64/HalInterruptAPI.asm +++ b/dev/ZKA/HALKit/AMD64/HalInterruptAPI.asm @@ -129,15 +129,11 @@ IntNormal 26 IntNormal 27 IntNormal 28 IntNormal 29 - IntExp 30 - IntNormal 31 - IntNormal 32 -IntNormal 34 - IntNormal 33 +IntNormal 34 IntNormal 35 IntNormal 36 IntNormal 37 @@ -154,25 +150,10 @@ IntNormal 47 IntNormal 48 IntNormal 49 -[extern hal_system_call_enter] -[extern hal_Kernel_call_enter] - -__ZKA_INT_50: - cli - - push rcx - push rdx - push rax - - call hal_system_call_enter - - pop rax - pop rdx - pop rcx - - sti - iretq +[extern hal_kernel_call_enter] +IntNormal 50 + __ZKA_INT_51: cli @@ -182,7 +163,7 @@ __ZKA_INT_51: push r9 push rax - call hal_Kernel_call_enter + call hal_kernel_call_enter pop rax pop r9 -- cgit v1.2.3