MiInsertZeroListAtBack(IN PFN_NUMBER EntryIndex)
{
PFN_NUMBER OldBlink;
- PMMPFN Pfn1;//, Blink;
- //ULONG Color;
- //PMMCOLOR_TABLES ColorHead;
PMMPFNLIST ListHead;
-
+ PMMPFN Pfn1;
+#if 0
+ PMMPFN Blink;
+ ULONG Color;
+ PMMCOLOR_TABLES ColorHead;
+#endif
+
/* Make sure the PFN lock is held */
ASSERT(KeGetCurrentIrql() == DISPATCH_LEVEL);
/* Update the page location */
Pfn1->u3.e1.PageLocation = ZeroedPageList;
-#if 0
+
/* FIXME: NOT YET Due to caller semantics: Update the available page count */
//MmAvailablePages++;
/* Otherwise check if we reached the high threshold and signal the event */
KeSetEvent(MiHighMemoryEvent, 0, FALSE);
}
-
+#if 0
/* Get the page color */
Color = EntryIndex & MmSecondaryColorMask;