[NTOS][USERSRV] Silence noisy debug output.
authorBernhard Feichtinger <43303168+BieHDC@users.noreply.github.com>
Sat, 13 Apr 2019 21:33:09 +0000 (23:33 +0200)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Mon, 22 Apr 2019 15:41:17 +0000 (17:41 +0200)
ntoskrnl/ke/i386/cpu.c
ntoskrnl/mm/ARM3/vadnode.c
win32ss/user/winsrv/usersrv/init.c

index 5f36666..224178d 100644 (file)
@@ -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");
index 5464e9f..1dab4ef 100644 (file)
@@ -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;
         }
index 2c38825..2e65099 100644 (file)
@@ -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;