[NTOSKRNL]
authorPierre Schweitzer <pierre@reactos.org>
Mon, 22 Feb 2016 22:52:35 +0000 (22:52 +0000)
committerPierre Schweitzer <pierre@reactos.org>
Mon, 22 Feb 2016 22:52:35 +0000 (22:52 +0000)
Implement the MiWriteCombined case of MmMapIoSpace().

This fixes NVIDIA display drivers loading in ReactOS. See: https://www.reactos.org/forum/viewtopic.php?p=120359#p120359

svn path=/trunk/; revision=70774

reactos/ntoskrnl/mm/ARM3/iosup.c

index 08a8ba2..2549e92 100644 (file)
@@ -144,9 +144,10 @@ MmMapIoSpace(IN PHYSICAL_ADDRESS PhysicalAddress,
         case MiWriteCombined:
 
             //
-            // We don't support write combining yet
+            // Disable the cache and allow combined writing
             //
-            ASSERT(FALSE);
+            MI_PAGE_DISABLE_CACHE(&TempPte);
+            MI_PAGE_WRITE_COMBINED(&TempPte);
             break;
 
         default: