mirror of
https://github.com/reactos/reactos.git
synced 2025-04-04 20:50:41 +00:00
[NTOS:KE] Explicitly use sysretq instruction
This commit is contained in:
parent
63944988a2
commit
5e29e98f91
1 changed files with 2 additions and 2 deletions
|
@ -837,7 +837,7 @@ no_user_apc_pending:
|
|||
|
||||
/* return to user mode */
|
||||
.byte HEX(48) // REX prefix to return to long mode
|
||||
sysret
|
||||
sysretq
|
||||
|
||||
.ENDP
|
||||
|
||||
|
@ -1071,7 +1071,7 @@ KiInitializeSegments:
|
|||
*/
|
||||
PUBLIC KiSwitchKernelStackHelper
|
||||
KiSwitchKernelStackHelper:
|
||||
|
||||
|
||||
/* Pop return address from the current stack */
|
||||
pop rax
|
||||
|
||||
|
|
Loading…
Reference in a new issue