Author: spetreolle
Date: Sun Apr 9 12:26:16 2017
New Revision: 74291
URL:
http://svn.reactos.org/svn/reactos?rev=74291&view=rev
Log:
[NTOS:MM]
Addendum to r74263:
- Really only warn once in MmLockPageableDataSection/MmUnlockPageableImageSection, not on
every 256th call
Modified:
trunk/reactos/ntoskrnl/mm/ARM3/drvmgmt.c
Modified: trunk/reactos/ntoskrnl/mm/ARM3/drvmgmt.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/ARM3/drvmgmt.c…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/ARM3/drvmgmt.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/ARM3/drvmgmt.c [iso-8859-1] Sun Apr 9 12:26:16 2017
@@ -36,22 +36,22 @@
NTAPI
MmUnlockPageableImageSection(IN PVOID ImageSectionHandle)
{
+ static ULONG Warn; if (!Warn++) UNIMPLEMENTED;
+}
+
+/*
+ * @unimplemented
+ */
+VOID
+NTAPI
+MmLockPageableSectionByHandle(IN PVOID ImageSectionHandle)
+{
UNIMPLEMENTED;
}
/*
* @unimplemented
*/
-VOID
-NTAPI
-MmLockPageableSectionByHandle(IN PVOID ImageSectionHandle)
-{
- UNIMPLEMENTED;
-}
-
-/*
- * @unimplemented
- */
PVOID
NTAPI
MmLockPageableDataSection(IN PVOID AddressWithinSection)
@@ -59,7 +59,7 @@
//
// We should just find the section and call MmLockPageableSectionByHandle
//
- static BOOLEAN Warn; if (!Warn++) UNIMPLEMENTED;
+ static ULONG Warn; if (!Warn++) UNIMPLEMENTED;
return AddressWithinSection;
}