mirror of
https://github.com/reactos/reactos.git
synced 2024-11-18 21:13:52 +00:00
[NTOS:KE]
- Enable DPC timeout check on debug builds. Suggested by Stefan svn path=/trunk/; revision=68902
This commit is contained in:
parent
62945a0c1c
commit
fb17ced703
2 changed files with 4 additions and 2 deletions
|
@ -601,8 +601,10 @@ KiRetireDpcList(IN PKPRCB Prcb)
|
|||
/* Decrease the queue depth */
|
||||
DpcData->DpcQueueDepth--;
|
||||
|
||||
#if DBG
|
||||
/* Clear DPC Time */
|
||||
Prcb->DebugDpcTime = 0;
|
||||
#endif
|
||||
|
||||
/* Release the lock */
|
||||
KeReleaseSpinLockFromDpcLevel(&DpcData->DpcLock);
|
||||
|
|
|
@ -184,12 +184,12 @@ KeUpdateRunTime(IN PKTRAP_FRAME TrapFrame,
|
|||
/* Handle being in a DPC */
|
||||
Prcb->DpcTime++;
|
||||
|
||||
#if 0 //DBG
|
||||
#if DBG
|
||||
/* Update the DPC time */
|
||||
Prcb->DebugDpcTime++;
|
||||
|
||||
/* Check if we have timed out */
|
||||
if (Prcb->DebugDpcTime == KiDPCTimeout);
|
||||
if (Prcb->DebugDpcTime == KiDPCTimeout)
|
||||
{
|
||||
/* We did! */
|
||||
DbgPrint("*** DPC routine > 1 sec --- This is not a break in KeUpdateSystemTime\n");
|
||||
|
|
Loading…
Reference in a new issue