[ros-diffs] [sir_richard] 49435: [NTOS]: Fix typos.

sir_richard at svn.reactos.org sir_richard at svn.reactos.org
Tue Nov 2 14:41:31 UTC 2010


Author: sir_richard
Date: Tue Nov  2 14:41:29 2010
New Revision: 49435

URL: http://svn.reactos.org/svn/reactos?rev=49435&view=rev
Log:
[NTOS]: Fix typos.

Modified:
    trunk/reactos/ntoskrnl/mm/ARM3/sysldr.c
    trunk/reactos/ntoskrnl/mm/ARM3/virtual.c

Modified: trunk/reactos/ntoskrnl/mm/ARM3/sysldr.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/ARM3/sysldr.c?rev=49435&r1=49434&r2=49435&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/mm/ARM3/sysldr.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/ARM3/sysldr.c [iso-8859-1] Tue Nov  2 14:41:29 2010
@@ -1286,7 +1286,7 @@
     /* Check if we have an import list */
     if (LoadedImports)
     {
-        /* Reset the count again, and loop entries*/
+        /* Reset the count again, and loop entries */
         ImportCount = 0;
         for (i = 0; i < LoadedImports->Count; i++)
         {

Modified: trunk/reactos/ntoskrnl/mm/ARM3/virtual.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/ARM3/virtual.c?rev=49435&r1=49434&r2=49435&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/mm/ARM3/virtual.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/ARM3/virtual.c [iso-8859-1] Tue Nov  2 14:41:29 2010
@@ -160,7 +160,7 @@
                 MiDecrementShareCount(Pfn1, PageFrameIndex);
                 
                 /* Decrement the page table too */
-                DPRINT("FIXME: ARM3 should decrement the PT refcount for: %p\n", Pfn2);
+                DPRINT("FIXME: ARM3 should decrement the pool PDE refcount for: %p\n", PageTableIndex);
                 #if 0 // ARM3: Dont't trust this yet
                 MiDecrementShareCount(Pfn2, PageTableIndex);
                 #endif
@@ -184,7 +184,7 @@
              *
              * Right now, we shouldn't expect any page file information in the PTE
              */
-             ASSERT(PointerPte->u.Soft.PageFileHigh == 0);
+            ASSERT(PointerPte->u.Soft.PageFileHigh == 0);
              
             /* Destroy the PTE */
             PointerPte->u.Long = 0;
@@ -259,7 +259,7 @@
         }
 #endif
         /* FIXME: Drop the reference on the page table. For now, leak it until RosMM is gone */
-        //MiDecrementShareCount(MiGetPfnEntry(PFN_FROM_PTE(PointerPde)), PFN_FROM_PDE(PointerPde));
+        //MiDecrementShareCount(MiGetPfnEntry(PFN_FROM_PTE(PointerPde)), PFN_FROM_PTE(PointerPde));
 
         /* Drop the share count */
         MiDecrementShareCount(Pfn1, PageFrameIndex);




More information about the Ros-diffs mailing list