mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
Silence some debug messages
svn path=/trunk/; revision=18083
This commit is contained in:
parent
ad6d758184
commit
fe931cdfe1
2 changed files with 6 additions and 6 deletions
|
@ -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);
|
||||||
|
|
|
@ -396,8 +396,8 @@ 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 */
|
||||||
if (Apc->SystemArgument2)
|
if (Apc->SystemArgument2)
|
||||||
|
@ -425,8 +425,8 @@ 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 */
|
||||||
ASSERT(!SystemArgument2);
|
ASSERT(!SystemArgument2);
|
||||||
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue