mirror of
https://github.com/reactos/reactos.git
synced 2024-09-09 20:30:04 +00:00
- 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:
parent
7f9d319752
commit
69b3a4581d
|
@ -109,13 +109,17 @@ KeUpdateSystemTime(IN PKTRAP_FRAME TrapFrame,
|
||||||
if (KiTimerTableListHead[Hand].Time.QuadPart <= InterruptTime.QuadPart)
|
if (KiTimerTableListHead[Hand].Time.QuadPart <= InterruptTime.QuadPart)
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
// Timer has expired!
|
// Check if we are already doing expiration
|
||||||
//
|
//
|
||||||
DPRINT1("hand: %d\n", Hand);
|
if (!Prcb->TimerRequest)
|
||||||
DPRINT1("Interrupt time: %I64x\n", InterruptTime.QuadPart);
|
{
|
||||||
DPRINT1("TIMER EXPIRATION: %I64x!!!\n",
|
//
|
||||||
KiTimerTableListHead[Hand].Time.QuadPart);
|
// Request a DPC to handle this
|
||||||
while (TRUE);
|
//
|
||||||
|
Prcb->TimerRequest = TrapFrame->SvcSp;
|
||||||
|
Prcb->TimerHand = Hand;
|
||||||
|
HalRequestSoftwareInterrupt(DISPATCH_LEVEL);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in a new issue