[NTOS:MM]

- Really only warn once in MmSecureVirtualMemory/MmUnsecureVirtualMemory, not on every 256th call

svn path=/trunk/; revision=74263
This commit is contained in:
Thomas Faber
2017-04-02 08:37:39 +00:00
parent 0309c0644e
commit db2abeca16
+2 -2
View File
@@ -2670,7 +2670,7 @@ MmSecureVirtualMemory(IN PVOID Address,
IN SIZE_T Length,
IN ULONG Mode)
{
static BOOLEAN Warn; if (!Warn++) UNIMPLEMENTED;
static ULONG Warn; if (!Warn++) UNIMPLEMENTED;
return Address;
}
@@ -2681,7 +2681,7 @@ VOID
NTAPI
MmUnsecureVirtualMemory(IN PVOID SecureMem)
{
static BOOLEAN Warn; if (!Warn++) UNIMPLEMENTED;
static ULONG Warn; if (!Warn++) UNIMPLEMENTED;
}
/* SYSTEM CALLS ***************************************************************/