[NTOS]: Temporarily disable last part of MiInsertZeroListAtBack which seems to cause issues in the 1st stage.

svn path=/trunk/; revision=45654
This commit is contained in:
Aleksey Bragin 2010-02-22 13:39:30 +00:00
parent 8ab9b6b233
commit e843ac6cde

View file

@ -73,9 +73,9 @@ NTAPI
MiInsertZeroListAtBack(IN PFN_NUMBER EntryIndex) MiInsertZeroListAtBack(IN PFN_NUMBER EntryIndex)
{ {
PFN_NUMBER OldBlink; PFN_NUMBER OldBlink;
PMMPFN Pfn1, Blink; PMMPFN Pfn1;//, Blink;
ULONG Color; //ULONG Color;
PMMCOLOR_TABLES ColorHead; //PMMCOLOR_TABLES ColorHead;
PMMPFNLIST ListHead; PMMPFNLIST ListHead;
/* Make sure the PFN lock is held */ /* Make sure the PFN lock is held */
@ -92,7 +92,7 @@ MiInsertZeroListAtBack(IN PFN_NUMBER EntryIndex)
/* Use the zero list */ /* Use the zero list */
ListHead = &MmZeroedPageListHead; ListHead = &MmZeroedPageListHead;
ListHead->Total++; ListHead->Total++;
/* Get the back link */ /* Get the back link */
OldBlink = ListHead->Blink; OldBlink = ListHead->Blink;
if (OldBlink != LIST_HEAD) if (OldBlink != LIST_HEAD)
@ -115,7 +115,7 @@ MiInsertZeroListAtBack(IN PFN_NUMBER EntryIndex)
/* Update the page location */ /* Update the page location */
Pfn1->u3.e1.PageLocation = ZeroedPageList; Pfn1->u3.e1.PageLocation = ZeroedPageList;
#if 0
/* FIXME: NOT YET Due to caller semantics: Update the available page count */ /* FIXME: NOT YET Due to caller semantics: Update the available page count */
//MmAvailablePages++; //MmAvailablePages++;
@ -158,6 +158,7 @@ MiInsertZeroListAtBack(IN PFN_NUMBER EntryIndex)
/* And increase the count in the colored list */ /* And increase the count in the colored list */
ColorHead->Count++; ColorHead->Count++;
#endif
} }
VOID VOID