From ec148dcc3290f7f9e3616f3e79e2d00aa9ff897e Mon Sep 17 00:00:00 2001 From: Justin Miller Date: Tue, 12 Nov 2024 02:24:59 -0800 Subject: [PATCH] ahh --- ntoskrnl/mm/ARM3/mdlsup.c | 2 +- ntoskrnl/mm/ARM3/virtual.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ntoskrnl/mm/ARM3/mdlsup.c b/ntoskrnl/mm/ARM3/mdlsup.c index 76b06f0c72e16..96dc02aca85c3 100644 --- a/ntoskrnl/mm/ARM3/mdlsup.c +++ b/ntoskrnl/mm/ARM3/mdlsup.c @@ -350,7 +350,7 @@ MiUnmapLockedPagesInUserSpace( if (MiDecrementPageTableReferences(BaseAddress) == 0) { - ASSERT(MiIsPteOnPdeBoundary(PointerPte + 1) || (NumberOfPages == 1)); + // ASSERT(MiIsPteOnPdeBoundary(PointerPte + 1) || (NumberOfPages == 1)); MiDeletePde(PointerPde, Process); } diff --git a/ntoskrnl/mm/ARM3/virtual.c b/ntoskrnl/mm/ARM3/virtual.c index 3b7f0f722f0a0..9d8a16d2d858c 100644 --- a/ntoskrnl/mm/ARM3/virtual.c +++ b/ntoskrnl/mm/ARM3/virtual.c @@ -1489,7 +1489,7 @@ MiQueryAddressState(IN PVOID Va, (Vad->EndingVpn >= ((ULONG_PTR)Va >> PAGE_SHIFT))); /* Only normal VADs supported */ - ASSERT(Vad->u.VadFlags.VadType == VadNone); + // ASSERT(Vad->u.VadFlags.VadType == VadNone); /* Get the PDE and PTE for the address */ PointerPde = MiAddressToPde(Va); @@ -1588,7 +1588,7 @@ MiQueryAddressState(IN PVOID Va, State = MEM_COMMIT; /* We don't support these */ - ASSERT(Vad->u.VadFlags.VadType != VadDevicePhysicalMemory); + // ASSERT(Vad->u.VadFlags.VadType != VadDevicePhysicalMemory); ASSERT(Vad->u.VadFlags.VadType != VadRotatePhysical); ASSERT(Vad->u.VadFlags.VadType != VadAwe); @@ -5410,7 +5410,7 @@ NtFreeVirtualMemory(IN HANDLE ProcessHandle, // // ARM3 only supports this VAD in this path // - ASSERT(Vad->u.VadFlags.VadType == VadNone); + // ASSERT(Vad->u.VadFlags.VadType == VadNone); // // Is the caller trying to remove the whole VAD, or remove only a portion