mirror of
https://github.com/reactos/reactos.git
synced 2025-03-01 03:45:16 +00:00
[NTOS:MM] Allow not providing MMDBG_COPY_UNSAFE in MmDbgCopyMemory
Replace an assert by a log, as this works most of the times.
This commit is contained in:
parent
69cd1e107a
commit
20bd5e8a9c
1 changed files with 9 additions and 1 deletions
|
@ -132,7 +132,15 @@ MmDbgCopyMemory(IN ULONG64 Address,
|
||||||
PVOID CopyDestination, CopySource;
|
PVOID CopyDestination, CopySource;
|
||||||
|
|
||||||
/* No local kernel debugging support yet, so don't worry about locking */
|
/* No local kernel debugging support yet, so don't worry about locking */
|
||||||
ASSERT(Flags & MMDBG_COPY_UNSAFE);
|
if (!(Flags & MMDBG_COPY_UNSAFE))
|
||||||
|
{
|
||||||
|
static BOOLEAN Warned = FALSE;
|
||||||
|
if (!Warned)
|
||||||
|
{
|
||||||
|
KdpDprintf("MmDbgCopyMemory: not providing MMDBG_COPY_UNSAFE is UNIMPLEMENTED\n");
|
||||||
|
Warned = TRUE;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* We only handle 1, 2, 4 and 8 byte requests */
|
/* We only handle 1, 2, 4 and 8 byte requests */
|
||||||
if ((Size != 1) &&
|
if ((Size != 1) &&
|
||||||
|
|
Loading…
Reference in a new issue