[NTOS]: Don't assume that ANY fault in the system address range, not associated to...
authorSir Richard <sir_richard@svn.reactos.org>
Sat, 5 Jun 2010 14:59:50 +0000 (14:59 +0000)
committerSir Richard <sir_richard@svn.reactos.org>
Sat, 5 Jun 2010 14:59:50 +0000 (14:59 +0000)
svn path=/trunk/; revision=47589

reactos/ntoskrnl/mm/mmfault.c

index f908e60..6f04e94 100644 (file)
@@ -284,13 +284,13 @@ MmAccessFault(IN BOOLEAN StoreInstruction,
      * can go away.
      */
     MemoryArea = MmLocateMemoryAreaByAddress(MmGetKernelAddressSpace(), Address);
-    if ((!(MemoryArea) && ((ULONG_PTR)Address >= (ULONG_PTR)MmSystemRangeStart)) ||
+    if ((!(MemoryArea) && ((ULONG_PTR)Address >= (ULONG_PTR)MmPagedPoolStart)) ||
         ((MemoryArea) && (MemoryArea->Type == MEMORY_AREA_OWNED_BY_ARM3)))
     {
         //
         // Hand it off to more competent hands...
         //
-        DPRINT1("ARM3 fault\n");
+        DPRINT1("ARM3 fault %p\n", MemoryArea);
         return MmArmAccessFault(StoreInstruction, Address, Mode, TrapInformation);
     }