From 46670e7ba97ec80bbcc88feb3d7db7ef3f5e2147 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sun, 1 Sep 2024 14:31:49 +0200 Subject: [ IMP ] Add more code segments for other purposes, which is very useful for drivers and other kernel functions. Signed-off-by: Amlal El Mahrouss --- dev/ZKA/HALKit/AMD64/HalMPContextSwitch.asm | 2 -- 1 file changed, 2 deletions(-) (limited to 'dev/ZKA/HALKit/AMD64/HalMPContextSwitch.asm') diff --git a/dev/ZKA/HALKit/AMD64/HalMPContextSwitch.asm b/dev/ZKA/HALKit/AMD64/HalMPContextSwitch.asm index 9ef3122c..b9892d74 100644 --- a/dev/ZKA/HALKit/AMD64/HalMPContextSwitch.asm +++ b/dev/ZKA/HALKit/AMD64/HalMPContextSwitch.asm @@ -22,7 +22,6 @@ section .text ;; rdx: stack ptr. mp_do_context_switch: mov r11, 0x0202 - mov rsp, rdx o64 sysret ;; @brief Gets the current stack frame. @@ -41,7 +40,6 @@ mp_do_context_switch_pre: mov rcx, 0xc0000081 rdmsr mov edx, 0x00180008 - wrmsr ret \ No newline at end of file -- cgit v1.2.3