Author: sir_richard
Date: Tue Nov 2 14:41:51 2010
New Revision: 49436
URL:
http://svn.reactos.org/svn/reactos?rev=49436&view=rev
Log:
[NTOS]: Assert nobody tries to touch the sharecount of a non-ARM3 page.
Modified:
trunk/reactos/ntoskrnl/mm/ARM3/pfnlist.c
Modified: trunk/reactos/ntoskrnl/mm/ARM3/pfnlist.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/ARM3/pfnlist.c…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/ARM3/pfnlist.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/ARM3/pfnlist.c [iso-8859-1] Tue Nov 2 14:41:51 2010
@@ -812,6 +812,7 @@
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) &&