- Implement KiComputeTimerTableIndex and stub KeUpdateRunTime und KeUpdateSystemTime.

- Hitting checkpoint in trap.c: DPC/Timer Delivery!
- Must now implement clock interrupt in HAL.

svn path=/trunk/; revision=34075
This commit is contained in:
ReactOS Portable Systems Group
2008-06-25 05:01:31 +00:00
parent 3d51d8fa8a
commit b5cddb8ef5
2 changed files with 35 additions and 3 deletions

View File

@@ -9,3 +9,38 @@ ULONG KeProcessorArchitecture;
ULONG KeProcessorLevel;
ULONG KeProcessorRevision;
ULONG KeFeatureBits;
ULONG
KiComputeTimerTableIndex(IN LONGLONG DueTime)
{
ULONG Hand;
DPRINT1("DueTime: %I64x Max: %lx\n", DueTime, KeMaximumIncrement);
//
// Compute the timer table index
//
Hand = (DueTime / KeMaximumIncrement);
DPRINT1("HAND: %lx\n", Hand);
Hand %= TIMER_TABLE_SIZE;
DPRINT1("HAND: %lx\n", Hand);
return Hand;
}
VOID
NTAPI
KeUpdateSystemTime(IN PKTRAP_FRAME TrapFrame,
IN KIRQL Irql,
IN ULONG Increment)
{
UNIMPLEMENTED;
while (TRUE);
}
VOID
NTAPI
KeUpdateRunTime(IN PKTRAP_FRAME TrapFrame,
IN KIRQL Irql)
{
UNIMPLEMENTED;
while (TRUE);
}

View File

@@ -25,8 +25,6 @@ GENERATE_ARM_STUB KeRaiseUserException
GENERATE_ARM_STUB KeSaveStateForHibernate
GENERATE_ARM_STUB KeSetDmaIoCoherency
GENERATE_ARM_STUB KeSynchronizeExecution
GENERATE_ARM_STUB KeUpdateRunTime
GENERATE_ARM_STUB KeUpdateSystemTime
GENERATE_ARM_STUB KeUserModeCallback
GENERATE_ARM_STUB NtSetLdtEntries
GENERATE_ARM_STUB NtRaiseException
@@ -45,7 +43,6 @@ GENERATE_ARM_STUB KeDisableInterrupts
GENERATE_ARM_STUB KiDispatchException
GENERATE_ARM_STUB KiSwapProcess
GENERATE_ARM_STUB KeSwitchKernelStack
GENERATE_ARM_STUB KiComputeTimerTableIndex
//
// Traps, Debugging and Execeptions