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

sir_richard at svn.reactos.org sir_richard at svn.reactos.org
Tue Nov 2 14:41:52 UTC 2010


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?rev=49436&r1=49435&r2=49436&view=diff
==============================================================================
--- 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) &&




More information about the Ros-diffs mailing list