From a9d87cbd143b05cc3de711d84401f8ef514f3aa3 Mon Sep 17 00:00:00 2001 From: Amlal EL Mahrouss Date: Fri, 30 Aug 2024 18:46:00 +0200 Subject: [IMP] Updated the ARM64 release of ZKA. [IMP] Shall use the timer on AMD64 by default, a SMP driver will be written if needed. Signed-off-by: Amlal EL Mahrouss --- dev/ZKA/HALKit/AMD64/HalInterruptAPI.asm | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 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 9a637b8a..5ce9cabc 100644 --- a/dev/ZKA/HALKit/AMD64/HalInterruptAPI.asm +++ b/dev/ZKA/HALKit/AMD64/HalInterruptAPI.asm @@ -180,13 +180,23 @@ __NEW_INT_51: sti iretq -[extern hal_ap_startup] +[extern hal_on_ap_startup] -__NEW_INT_52: - cli +PRESENT equ 1 << 7 +NOT_SYS equ 1 << 4 +EXEC equ 1 << 3 +DC equ 1 << 2 +RW equ 1 << 1 +ACCESSED equ 1 << 0 - jmp hal_ap_startup +; Flags bits +GRAN_4K equ 1 << 7 +SZ_32 equ 1 << 6 +LONG_MODE equ 1 << 5 +__NEW_INT_52: + cli + jmp hal_on_ap_startup sti ret -- cgit v1.2.3