- Enable timer expiration code.

- Timers now work, along with full scheduling, dispatching and context switching, so our 5 second wait in init.c allows other threads to runs, then completes appropriately.

svn path=/trunk/; revision=34491
This commit is contained in:
ReactOS Portable Systems Group 2008-07-14 03:17:57 +00:00
parent 7f9d319752
commit 69b3a4581d

View file

@ -109,13 +109,17 @@ KeUpdateSystemTime(IN PKTRAP_FRAME TrapFrame,
if (KiTimerTableListHead[Hand].Time.QuadPart <= InterruptTime.QuadPart)
{
//
// Timer has expired!
// Check if we are already doing expiration
//
DPRINT1("hand: %d\n", Hand);
DPRINT1("Interrupt time: %I64x\n", InterruptTime.QuadPart);
DPRINT1("TIMER EXPIRATION: %I64x!!!\n",
KiTimerTableListHead[Hand].Time.QuadPart);
while (TRUE);
if (!Prcb->TimerRequest)
{
//
// Request a DPC to handle this
//
Prcb->TimerRequest = TrapFrame->SvcSp;
Prcb->TimerHand = Hand;
HalRequestSoftwareInterrupt(DISPATCH_LEVEL);
}
}
//