From 7fc8c17d169831502cbaeb64cf9a1e450b62a0f3 Mon Sep 17 00:00:00 2001 From: Royce Mitchell III Date: Thu, 10 Jul 2003 17:44:06 +0000 Subject: [PATCH] @implemented and @unimplemented comments for ntoskrnl/ke/*.c svn path=/trunk/; revision=5044 --- reactos/ntoskrnl/ke/apc.c | 24 +++++++++++++++ reactos/ntoskrnl/ke/bug.c | 17 ++++++++++- reactos/ntoskrnl/ke/catch.c | 17 ++++++++++- reactos/ntoskrnl/ke/critical.c | 8 ++++- reactos/ntoskrnl/ke/dpc.c | 20 ++++++++++++- reactos/ntoskrnl/ke/error.c | 6 ++++ reactos/ntoskrnl/ke/event.c | 18 ++++++++++++ reactos/ntoskrnl/ke/kqueue.c | 18 ++++++++++++ reactos/ntoskrnl/ke/kthread.c | 5 +++- reactos/ntoskrnl/ke/mutex.c | 23 ++++++++++++++- reactos/ntoskrnl/ke/process.c | 8 ++++- reactos/ntoskrnl/ke/queue.c | 23 ++++++++++++++- reactos/ntoskrnl/ke/sem.c | 11 ++++++- reactos/ntoskrnl/ke/spinlock.c | 14 ++++++++- reactos/ntoskrnl/ke/timer.c | 53 +++++++++++++++++++++++++++++++++- reactos/ntoskrnl/ke/wait.c | 15 ++++++++++ 16 files changed, 269 insertions(+), 11 deletions(-) diff --git a/reactos/ntoskrnl/ke/apc.c b/reactos/ntoskrnl/ke/apc.c index ca64524c4d7..c46891ac464 100644 --- a/reactos/ntoskrnl/ke/apc.c +++ b/reactos/ntoskrnl/ke/apc.c @@ -236,6 +236,9 @@ KiDeliverUserApc(PKTRAP_FRAME TrapFrame) return(TRUE); } +/* + * @implemented + */ VOID STDCALL KiDeliverApc(ULONG Unknown1, ULONG Unknown2, @@ -287,6 +290,9 @@ KiDeliverApc(ULONG Unknown1, KeReleaseSpinLock(&PiApcLock, oldlvl); } +/* + * @implemented + */ BOOLEAN STDCALL KeInsertQueueApc (PKAPC Apc, PVOID SystemArgument1, @@ -401,6 +407,9 @@ KeInsertQueueApc (PKAPC Apc, return TRUE; } +/* + * @implemented + */ BOOLEAN STDCALL KeRemoveQueueApc (PKAPC Apc) /* @@ -440,6 +449,9 @@ KeRemoveQueueApc (PKAPC Apc) } +/* + * @implemented + */ VOID STDCALL KeInitializeApc( IN PKAPC Apc, @@ -500,12 +512,18 @@ KeInitializeApc( } } +/* + * @implemented + */ VOID STDCALL NtQueueApcRundownRoutine(PKAPC Apc) { ExFreePool(Apc); } +/* + * @implemented + */ VOID STDCALL NtQueueApcKernelRoutine(PKAPC Apc, PKNORMAL_ROUTINE* NormalRoutine, @@ -516,6 +534,9 @@ NtQueueApcKernelRoutine(PKAPC Apc, ExFreePool(Apc); } +/* + * @implemented + */ NTSTATUS STDCALL NtQueueApcThread(HANDLE ThreadHandle, PKNORMAL_ROUTINE ApcRoutine, @@ -563,6 +584,9 @@ NtQueueApcThread(HANDLE ThreadHandle, } +/* + * @implemented + */ NTSTATUS STDCALL NtTestAlert(VOID) { KiTestAlert(); diff --git a/reactos/ntoskrnl/ke/bug.c b/reactos/ntoskrnl/ke/bug.c index f5bd81d1e8b..fa688a7c0d4 100644 --- a/reactos/ntoskrnl/ke/bug.c +++ b/reactos/ntoskrnl/ke/bug.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: bug.c,v 1.30 2003/06/21 14:25:30 gvg Exp $ +/* $Id: bug.c,v 1.31 2003/07/10 17:44:06 royce Exp $ * * PROJECT: ReactOS kernel * FILE: ntoskrnl/ke/bug.c @@ -53,6 +53,9 @@ KeInitializeBugCheck(VOID) InBugCheck = 0; } +/* + * @unimplemented + */ BOOLEAN STDCALL KeDeregisterBugCheckCallback(PKBUGCHECK_CALLBACK_RECORD CallbackRecord) { @@ -60,6 +63,9 @@ KeDeregisterBugCheckCallback(PKBUGCHECK_CALLBACK_RECORD CallbackRecord) return FALSE; } +/* + * @implemented + */ BOOLEAN STDCALL KeRegisterBugCheckCallback(PKBUGCHECK_CALLBACK_RECORD CallbackRecord, PKBUGCHECK_CALLBACK_ROUTINE CallbackRoutine, @@ -75,6 +81,9 @@ KeRegisterBugCheckCallback(PKBUGCHECK_CALLBACK_RECORD CallbackRecord, return(TRUE); } +/* + * @implemented + */ VOID STDCALL KeBugCheckWithTf(ULONG BugCheckCode, ULONG BugCheckParameter1, @@ -142,6 +151,9 @@ KeBugCheckWithTf(ULONG BugCheckCode, } } +/* + * @implemented + */ VOID STDCALL KeBugCheckEx(ULONG BugCheckCode, ULONG BugCheckParameter1, @@ -227,6 +239,9 @@ KeBugCheckEx(ULONG BugCheckCode, } } +/* + * @implemented + */ VOID STDCALL KeBugCheck(ULONG BugCheckCode) /* diff --git a/reactos/ntoskrnl/ke/catch.c b/reactos/ntoskrnl/ke/catch.c index 9b3ca587ac0..abfcd3ca8c2 100644 --- a/reactos/ntoskrnl/ke/catch.c +++ b/reactos/ntoskrnl/ke/catch.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: catch.c,v 1.31 2003/04/24 16:55:08 hbirr Exp $ +/* $Id: catch.c,v 1.32 2003/07/10 17:44:06 royce Exp $ * * PROJECT: ReactOS kernel * FILE: ntoskrnl/ke/catch.c @@ -157,18 +157,27 @@ KiDispatchException(PEXCEPTION_RECORD ExceptionRecord, } } +/* + * @implemented + */ VOID STDCALL ExRaiseAccessViolation (VOID) { ExRaiseStatus (STATUS_ACCESS_VIOLATION); } +/* + * @implemented + */ VOID STDCALL ExRaiseDatatypeMisalignment (VOID) { ExRaiseStatus (STATUS_DATATYPE_MISALIGNMENT); } +/* + * @implemented + */ VOID STDCALL ExRaiseStatus (IN NTSTATUS Status) { @@ -185,6 +194,9 @@ ExRaiseStatus (IN NTSTATUS Status) } +/* + * @implemented + */ NTSTATUS STDCALL NtRaiseException (IN PEXCEPTION_RECORD ExceptionRecord, IN PCONTEXT Context, @@ -199,6 +211,9 @@ NtRaiseException (IN PEXCEPTION_RECORD ExceptionRecord, } +/* + * @implemented + */ VOID STDCALL RtlRaiseException(PEXCEPTION_RECORD ExceptionRecord) { diff --git a/reactos/ntoskrnl/ke/critical.c b/reactos/ntoskrnl/ke/critical.c index 4a03d393e93..910134b8ed5 100644 --- a/reactos/ntoskrnl/ke/critical.c +++ b/reactos/ntoskrnl/ke/critical.c @@ -1,4 +1,4 @@ -/* $Id: critical.c,v 1.7 2002/09/08 10:23:28 chorns Exp $ +/* $Id: critical.c,v 1.8 2003/07/10 17:44:06 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -19,12 +19,18 @@ /* FUNCTIONS *****************************************************************/ +/* + * @implemented + */ VOID STDCALL KeEnterCriticalRegion (VOID) { DPRINT("KeEnterCriticalRegion()\n"); KeGetCurrentThread()->KernelApcDisable -= 1; } +/* + * @implemented + */ VOID STDCALL KeLeaveCriticalRegion (VOID) { DPRINT("KeLeaveCriticalRegion()\n"); diff --git a/reactos/ntoskrnl/ke/dpc.c b/reactos/ntoskrnl/ke/dpc.c index fddca2fdb0b..d8f3ad45dca 100644 --- a/reactos/ntoskrnl/ke/dpc.c +++ b/reactos/ntoskrnl/ke/dpc.c @@ -18,7 +18,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: dpc.c,v 1.25 2003/06/16 19:18:14 hbirr Exp $ +/* $Id: dpc.c,v 1.26 2003/07/10 17:44:06 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -57,6 +57,9 @@ ULONG DpcQueueSize = 0; /* FUNCTIONS ****************************************************************/ +/* + * @implemented + */ VOID STDCALL KeInitializeDpc (PKDPC Dpc, PKDEFERRED_ROUTINE DeferredRoutine, @@ -76,6 +79,9 @@ KeInitializeDpc (PKDPC Dpc, Dpc->Lock = 0; } +/* + * @implemented + */ VOID STDCALL KiDispatchInterrupt(VOID) /* @@ -113,6 +119,9 @@ KiDispatchInterrupt(VOID) KeReleaseSpinLock(&DpcQueueLock, oldlvl); } +/* + * @implemented + */ BOOLEAN STDCALL KeRemoveQueueDpc (PKDPC Dpc) /* @@ -139,6 +148,9 @@ KeRemoveQueueDpc (PKDPC Dpc) return(TRUE); } +/* + * @implemented + */ BOOLEAN STDCALL KeInsertQueueDpc (PKDPC Dpc, PVOID SystemArgument1, @@ -185,6 +197,8 @@ KeInsertQueueDpc (PKDPC Dpc, * Dpc = Initalizes DPC * Importance = DPC importance * RETURNS: None + * + * @implemented */ VOID STDCALL KeSetImportanceDpc (IN PKDPC Dpc, @@ -199,6 +213,8 @@ KeSetImportanceDpc (IN PKDPC Dpc, * Dpc = Initalizes DPC * Number = Processor number * RETURNS: None + * + * @unimplemented */ VOID STDCALL KeSetTargetProcessorDpc (IN PKDPC Dpc, @@ -211,6 +227,8 @@ VOID KeInitDpc(VOID) /* * FUNCTION: Initialize DPC handling + * + * @implemented */ { InitializeListHead(&DpcQueueHead); diff --git a/reactos/ntoskrnl/ke/error.c b/reactos/ntoskrnl/ke/error.c index f0f82a48a7a..878c7f53bf7 100644 --- a/reactos/ntoskrnl/ke/error.c +++ b/reactos/ntoskrnl/ke/error.c @@ -17,6 +17,9 @@ /* FUNCTIONS ***************************************************************/ +/* + * @unimplemented + */ NTSTATUS STDCALL NtRaiseHardError(IN NTSTATUS Status, ULONG Unknown2, @@ -29,6 +32,9 @@ NtRaiseHardError(IN NTSTATUS Status, return(STATUS_SUCCESS); } +/* + * @unimplemented + */ NTSTATUS STDCALL NtSetDefaultHardErrorPort(IN HANDLE PortHandle) { diff --git a/reactos/ntoskrnl/ke/event.c b/reactos/ntoskrnl/ke/event.c index adb7d1ba1b3..95567933941 100644 --- a/reactos/ntoskrnl/ke/event.c +++ b/reactos/ntoskrnl/ke/event.c @@ -19,12 +19,18 @@ /* FUNCTIONS ****************************************************************/ +/* + * @implemented + */ VOID STDCALL KeClearEvent (PKEVENT Event) { DPRINT("KeClearEvent(Event %x)\n", Event); Event->Header.SignalState = FALSE; } +/* + * @implemented + */ VOID STDCALL KeInitializeEvent (PKEVENT Event, EVENT_TYPE Type, BOOLEAN State) @@ -51,16 +57,25 @@ VOID STDCALL KeInitializeEvent (PKEVENT Event, InitializeListHead(&(Event->Header.WaitListHead)); } +/* + * @implemented + */ LONG STDCALL KeReadStateEvent (PKEVENT Event) { return(Event->Header.SignalState); } +/* + * @implemented + */ LONG STDCALL KeResetEvent (PKEVENT Event) { return(InterlockedExchange(&(Event->Header.SignalState),0)); } +/* + * @implemented + */ LONG STDCALL KeSetEvent (PKEVENT Event, KPRIORITY Increment, BOOLEAN Wait) @@ -75,6 +90,9 @@ LONG STDCALL KeSetEvent (PKEVENT Event, return(ret); } +/* + * @implemented + */ NTSTATUS STDCALL KePulseEvent (PKEVENT Event, KPRIORITY Increment, BOOLEAN Wait) diff --git a/reactos/ntoskrnl/ke/kqueue.c b/reactos/ntoskrnl/ke/kqueue.c index 216aed9f615..4cc49bec5d7 100644 --- a/reactos/ntoskrnl/ke/kqueue.c +++ b/reactos/ntoskrnl/ke/kqueue.c @@ -23,6 +23,9 @@ InsertBeforeEntryInList(PLIST_ENTRY Head, PLIST_ENTRY After, PLIST_ENTRY Entry) InsertHeadList(After, Entry); } +/* + * @implemented + */ BOOLEAN STDCALL KeInsertByKeyDeviceQueue (PKDEVICE_QUEUE DeviceQueue, PKDEVICE_QUEUE_ENTRY DeviceQueueEntry, @@ -65,6 +68,9 @@ KeInsertByKeyDeviceQueue (PKDEVICE_QUEUE DeviceQueue, return(TRUE); } +/* + * @implemented + */ PKDEVICE_QUEUE_ENTRY STDCALL KeRemoveByKeyDeviceQueue ( @@ -100,6 +106,9 @@ KeRemoveByKeyDeviceQueue ( return(NULL); } +/* + * @implemented + */ PKDEVICE_QUEUE_ENTRY STDCALL KeRemoveDeviceQueue ( @@ -137,6 +146,9 @@ KeRemoveDeviceQueue ( return(entry); } +/* + * @implemented + */ VOID STDCALL KeInitializeDeviceQueue ( @@ -154,6 +166,9 @@ KeInitializeDeviceQueue ( KeInitializeSpinLock(&DeviceQueue->Lock); } +/* + * @implemented + */ BOOLEAN STDCALL KeInsertDeviceQueue ( @@ -189,6 +204,9 @@ KeInsertDeviceQueue ( } +/* + * @unimplemented + */ BOOLEAN STDCALL KeRemoveEntryDeviceQueue(PKDEVICE_QUEUE DeviceQueue, PKDEVICE_QUEUE_ENTRY DeviceQueueEntry) diff --git a/reactos/ntoskrnl/ke/kthread.c b/reactos/ntoskrnl/ke/kthread.c index 60047667102..561c68561aa 100644 --- a/reactos/ntoskrnl/ke/kthread.c +++ b/reactos/ntoskrnl/ke/kthread.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: kthread.c,v 1.39 2003/06/16 16:45:52 ekohl Exp $ +/* $Id: kthread.c,v 1.40 2003/07/10 17:44:06 royce Exp $ * * FILE: ntoskrnl/ke/kthread.c * PURPOSE: Microkernel thread support @@ -240,6 +240,9 @@ KeInitializeThread(PKPROCESS Process, PKTHREAD Thread, BOOLEAN First) */ } +/* + * @implemented + */ VOID STDCALL KeRescheduleThread() { diff --git a/reactos/ntoskrnl/ke/mutex.c b/reactos/ntoskrnl/ke/mutex.c index 62a5bab2a25..478beefddf5 100644 --- a/reactos/ntoskrnl/ke/mutex.c +++ b/reactos/ntoskrnl/ke/mutex.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: mutex.c,v 1.12 2002/09/08 10:23:29 chorns Exp $ +/* $Id: mutex.c,v 1.13 2003/07/10 17:44:06 royce Exp $ * * PROJECT: ReactOS kernel * FILE: ntoskrnl/ke/mutex.c @@ -37,6 +37,9 @@ /* FUNCTIONS *****************************************************************/ +/* + * @implemented + */ VOID STDCALL KeInitializeMutex(IN PKMUTEX Mutex, IN ULONG Level) @@ -52,12 +55,18 @@ KeInitializeMutex(IN PKMUTEX Mutex, Mutex->ApcDisable = 1; } +/* + * @implemented + */ LONG STDCALL KeReadStateMutex(IN PKMUTEX Mutex) { return(Mutex->Header.SignalState); } +/* + * @implemented + */ LONG STDCALL KeReleaseMutex(IN PKMUTEX Mutex, IN BOOLEAN Wait) @@ -81,6 +90,9 @@ KeReleaseMutex(IN PKMUTEX Mutex, return(0); } +/* + * @implemented + */ NTSTATUS STDCALL KeWaitForMutexObject(IN PKMUTEX Mutex, IN KWAIT_REASON WaitReason, @@ -92,6 +104,9 @@ KeWaitForMutexObject(IN PKMUTEX Mutex, } +/* + * @implemented + */ VOID STDCALL KeInitializeMutant(IN PKMUTANT Mutant, IN BOOLEAN InitialOwner) @@ -120,12 +135,18 @@ KeInitializeMutant(IN PKMUTANT Mutant, Mutant->ApcDisable = 0; } +/* + * @implemented + */ LONG STDCALL KeReadStateMutant(IN PKMUTANT Mutant) { return(Mutant->Header.SignalState); } +/* + * @implemented + */ LONG STDCALL KeReleaseMutant(IN PKMUTANT Mutant, IN KPRIORITY Increment, diff --git a/reactos/ntoskrnl/ke/process.c b/reactos/ntoskrnl/ke/process.c index a2974a468b5..a5da5e3e218 100644 --- a/reactos/ntoskrnl/ke/process.c +++ b/reactos/ntoskrnl/ke/process.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: process.c,v 1.14 2003/06/01 19:50:04 hbirr Exp $ +/* $Id: process.c,v 1.15 2003/07/10 17:44:06 royce Exp $ * * PROJECT: ReactOS kernel * FILE: ntoskrnl/ke/process.c @@ -39,6 +39,9 @@ /* FUNCTIONS *****************************************************************/ +/* + * @implemented + */ VOID STDCALL KeAttachProcess (PEPROCESS Process) { @@ -84,6 +87,9 @@ KeAttachProcess (PEPROCESS Process) KeLowerIrql(oldlvl); } +/* + * @implemented + */ VOID STDCALL KeDetachProcess (VOID) { diff --git a/reactos/ntoskrnl/ke/queue.c b/reactos/ntoskrnl/ke/queue.c index 91c65135c53..da43726a7c0 100644 --- a/reactos/ntoskrnl/ke/queue.c +++ b/reactos/ntoskrnl/ke/queue.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: queue.c,v 1.6 2003/06/07 11:34:36 chorns Exp $ +/* $Id: queue.c,v 1.7 2003/07/10 17:44:06 royce Exp $ * * PROJECT: ReactOS kernel * FILE: ntoskrnl/ke/queue.c @@ -38,6 +38,9 @@ /* FUNCTIONS *****************************************************************/ +/* + * @implemented + */ VOID STDCALL KeInitializeQueue(IN PKQUEUE Queue, IN ULONG Count OPTIONAL) @@ -53,6 +56,9 @@ KeInitializeQueue(IN PKQUEUE Queue, } +/* + * @implemented + */ LONG STDCALL KeReadStateQueue(IN PKQUEUE Queue) { @@ -60,6 +66,9 @@ KeReadStateQueue(IN PKQUEUE Queue) } +/* + * @implemented + */ LONG STDCALL KiInsertQueue( IN PKQUEUE Queue, @@ -96,6 +105,9 @@ KiInsertQueue( +/* + * @implemented + */ LONG STDCALL KeInsertHeadQueue(IN PKQUEUE Queue, IN PLIST_ENTRY Entry) @@ -104,6 +116,9 @@ KeInsertHeadQueue(IN PKQUEUE Queue, } +/* + * @implemented + */ LONG STDCALL KeInsertQueue(IN PKQUEUE Queue, IN PLIST_ENTRY Entry) @@ -112,6 +127,9 @@ KeInsertQueue(IN PKQUEUE Queue, } +/* + * @implemented + */ PLIST_ENTRY STDCALL KeRemoveQueue(IN PKQUEUE Queue, IN KPROCESSOR_MODE WaitMode, @@ -170,6 +188,9 @@ KeRemoveQueue(IN PKQUEUE Queue, } +/* + * @implemented + */ PLIST_ENTRY STDCALL KeRundownQueue(IN PKQUEUE Queue) { diff --git a/reactos/ntoskrnl/ke/sem.c b/reactos/ntoskrnl/ke/sem.c index 6d366a8a3c7..699b134241e 100644 --- a/reactos/ntoskrnl/ke/sem.c +++ b/reactos/ntoskrnl/ke/sem.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: sem.c,v 1.12 2002/11/10 18:17:41 chorns Exp $ +/* $Id: sem.c,v 1.13 2003/07/10 17:44:06 royce Exp $ * * PROJECT: ReactOS kernel * FILE: ntoskrnl/ke/sem.c @@ -37,6 +37,9 @@ /* FUNCTIONS *****************************************************************/ +/* + * @implemented + */ VOID STDCALL KeInitializeSemaphore (PKSEMAPHORE Semaphore, LONG Count, @@ -49,12 +52,18 @@ KeInitializeSemaphore (PKSEMAPHORE Semaphore, Semaphore->Limit=Limit; } +/* + * @implemented + */ LONG STDCALL KeReadStateSemaphore (PKSEMAPHORE Semaphore) { return(Semaphore->Header.SignalState); } +/* + * @implemented + */ LONG STDCALL KeReleaseSemaphore (PKSEMAPHORE Semaphore, KPRIORITY Increment, diff --git a/reactos/ntoskrnl/ke/spinlock.c b/reactos/ntoskrnl/ke/spinlock.c index b28a16e65e5..1a20b8ff429 100644 --- a/reactos/ntoskrnl/ke/spinlock.c +++ b/reactos/ntoskrnl/ke/spinlock.c @@ -1,4 +1,4 @@ -/* $Id: spinlock.c,v 1.16 2003/06/07 11:34:36 chorns Exp $ +/* $Id: spinlock.c,v 1.17 2003/07/10 17:44:06 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -23,6 +23,9 @@ /* FUNCTIONS ***************************************************************/ +/* + * @implemented + */ BOOLEAN STDCALL KeSynchronizeExecution (PKINTERRUPT Interrupt, PKSYNCHRONIZE_ROUTINE SynchronizeRoutine, @@ -52,6 +55,9 @@ KeSynchronizeExecution (PKINTERRUPT Interrupt, return(ret); } +/* + * @implemented + */ VOID STDCALL KeInitializeSpinLock (PKSPIN_LOCK SpinLock) /* @@ -65,6 +71,9 @@ KeInitializeSpinLock (PKSPIN_LOCK SpinLock) #undef KeAcquireSpinLockAtDpcLevel +/* + * @implemented + */ VOID STDCALL KeAcquireSpinLockAtDpcLevel (PKSPIN_LOCK SpinLock) /* @@ -99,6 +108,9 @@ KeAcquireSpinLockAtDpcLevel (PKSPIN_LOCK SpinLock) #undef KeReleaseSpinLockFromDpcLevel +/* + * @implemented + */ VOID STDCALL KeReleaseSpinLockFromDpcLevel (PKSPIN_LOCK SpinLock) /* diff --git a/reactos/ntoskrnl/ke/timer.c b/reactos/ntoskrnl/ke/timer.c index 1a5ce7cac5e..cde10f6f909 100644 --- a/reactos/ntoskrnl/ke/timer.c +++ b/reactos/ntoskrnl/ke/timer.c @@ -1,4 +1,4 @@ -/* $Id: timer.c,v 1.58 2003/07/09 20:17:47 hbirr Exp $ +/* $Id: timer.c,v 1.59 2003/07/10 17:44:06 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -75,6 +75,9 @@ static BOOLEAN TimerInitDone = FALSE; /* FUNCTIONS **************************************************************/ +/* + * @unimplemented + */ NTSTATUS STDCALL NtQueryTimerResolution(OUT PULONG MinimumResolution, OUT PULONG MaximumResolution, @@ -84,6 +87,9 @@ NtQueryTimerResolution(OUT PULONG MinimumResolution, } +/* + * @unimplemented + */ NTSTATUS STDCALL NtSetTimerResolution(IN ULONG RequestedResolution, IN BOOL SetOrUnset, @@ -93,6 +99,9 @@ NtSetTimerResolution(IN ULONG RequestedResolution, } +/* + * @implemented + */ NTSTATUS STDCALL NtQueryPerformanceCounter(IN PLARGE_INTEGER Counter, IN PLARGE_INTEGER Frequency) @@ -112,6 +121,9 @@ NtQueryPerformanceCounter(IN PLARGE_INTEGER Counter, } +/* + * @implemented + */ NTSTATUS STDCALL NtDelayExecution(IN ULONG Alertable, IN TIME* Interval) @@ -130,6 +142,9 @@ NtDelayExecution(IN ULONG Alertable, } +/* + * @implemented + */ NTSTATUS STDCALL KeDelayExecutionThread (KPROCESSOR_MODE WaitMode, BOOLEAN Alertable, @@ -156,6 +171,9 @@ KeDelayExecutionThread (KPROCESSOR_MODE WaitMode, } +/* + * @implemented + */ ULONG STDCALL KeQueryTimeIncrement(VOID) /* @@ -168,6 +186,9 @@ KeQueryTimeIncrement(VOID) } +/* + * @implemented + */ VOID STDCALL KeQuerySystemTime(PLARGE_INTEGER CurrentTime) /* @@ -187,6 +208,9 @@ KeQuerySystemTime(PLARGE_INTEGER CurrentTime) } +/* + * @implemented + */ NTSTATUS STDCALL NtGetTickCount (PULONG UpTime) { @@ -199,6 +223,9 @@ NtGetTickCount (PULONG UpTime) } +/* + * @implemented + */ BOOLEAN STDCALL KeSetTimer (PKTIMER Timer, LARGE_INTEGER DueTime, @@ -219,6 +246,9 @@ KeSetTimer (PKTIMER Timer, return(KeSetTimerEx(Timer, DueTime, 0, Dpc)); } +/* + * @implemented + */ BOOLEAN STDCALL KeSetTimerEx (PKTIMER Timer, LARGE_INTEGER DueTime, @@ -273,6 +303,9 @@ KeSetTimerEx (PKTIMER Timer, return(FALSE); } +/* + * @implemented + */ BOOLEAN STDCALL KeCancelTimer (PKTIMER Timer) /* @@ -301,12 +334,18 @@ KeCancelTimer (PKTIMER Timer) return(TRUE); } +/* + * @implemented + */ BOOLEAN STDCALL KeReadStateTimer (PKTIMER Timer) { return(Timer->Header.SignalState); } +/* + * @implemented + */ VOID STDCALL KeInitializeTimer (PKTIMER Timer) /* @@ -319,6 +358,9 @@ KeInitializeTimer (PKTIMER Timer) KeInitializeTimerEx(Timer, NotificationTimer); } +/* + * @implemented + */ VOID STDCALL KeInitializeTimerEx (PKTIMER Timer, TIMER_TYPE Type) @@ -356,6 +398,9 @@ KeInitializeTimerEx (PKTIMER Timer, Timer->TimerListEntry.Flink = Timer->TimerListEntry.Blink = NULL; } +/* + * @implemented + */ VOID STDCALL KeQueryTickCount(PLARGE_INTEGER TickCount) /* @@ -367,6 +412,9 @@ KeQueryTickCount(PLARGE_INTEGER TickCount) TickCount->QuadPart = KeTickCount; } +/* + * @implemented + */ STATIC VOID HandleExpiredTimer(PKTIMER current) { @@ -396,6 +444,9 @@ HandleExpiredTimer(PKTIMER current) } } +/* + * @implemented + */ VOID STDCALL KeExpireTimers(PKDPC Dpc, PVOID Context1, diff --git a/reactos/ntoskrnl/ke/wait.c b/reactos/ntoskrnl/ke/wait.c index 95878b4bc8a..6f9f5404c48 100644 --- a/reactos/ntoskrnl/ke/wait.c +++ b/reactos/ntoskrnl/ke/wait.c @@ -378,6 +378,9 @@ BOOLEAN KeDispatcherObjectWake(DISPATCHER_HEADER* hdr) } +/* + * @implemented + */ NTSTATUS STDCALL KeWaitForSingleObject(PVOID Object, KWAIT_REASON WaitReason, @@ -423,6 +426,9 @@ KiGetWaitableObjectFromObject(PVOID Object) } +/* + * @implemented + */ NTSTATUS STDCALL KeWaitForMultipleObjects(ULONG Count, PVOID Object[], @@ -668,6 +674,9 @@ VOID KeInitializeDispatcher(VOID) KeInitializeSpinLock(&DispatcherDatabaseLock); } +/* + * @implemented + */ NTSTATUS STDCALL NtWaitForMultipleObjects(IN ULONG Count, IN HANDLE Object [], @@ -729,6 +738,9 @@ NtWaitForMultipleObjects(IN ULONG Count, } +/* + * @implemented + */ NTSTATUS STDCALL NtWaitForSingleObject(IN HANDLE Object, IN BOOLEAN Alertable, @@ -766,6 +778,9 @@ NtWaitForSingleObject(IN HANDLE Object, } +/* + * @implemented + */ NTSTATUS STDCALL NtSignalAndWaitForSingleObject(IN HANDLE SignalObject, IN HANDLE WaitObject,