mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 06:15:52 +00:00
[NTOS:KE] Rename some locking functions to reflect the IRQL level changes
* KiAcquireApcLock -> KiAcquireApcLockRaiseToSynch * KiAcquireApcLockAtDpcLevel -> KiAcquireApcLockAtSynchLevel * KiReleaseApcLockFromDpcLevel -> KiReleaseApcLockFromSynchLevel * KiAcquireApcLockAtApcLevel -> KiAcquireApcLockRaiseToDpc * KiAcquireProcessLock -> KiAcquireProcessLockRaiseToSynch * KiReleaseProcessLockFromDpcLevel -> KiReleaseProcessLockFromSynchLevel * KiAcquireDispatcherLockAtDpcLevel -> KiAcquireDispatcherLockAtSynchLevel * KiReleaseDispatcherLockFromDpcLevel -> KiReleaseDispatcherLockFromSynchLevel * Add some ASSERTs
This commit is contained in:
parent
3b430eefdd
commit
7523a7b138
9 changed files with 120 additions and 116 deletions
|
@ -2576,7 +2576,7 @@ MmSetExecuteOptions(IN ULONG ExecuteOptions)
|
|||
}
|
||||
|
||||
/* Change the NX state in the process lock */
|
||||
KiAcquireProcessLock(CurrentProcess, &ProcessLock);
|
||||
KiAcquireProcessLockRaiseToSynch(CurrentProcess, &ProcessLock);
|
||||
|
||||
/* Don't change anything if the permanent flag was set */
|
||||
if (!CurrentProcess->Flags.Permanent)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue