diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-09-02 17:30:15 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-09-02 17:30:15 +0200 |
| commit | e47e393fc01c663ca634068c56a41eb74ed01439 (patch) | |
| tree | 3f2e313834295db3d18b93bbe539126097496183 /dev/ZKA/HALKit/AMD64/HalInterruptAPI.asm | |
| parent | b3888ff9e2c18da6b73a57f453f7ad36fea61b7b (diff) | |
[ FIX ] A fix has been found for the SYSRET issue. Will apply it later.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/ZKA/HALKit/AMD64/HalInterruptAPI.asm')
| -rw-r--r-- | dev/ZKA/HALKit/AMD64/HalInterruptAPI.asm | 29 |
1 files changed, 5 insertions, 24 deletions
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 |
