Author: fireball
Date: Mon Feb 22 14:39:30 2010
New Revision: 45654
URL: http://svn.reactos.org/svn/reactos?rev=45654&view=rev
Log:
[NTOS]: Temporarily disable last part of MiInsertZeroListAtBack which seems to cause issues in the 1st stage.
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] Mon Feb 22 14:39:30 2010
@@ -73,9 +73,9 @@
MiInsertZeroListAtBack(IN PFN_NUMBER EntryIndex)
{
PFN_NUMBER OldBlink;
- PMMPFN Pfn1, Blink;
- ULONG Color;
- PMMCOLOR_TABLES ColorHead;
+ PMMPFN Pfn1;//, Blink;
+ //ULONG Color;
+ //PMMCOLOR_TABLES ColorHead;
PMMPFNLIST ListHead;
/* Make sure the PFN lock is held */
@@ -92,7 +92,7 @@
/* Use the zero list */
ListHead = &MmZeroedPageListHead;
ListHead->Total++;
-
+
/* Get the back link */
OldBlink = ListHead->Blink;
if (OldBlink != LIST_HEAD)
@@ -115,7 +115,7 @@
/* Update the page location */
Pfn1->u3.e1.PageLocation = ZeroedPageList;
-
+#if 0
/* FIXME: NOT YET Due to caller semantics: Update the available page count */
//MmAvailablePages++;
@@ -158,6 +158,7 @@
/* And increase the count in the colored list */
ColorHead->Count++;
+#endif
}
VOID