Author: ros-arm-bringup
Date: Wed Jun 25 00:01:31 2008
New Revision: 34075
URL:
http://svn.reactos.org/svn/reactos?rev=34075&view=rev
Log:
- Implement KiComputeTimerTableIndex and stub KeUpdateRunTime und KeUpdateSystemTime.
- Hitting checkpoint in trap.c: DPC/Timer Delivery!
- Must now implement clock interrupt in HAL.
Modified:
trunk/reactos/ntoskrnl/ke/arm/stubs.c
trunk/reactos/ntoskrnl/ke/arm/stubs_asm.s
Modified: trunk/reactos/ntoskrnl/ke/arm/stubs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ke/arm/stubs.c?re…
==============================================================================
--- trunk/reactos/ntoskrnl/ke/arm/stubs.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ke/arm/stubs.c [iso-8859-1] Wed Jun 25 00:01:31 2008
@@ -9,3 +9,38 @@
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);
+}
Modified: trunk/reactos/ntoskrnl/ke/arm/stubs_asm.s
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ke/arm/stubs_asm.…
==============================================================================
--- trunk/reactos/ntoskrnl/ke/arm/stubs_asm.s [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ke/arm/stubs_asm.s [iso-8859-1] Wed Jun 25 00:01:31 2008
@@ -25,8 +25,6 @@
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 KiDispatchException
GENERATE_ARM_STUB KiSwapProcess
GENERATE_ARM_STUB KeSwitchKernelStack
-GENERATE_ARM_STUB KiComputeTimerTableIndex
//
// Traps, Debugging and Execeptions