mirror of
https://github.com/reactos/reactos.git
synced 2024-07-02 10:45:24 +00:00
[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:
parent
8ab9b6b233
commit
e843ac6cde
|
@ -73,9 +73,9 @@ NTAPI
|
|||
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 @@ MiInsertZeroListAtBack(IN PFN_NUMBER EntryIndex)
|
|||
/* Use the zero list */
|
||||
ListHead = &MmZeroedPageListHead;
|
||||
ListHead->Total++;
|
||||
|
||||
|
||||
/* Get the back link */
|
||||
OldBlink = ListHead->Blink;
|
||||
if (OldBlink != LIST_HEAD)
|
||||
|
@ -115,7 +115,7 @@ MiInsertZeroListAtBack(IN PFN_NUMBER EntryIndex)
|
|||
|
||||
/* 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 @@ MiInsertZeroListAtBack(IN PFN_NUMBER EntryIndex)
|
|||
|
||||
/* And increase the count in the colored list */
|
||||
ColorHead->Count++;
|
||||
#endif
|
||||
}
|
||||
|
||||
VOID
|
||||
|
|
Loading…
Reference in a new issue