Author: pschweitzer
Date: Mon Feb 22 22:52:35 2016
New Revision: 70774
URL:
http://svn.reactos.org/svn/reactos?rev=70774&view=rev
Log:
[NTOSKRNL]
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
Modified:
trunk/reactos/ntoskrnl/mm/ARM3/iosup.c
Modified: trunk/reactos/ntoskrnl/mm/ARM3/iosup.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/ARM3/iosup.c?r…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/ARM3/iosup.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/ARM3/iosup.c [iso-8859-1] Mon Feb 22 22:52:35 2016
@@ -144,9 +144,10 @@
case MiWriteCombined:
//
- // We don't support write combining yet
- //
- ASSERT(FALSE);
+ // Disable the cache and allow combined writing
+ //
+ MI_PAGE_DISABLE_CACHE(&TempPte);
+ MI_PAGE_WRITE_COMBINED(&TempPte);
break;
default: