From 7c336358c86b4a682820c01073e79082cd53df52 Mon Sep 17 00:00:00 2001 From: Pierre Schweitzer Date: Mon, 22 Feb 2016 22:52:35 +0000 Subject: [PATCH] [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 svn path=/trunk/; revision=70774 --- reactos/ntoskrnl/mm/ARM3/iosup.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/reactos/ntoskrnl/mm/ARM3/iosup.c b/reactos/ntoskrnl/mm/ARM3/iosup.c index 08a8ba261d0..2549e922f57 100644 --- a/reactos/ntoskrnl/mm/ARM3/iosup.c +++ b/reactos/ntoskrnl/mm/ARM3/iosup.c @@ -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: