mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 00:45:24 +00:00
[NTOS:KE/x64] Remove pointless loop in KiInitiateUserApc
Only one user APC can be delivered here. The next one can only be delivered, when KiUserApcDispatcher returns to the previous context with NtContinue.
This commit is contained in:
parent
7589238b68
commit
713a360c74
1 changed files with 0 additions and 6 deletions
|
@ -1184,8 +1184,6 @@ PUBLIC KiInitiateUserApc
|
|||
/* Save the trap frame in rsi */
|
||||
mov rsi, rcx
|
||||
|
||||
deliver_apcs:
|
||||
|
||||
/* Enable interrupts */
|
||||
sti
|
||||
|
||||
|
@ -1198,10 +1196,6 @@ deliver_apcs:
|
|||
/* Disable interrupts again */
|
||||
cli
|
||||
|
||||
/* Check if there are more APCs to deliver */
|
||||
cmp byte ptr [rbp + ThApcState + AsUserApcPending], 0
|
||||
jne deliver_apcs
|
||||
|
||||
/* Go back to PASSIVE_LEVEL */
|
||||
mov rax, PASSIVE_LEVEL
|
||||
mov cr8, rax
|
||||
|
|
Loading…
Reference in a new issue