mirror of
https://github.com/reactos/reactos.git
synced 2026-06-21 09:56:07 +08:00
- 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:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user