X-Git-Url: http://git.jankratochvil.net/?p=reactos.git;a=blobdiff_plain;f=ntoskrnl%2Fke%2Ftimer.c;fp=ntoskrnl%2Fke%2Ftimer.c;h=402c1ac307ea9c321bcd192bcc09c448508d1cd9;hp=db59f903a5e61005ac2ba1c3f72ae02db5d29ae2;hb=7c0cf90e3b750f1f0dc83b2eec9e5c68a512c30f;hpb=ee8b63255465d8c28be3e7bd11628015708fc1ab diff --git a/ntoskrnl/ke/timer.c b/ntoskrnl/ke/timer.c index db59f90..402c1ac 100644 --- a/ntoskrnl/ke/timer.c +++ b/ntoskrnl/ke/timer.c @@ -137,6 +137,9 @@ NtDelayExecution(IN ULONG Alertable, } +/* + * @implemented + */ NTSTATUS STDCALL KeDelayExecutionThread (KPROCESSOR_MODE WaitMode, BOOLEAN Alertable, @@ -163,6 +166,9 @@ KeDelayExecutionThread (KPROCESSOR_MODE WaitMode, } +/* + * @implemented + */ ULONG STDCALL KeQueryTimeIncrement(VOID) /* @@ -175,6 +181,9 @@ KeQueryTimeIncrement(VOID) } +/* + * @implemented + */ VOID STDCALL KeQuerySystemTime(PLARGE_INTEGER CurrentTime) /* @@ -206,6 +215,9 @@ NtGetTickCount (PULONG UpTime) } +/* + * @implemented + */ BOOLEAN STDCALL KeSetTimer (PKTIMER Timer, LARGE_INTEGER DueTime, @@ -226,6 +238,9 @@ KeSetTimer (PKTIMER Timer, return(KeSetTimerEx(Timer, DueTime, 0, Dpc)); } +/* + * @implemented + */ BOOLEAN STDCALL KeSetTimerEx (PKTIMER Timer, LARGE_INTEGER DueTime, @@ -282,6 +297,9 @@ KeSetTimerEx (PKTIMER Timer, #endif /* LIBCAPTIVE */ +/* + * @implemented + */ BOOLEAN STDCALL KeCancelTimer (PKTIMER Timer) /* @@ -312,6 +330,9 @@ KeCancelTimer (PKTIMER Timer) #ifndef LIBCAPTIVE +/* + * @implemented + */ BOOLEAN STDCALL KeReadStateTimer (PKTIMER Timer) { @@ -320,6 +341,9 @@ KeReadStateTimer (PKTIMER Timer) #endif /* LIBCAPTIVE */ +/* + * @implemented + */ VOID STDCALL KeInitializeTimer (PKTIMER Timer) /* @@ -332,6 +356,9 @@ KeInitializeTimer (PKTIMER Timer) KeInitializeTimerEx(Timer, NotificationTimer); } +/* + * @implemented + */ VOID STDCALL KeInitializeTimerEx (PKTIMER Timer, TIMER_TYPE Type) @@ -371,6 +398,9 @@ KeInitializeTimerEx (PKTIMER Timer, #ifndef LIBCAPTIVE +/* + * @implemented + */ VOID STDCALL KeQueryTickCount(PLARGE_INTEGER TickCount) /* @@ -436,7 +466,7 @@ KeExpireTimers(PKDPC Dpc, if (KeGetCurrentIrql() > DISPATCH_LEVEL) { DPRINT1("-----------------------------\n"); - KeBugCheck(0); + KEBUGCHECK(0); } @@ -516,6 +546,9 @@ KeInitializeTimerImpl(VOID) boot_time=SystemBootTime; system_time=boot_time; + SharedUserData->TickCountLow = 0; + SharedUserData->TickCountMultiplier = 167783691; // 2^24 * 1193182 / 119310 + DPRINT("Finished KeInitializeTimerImpl()\n"); }