Author: ion
Date: Sun Sep 2 21:46:50 2012
New Revision: 57224
URL:
http://svn.reactos.org/svn/reactos?rev=57224&view=rev
Log:
[NTOSKRNL]: Missed the one ASSERT that mattered...
Modified:
trunk/reactos/ntoskrnl/mm/ARM3/miarm.h
Modified: trunk/reactos/ntoskrnl/mm/ARM3/miarm.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/ARM3/miarm.h?r…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/ARM3/miarm.h [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/ARM3/miarm.h [iso-8859-1] Sun Sep 2 21:46:50 2012
@@ -1367,8 +1367,13 @@
/* On ARM3 pages, we should see a valid share count */
ASSERT((Pfn1->u2.ShareCount != 0) && (Pfn1->u3.e1.PageLocation ==
ActiveAndValid));
- /* We don't support mapping a prototype page yet */
- ASSERT((Pfn1->u3.e1.PrototypePte == 0) &&
(Pfn1->OriginalPte.u.Soft.Prototype == 0));
+ /* Is it a prototype PTE? */
+ if ((Pfn1->u3.e1.PrototypePte == 1) &&
+ (Pfn1->OriginalPte.u.Soft.Prototype == 1))
+ {
+ /* FIXME: We should charge commit */
+ DPRINT1("Not charging commit for prototype PTE\n");
+ }
}
/* More locked pages! */