summaryrefslogtreecommitdiffhomepage
path: root/dev/ZKA/HALKit/AMD64/HalMPContextSwitch.asm
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-09-01 09:23:10 +0200
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-09-01 09:23:10 +0200
commite757bb6a90c98f53995e4828d68eba26a2327540 (patch)
treefeabdd3047b67f21ee0e6f76ccd89f8458493e77 /dev/ZKA/HALKit/AMD64/HalMPContextSwitch.asm
parent21a0081ac9d9a8abe66cc6a248b5363768de1dc9 (diff)
[ IMP ] Found out the issue of ring 3 switch.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/ZKA/HALKit/AMD64/HalMPContextSwitch.asm')
-rw-r--r--dev/ZKA/HALKit/AMD64/HalMPContextSwitch.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/ZKA/HALKit/AMD64/HalMPContextSwitch.asm b/dev/ZKA/HALKit/AMD64/HalMPContextSwitch.asm
index f20ffcee..f5f36b27 100644
--- a/dev/ZKA/HALKit/AMD64/HalMPContextSwitch.asm
+++ b/dev/ZKA/HALKit/AMD64/HalMPContextSwitch.asm
@@ -50,7 +50,7 @@ mp_do_context_switch:
;; Swap registers, since it's the other way around.
mov rcx, r12 ;; code ptr
- mov rsp, [r11] ;; stack ptr
+ mov rsp, r11 ;; stack ptr
mov r11, 0x0202
;; rcx and rdx already set.