https://git.reactos.org/?p=reactos.git;a=commitdiff;h=f5471b7b4b43c877ead8e…
commit f5471b7b4b43c877ead8e2e6b845c0379d6dcc02
Author: Bernhard Feichtinger <43303168+BieHDC(a)users.noreply.github.com>
AuthorDate: Sat Apr 13 23:33:09 2019 +0200
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Mon Apr 22 17:41:17 2019 +0200
[NTOS][USERSRV] Silence noisy debug output.
---
ntoskrnl/ke/i386/cpu.c | 4 ++--
ntoskrnl/mm/ARM3/vadnode.c | 2 +-
win32ss/user/winsrv/usersrv/init.c | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/ntoskrnl/ke/i386/cpu.c b/ntoskrnl/ke/i386/cpu.c
index 5f366665bd..224178d2e6 100644
--- a/ntoskrnl/ke/i386/cpu.c
+++ b/ntoskrnl/ke/i386/cpu.c
@@ -1368,7 +1368,7 @@ KeSaveFloatingPointState(OUT PKFLOATING_SAVE Save)
{
PFNSAVE_FORMAT FpState;
ASSERT(KeGetCurrentIrql() <= DISPATCH_LEVEL);
- DPRINT1("%s is not really implemented\n", __FUNCTION__);
+ UNIMPLEMENTED_ONCE;
/* check if we are doing software emulation */
if (!KeI386NpxPresent) return STATUS_ILLEGAL_FLOAT_CONTEXT;
@@ -1400,7 +1400,7 @@ KeRestoreFloatingPointState(IN PKFLOATING_SAVE Save)
{
PFNSAVE_FORMAT FpState = *((PVOID *) Save);
ASSERT(KeGetCurrentThread()->Header.NpxIrql == KeGetCurrentIrql());
- DPRINT1("%s is not really implemented\n", __FUNCTION__);
+ UNIMPLEMENTED_ONCE;
#ifdef __GNUC__
asm volatile("fnclex\n\t");
diff --git a/ntoskrnl/mm/ARM3/vadnode.c b/ntoskrnl/mm/ARM3/vadnode.c
index 5464e9f009..1dab4ef1e4 100644
--- a/ntoskrnl/mm/ARM3/vadnode.c
+++ b/ntoskrnl/mm/ARM3/vadnode.c
@@ -285,7 +285,7 @@ MiInsertVadEx(
&Parent);
if (Result == TableFoundNode)
{
- DPRINT1("Given address conflicts with existing node\n");
+ DPRINT("Given address conflicts with existing node\n");
KeReleaseGuardedMutex(&CurrentProcess->AddressCreationLock);
return STATUS_CONFLICTING_ADDRESSES;
}
diff --git a/win32ss/user/winsrv/usersrv/init.c b/win32ss/user/winsrv/usersrv/init.c
index 2c38825bbe..2e65099915 100644
--- a/win32ss/user/winsrv/usersrv/init.c
+++ b/win32ss/user/winsrv/usersrv/init.c
@@ -140,7 +140,7 @@ CSR_API(SrvGetThreadConsoleDesktop)
{
PUSER_GET_THREAD_CONSOLE_DESKTOP GetThreadConsoleDesktopRequest =
&((PUSER_API_MESSAGE)ApiMessage)->Data.GetThreadConsoleDesktopRequest;
- DPRINT1("%s not yet implemented\n", __FUNCTION__);
+ UNIMPLEMENTED_ONCE;
/* Return nothing for the moment... */
GetThreadConsoleDesktopRequest->ConsoleDesktop = NULL;