mirror of
https://github.com/reactos/reactos.git
synced 2025-05-27 13:08:23 +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 */
|
/* return to user mode */
|
||||||
.byte HEX(48) // REX prefix to return to long mode
|
.byte HEX(48) // REX prefix to return to long mode
|
||||||
sysret
|
sysretq
|
||||||
|
|
||||||
.ENDP
|
.ENDP
|
||||||
|
|
||||||
|
@ -1071,7 +1071,7 @@ KiInitializeSegments:
|
||||||
*/
|
*/
|
||||||
PUBLIC KiSwitchKernelStackHelper
|
PUBLIC KiSwitchKernelStackHelper
|
||||||
KiSwitchKernelStackHelper:
|
KiSwitchKernelStackHelper:
|
||||||
|
|
||||||
/* Pop return address from the current stack */
|
/* Pop return address from the current stack */
|
||||||
pop rax
|
pop rax
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue