From e843ac6cde9cd7b895e51a075fd1e525a93b3799 Mon Sep 17 00:00:00 2001 From: Aleksey Bragin Date: Mon, 22 Feb 2010 13:39:30 +0000 Subject: [PATCH] [NTOS]: Temporarily disable last part of MiInsertZeroListAtBack which seems to cause issues in the 1st stage. svn path=/trunk/; revision=45654 --- reactos/ntoskrnl/mm/ARM3/pfnlist.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/reactos/ntoskrnl/mm/ARM3/pfnlist.c b/reactos/ntoskrnl/mm/ARM3/pfnlist.c index fa0602e67a0..fe3410920f2 100644 --- a/reactos/ntoskrnl/mm/ARM3/pfnlist.c +++ b/reactos/ntoskrnl/mm/ARM3/pfnlist.c @@ -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 -- 2.17.1