diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-09-01 14:31:49 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-09-01 14:31:49 +0200 |
| commit | 46670e7ba97ec80bbcc88feb3d7db7ef3f5e2147 (patch) | |
| tree | f0cd096f6492e1283d443c7887f8885e6c084a0b /dev/ZKA/HALKit/AMD64/HalMPContextSwitch.asm | |
| parent | 1af5efb5c96af6f3246c8eae42912b2fbcd7f006 (diff) | |
[ IMP ] Add more code segments for other purposes, which is very
useful for drivers and other kernel functions.
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.asm | 2 |
1 files changed, 0 insertions, 2 deletions
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 |
