Silence some debug messages
Modified: trunk/reactos/ntoskrnl/ke/apc.c
Modified: trunk/reactos/ntoskrnl/ps/kill.c
_____
Modified: trunk/reactos/ntoskrnl/ke/apc.c
--- trunk/reactos/ntoskrnl/ke/apc.c 2005-09-26 07:43:55 UTC (rev
18082)
+++ trunk/reactos/ntoskrnl/ke/apc.c 2005-09-26 08:21:38 UTC (rev
18083)
@@ -273,7 +273,7 @@
*/
if ((Apc->ApcMode != KernelMode) && (Apc->KernelRoutine ==
(PKKERNEL_ROUTINE)PsExitSpecialApc)) {
- DPRINT1("Inserting the Thread Exit APC for '%.16s' into the
Queue\n", ((PETHREAD)Thread)->ThreadsProcess->ImageFileName);
+ DPRINT("Inserting the Thread Exit APC for '%.16s' into the
Queue\n", ((PETHREAD)Thread)->ThreadsProcess->ImageFileName);
Thread->ApcStatePointer[(int)Apc->ApcStateIndex]->UserApcPending = TRUE;
InsertHeadList(&Thread->ApcStatePointer[(int)Apc->ApcStateIndex]->ApcLis
tHead[(int)Apc->ApcMode],
&Apc->ApcListEntry);
_____
Modified: trunk/reactos/ntoskrnl/ps/kill.c
--- trunk/reactos/ntoskrnl/ps/kill.c 2005-09-26 07:43:55 UTC (rev
18082)
+++ trunk/reactos/ntoskrnl/ps/kill.c 2005-09-26 08:21:38 UTC (rev
18083)
@@ -396,8 +396,8 @@
PVOID* SystemArgument1,
PVOID* SystemArguemnt2)
{
- DPRINT1("PsExitSpecialApc called: 0x%x (proc: 0x%x, '%.16s')\n",
- PsGetCurrentThread(), PsGetCurrentProcess(),
PsGetCurrentProcess()->ImageFileName);
+ DPRINT("PsExitSpecialApc called: 0x%x (proc: 0x%x, '%.16s')\n",
+ PsGetCurrentThread(), PsGetCurrentProcess(),
PsGetCurrentProcess()->ImageFileName);
/* Don't do anything unless we are in User-Mode */
if (Apc->SystemArgument2)
@@ -425,8 +425,8 @@
PETHREAD Thread = PsGetCurrentThread();
NTSTATUS ExitStatus;
- DPRINT1("PspExitNormalApc called: 0x%x (proc: 0x%x, '%.16s')\n",
- PsGetCurrentThread(), PsGetCurrentProcess(),
PsGetCurrentProcess()->ImageFileName);
+ DPRINT("PspExitNormalApc called: 0x%x (proc: 0x%x, '%.16s')\n",
+ PsGetCurrentThread(), PsGetCurrentProcess(),
PsGetCurrentProcess()->ImageFileName);
/* This should never happen */
ASSERT(!SystemArgument2);
@@ -446,7 +446,7 @@
}
/* If we're here, this is not a System Thread, so kill it from
User-Mode */
- DPRINT1("Initializing User-Mode APC\n");
+ DPRINT("Initializing User-Mode APC\n");
KeInitializeApc(Apc,
&Thread->Tcb,
OriginalApcEnvironment,
Show replies by date