mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 07:26:20 +00:00
[NTOS:MM] Assert PFN lock ownership in MiInsertPageInFreeList.
AMD64 initialization previously only raised the IRQL. It now acquires the lock where needed, as i386 does.
This commit is contained in:
parent
67b3b73d82
commit
6831468ccf
2 changed files with 8 additions and 13 deletions
|
@ -611,7 +611,7 @@ MiInsertPageInFreeList(IN PFN_NUMBER PageFrameIndex)
|
|||
PMMCOLOR_TABLES ColorTable;
|
||||
|
||||
/* Make sure the page index is valid */
|
||||
ASSERT(KeGetCurrentIrql() >= DISPATCH_LEVEL);
|
||||
MI_ASSERT_PFN_LOCK_HELD();
|
||||
ASSERT((PageFrameIndex != 0) &&
|
||||
(PageFrameIndex <= MmHighestPhysicalPage) &&
|
||||
(PageFrameIndex >= MmLowestPhysicalPage));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue