mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 01:05:42 +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
1 changed files with 1 additions and 0 deletions
|
@ -812,6 +812,7 @@ MiDecrementShareCount(IN PMMPFN Pfn1,
|
||||||
ASSERT(PageFrameIndex > 0);
|
ASSERT(PageFrameIndex > 0);
|
||||||
ASSERT(MiGetPfnEntry(PageFrameIndex) != NULL);
|
ASSERT(MiGetPfnEntry(PageFrameIndex) != NULL);
|
||||||
ASSERT(Pfn1 == MiGetPfnEntry(PageFrameIndex));
|
ASSERT(Pfn1 == MiGetPfnEntry(PageFrameIndex));
|
||||||
|
ASSERT(MI_IS_ROS_PFN(Pfn1) == FALSE);
|
||||||
|
|
||||||
/* Page must be in-use */
|
/* Page must be in-use */
|
||||||
if ((Pfn1->u3.e1.PageLocation != ActiveAndValid) &&
|
if ((Pfn1->u3.e1.PageLocation != ActiveAndValid) &&
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue