[NTOS]: Assert nobody tries to touch the sharecount of a non-ARM3 page.

svn path=/trunk/; revision=49436
This commit is contained in:
Sir Richard 2010-11-02 14:41:51 +00:00
parent 4bdf7033a7
commit 72e1ab5fb8

View file

@ -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) &&