[ros-diffs] [fireball] 45655: [NTOS]: Enable high/low memory events notifications.

fireball at svn.reactos.org fireball at svn.reactos.org
Mon Feb 22 17:44:14 CET 2010


Author: fireball
Date: Mon Feb 22 17:44:13 2010
New Revision: 45655

URL: http://svn.reactos.org/svn/reactos?rev=45655&view=rev
Log:
[NTOS]: Enable high/low memory events notifications.

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?rev=45655&r1=45654&r2=45655&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/mm/ARM3/pfnlist.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/ARM3/pfnlist.c [iso-8859-1] Mon Feb 22 17:44:13 2010
@@ -73,11 +73,14 @@
 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);
     
@@ -115,7 +118,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++;
 
@@ -130,7 +133,7 @@
         /* 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;
 




More information about the Ros-diffs mailing list