mirror of
https://github.com/reactos/reactos.git
synced 2024-10-02 07:26:47 +00:00
[NTOS]: Assert nobody tries to touch the sharecount of a non-ARM3 page.
svn path=/trunk/; revision=49436
This commit is contained in:
parent
4bdf7033a7
commit
72e1ab5fb8
|
@ -812,6 +812,7 @@ MiDecrementShareCount(IN PMMPFN Pfn1,
|
|||
ASSERT(PageFrameIndex > 0);
|
||||
ASSERT(MiGetPfnEntry(PageFrameIndex) != NULL);
|
||||
ASSERT(Pfn1 == MiGetPfnEntry(PageFrameIndex));
|
||||
ASSERT(MI_IS_ROS_PFN(Pfn1) == FALSE);
|
||||
|
||||
/* Page must be in-use */
|
||||
if ((Pfn1->u3.e1.PageLocation != ActiveAndValid) &&
|
||||
|
|
Loading…
Reference in a new issue