From 61dab06b71b12ac8575cab0c609ff1c5dfd824e6 Mon Sep 17 00:00:00 2001 From: Sir Richard Date: Sun, 4 Mar 2012 19:51:22 +0000 Subject: [PATCH] [NTOS]: For debugging only, want to see what is excercising MmAllocatePagesForMdl. The way I wrote this seems broken, but I can't find anything to test it with. svn path=/trunk/; revision=56010 --- reactos/ntoskrnl/mm/freelist.c | 1 + 1 file changed, 1 insertion(+) diff --git a/reactos/ntoskrnl/mm/freelist.c b/reactos/ntoskrnl/mm/freelist.c index b69a40b971c..cc1d8d86493 100644 --- a/reactos/ntoskrnl/mm/freelist.c +++ b/reactos/ntoskrnl/mm/freelist.c @@ -167,6 +167,7 @@ MiAllocatePagesForMdl(IN PHYSICAL_ADDRESS LowAddress, PPHYSICAL_PAGE Pfn1; INT LookForZeroedPages; ASSERT(KeGetCurrentIrql() <= APC_LEVEL); + DPRINT1("ARM3-DEBUG: Being called with %I64x %I64x %I64x %lx %d %d\n", LowAddress, HighAddress, SkipBytes, TotalBytes, CacheAttribute, MdlFlags); // // Convert the low address into a PFN