Silence some debug messages

svn path=/trunk/; revision=18083
This commit is contained in:
Gé van Geldorp 2005-09-26 08:21:38 +00:00
parent ad6d758184
commit fe931cdfe1
2 changed files with 6 additions and 6 deletions

View file

@ -273,7 +273,7 @@ KiInsertQueueApc(PKAPC Apc,
*/ */
if ((Apc->ApcMode != KernelMode) && (Apc->KernelRoutine == (PKKERNEL_ROUTINE)PsExitSpecialApc)) { 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; Thread->ApcStatePointer[(int)Apc->ApcStateIndex]->UserApcPending = TRUE;
InsertHeadList(&Thread->ApcStatePointer[(int)Apc->ApcStateIndex]->ApcListHead[(int)Apc->ApcMode], InsertHeadList(&Thread->ApcStatePointer[(int)Apc->ApcStateIndex]->ApcListHead[(int)Apc->ApcMode],
&Apc->ApcListEntry); &Apc->ApcListEntry);

View file

@ -396,7 +396,7 @@ PsExitSpecialApc(PKAPC Apc,
PVOID* SystemArgument1, PVOID* SystemArgument1,
PVOID* SystemArguemnt2) PVOID* SystemArguemnt2)
{ {
DPRINT1("PsExitSpecialApc called: 0x%x (proc: 0x%x, '%.16s')\n", DPRINT("PsExitSpecialApc called: 0x%x (proc: 0x%x, '%.16s')\n",
PsGetCurrentThread(), PsGetCurrentProcess(), PsGetCurrentProcess()->ImageFileName); PsGetCurrentThread(), PsGetCurrentProcess(), PsGetCurrentProcess()->ImageFileName);
/* Don't do anything unless we are in User-Mode */ /* Don't do anything unless we are in User-Mode */
@ -425,7 +425,7 @@ PspExitNormalApc(PVOID NormalContext,
PETHREAD Thread = PsGetCurrentThread(); PETHREAD Thread = PsGetCurrentThread();
NTSTATUS ExitStatus; NTSTATUS ExitStatus;
DPRINT1("PspExitNormalApc called: 0x%x (proc: 0x%x, '%.16s')\n", DPRINT("PspExitNormalApc called: 0x%x (proc: 0x%x, '%.16s')\n",
PsGetCurrentThread(), PsGetCurrentProcess(), PsGetCurrentProcess()->ImageFileName); PsGetCurrentThread(), PsGetCurrentProcess(), PsGetCurrentProcess()->ImageFileName);
/* This should never happen */ /* This should never happen */
@ -446,7 +446,7 @@ PspExitNormalApc(PVOID NormalContext,
} }
/* If we're here, this is not a System Thread, so kill it from User-Mode */ /* 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, KeInitializeApc(Apc,
&Thread->Tcb, &Thread->Tcb,
OriginalApcEnvironment, OriginalApcEnvironment,