mirror of
https://github.com/reactos/reactos.git
synced 2024-11-27 13:33:32 +08:00
@implemented and @unimplemented comments for ntoskrnl/ke/*.c
svn path=/trunk/; revision=5044
This commit is contained in:
parent
0ef97879a2
commit
7fc8c17d16
@ -236,6 +236,9 @@ KiDeliverUserApc(PKTRAP_FRAME TrapFrame)
|
|||||||
return(TRUE);
|
return(TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
VOID STDCALL
|
VOID STDCALL
|
||||||
KiDeliverApc(ULONG Unknown1,
|
KiDeliverApc(ULONG Unknown1,
|
||||||
ULONG Unknown2,
|
ULONG Unknown2,
|
||||||
@ -287,6 +290,9 @@ KiDeliverApc(ULONG Unknown1,
|
|||||||
KeReleaseSpinLock(&PiApcLock, oldlvl);
|
KeReleaseSpinLock(&PiApcLock, oldlvl);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
BOOLEAN STDCALL
|
BOOLEAN STDCALL
|
||||||
KeInsertQueueApc (PKAPC Apc,
|
KeInsertQueueApc (PKAPC Apc,
|
||||||
PVOID SystemArgument1,
|
PVOID SystemArgument1,
|
||||||
@ -401,6 +407,9 @@ KeInsertQueueApc (PKAPC Apc,
|
|||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
BOOLEAN STDCALL
|
BOOLEAN STDCALL
|
||||||
KeRemoveQueueApc (PKAPC Apc)
|
KeRemoveQueueApc (PKAPC Apc)
|
||||||
/*
|
/*
|
||||||
@ -440,6 +449,9 @@ KeRemoveQueueApc (PKAPC Apc)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
VOID STDCALL
|
VOID STDCALL
|
||||||
KeInitializeApc(
|
KeInitializeApc(
|
||||||
IN PKAPC Apc,
|
IN PKAPC Apc,
|
||||||
@ -500,12 +512,18 @@ KeInitializeApc(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
VOID STDCALL
|
VOID STDCALL
|
||||||
NtQueueApcRundownRoutine(PKAPC Apc)
|
NtQueueApcRundownRoutine(PKAPC Apc)
|
||||||
{
|
{
|
||||||
ExFreePool(Apc);
|
ExFreePool(Apc);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
VOID STDCALL
|
VOID STDCALL
|
||||||
NtQueueApcKernelRoutine(PKAPC Apc,
|
NtQueueApcKernelRoutine(PKAPC Apc,
|
||||||
PKNORMAL_ROUTINE* NormalRoutine,
|
PKNORMAL_ROUTINE* NormalRoutine,
|
||||||
@ -516,6 +534,9 @@ NtQueueApcKernelRoutine(PKAPC Apc,
|
|||||||
ExFreePool(Apc);
|
ExFreePool(Apc);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS STDCALL
|
||||||
NtQueueApcThread(HANDLE ThreadHandle,
|
NtQueueApcThread(HANDLE ThreadHandle,
|
||||||
PKNORMAL_ROUTINE ApcRoutine,
|
PKNORMAL_ROUTINE ApcRoutine,
|
||||||
@ -563,6 +584,9 @@ NtQueueApcThread(HANDLE ThreadHandle,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
NTSTATUS STDCALL NtTestAlert(VOID)
|
NTSTATUS STDCALL NtTestAlert(VOID)
|
||||||
{
|
{
|
||||||
KiTestAlert();
|
KiTestAlert();
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* 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
|
* PROJECT: ReactOS kernel
|
||||||
* FILE: ntoskrnl/ke/bug.c
|
* FILE: ntoskrnl/ke/bug.c
|
||||||
@ -53,6 +53,9 @@ KeInitializeBugCheck(VOID)
|
|||||||
InBugCheck = 0;
|
InBugCheck = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @unimplemented
|
||||||
|
*/
|
||||||
BOOLEAN STDCALL
|
BOOLEAN STDCALL
|
||||||
KeDeregisterBugCheckCallback(PKBUGCHECK_CALLBACK_RECORD CallbackRecord)
|
KeDeregisterBugCheckCallback(PKBUGCHECK_CALLBACK_RECORD CallbackRecord)
|
||||||
{
|
{
|
||||||
@ -60,6 +63,9 @@ KeDeregisterBugCheckCallback(PKBUGCHECK_CALLBACK_RECORD CallbackRecord)
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
BOOLEAN STDCALL
|
BOOLEAN STDCALL
|
||||||
KeRegisterBugCheckCallback(PKBUGCHECK_CALLBACK_RECORD CallbackRecord,
|
KeRegisterBugCheckCallback(PKBUGCHECK_CALLBACK_RECORD CallbackRecord,
|
||||||
PKBUGCHECK_CALLBACK_ROUTINE CallbackRoutine,
|
PKBUGCHECK_CALLBACK_ROUTINE CallbackRoutine,
|
||||||
@ -75,6 +81,9 @@ KeRegisterBugCheckCallback(PKBUGCHECK_CALLBACK_RECORD CallbackRecord,
|
|||||||
return(TRUE);
|
return(TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
VOID STDCALL
|
VOID STDCALL
|
||||||
KeBugCheckWithTf(ULONG BugCheckCode,
|
KeBugCheckWithTf(ULONG BugCheckCode,
|
||||||
ULONG BugCheckParameter1,
|
ULONG BugCheckParameter1,
|
||||||
@ -142,6 +151,9 @@ KeBugCheckWithTf(ULONG BugCheckCode,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
VOID STDCALL
|
VOID STDCALL
|
||||||
KeBugCheckEx(ULONG BugCheckCode,
|
KeBugCheckEx(ULONG BugCheckCode,
|
||||||
ULONG BugCheckParameter1,
|
ULONG BugCheckParameter1,
|
||||||
@ -227,6 +239,9 @@ KeBugCheckEx(ULONG BugCheckCode,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
VOID STDCALL
|
VOID STDCALL
|
||||||
KeBugCheck(ULONG BugCheckCode)
|
KeBugCheck(ULONG BugCheckCode)
|
||||||
/*
|
/*
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* 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
|
* PROJECT: ReactOS kernel
|
||||||
* FILE: ntoskrnl/ke/catch.c
|
* FILE: ntoskrnl/ke/catch.c
|
||||||
@ -157,18 +157,27 @@ KiDispatchException(PEXCEPTION_RECORD ExceptionRecord,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
VOID STDCALL
|
VOID STDCALL
|
||||||
ExRaiseAccessViolation (VOID)
|
ExRaiseAccessViolation (VOID)
|
||||||
{
|
{
|
||||||
ExRaiseStatus (STATUS_ACCESS_VIOLATION);
|
ExRaiseStatus (STATUS_ACCESS_VIOLATION);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
VOID STDCALL
|
VOID STDCALL
|
||||||
ExRaiseDatatypeMisalignment (VOID)
|
ExRaiseDatatypeMisalignment (VOID)
|
||||||
{
|
{
|
||||||
ExRaiseStatus (STATUS_DATATYPE_MISALIGNMENT);
|
ExRaiseStatus (STATUS_DATATYPE_MISALIGNMENT);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
VOID STDCALL
|
VOID STDCALL
|
||||||
ExRaiseStatus (IN NTSTATUS Status)
|
ExRaiseStatus (IN NTSTATUS Status)
|
||||||
{
|
{
|
||||||
@ -185,6 +194,9 @@ ExRaiseStatus (IN NTSTATUS Status)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS STDCALL
|
||||||
NtRaiseException (IN PEXCEPTION_RECORD ExceptionRecord,
|
NtRaiseException (IN PEXCEPTION_RECORD ExceptionRecord,
|
||||||
IN PCONTEXT Context,
|
IN PCONTEXT Context,
|
||||||
@ -199,6 +211,9 @@ NtRaiseException (IN PEXCEPTION_RECORD ExceptionRecord,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
VOID STDCALL
|
VOID STDCALL
|
||||||
RtlRaiseException(PEXCEPTION_RECORD ExceptionRecord)
|
RtlRaiseException(PEXCEPTION_RECORD ExceptionRecord)
|
||||||
{
|
{
|
||||||
|
@ -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
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
@ -19,12 +19,18 @@
|
|||||||
|
|
||||||
/* FUNCTIONS *****************************************************************/
|
/* FUNCTIONS *****************************************************************/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
VOID STDCALL KeEnterCriticalRegion (VOID)
|
VOID STDCALL KeEnterCriticalRegion (VOID)
|
||||||
{
|
{
|
||||||
DPRINT("KeEnterCriticalRegion()\n");
|
DPRINT("KeEnterCriticalRegion()\n");
|
||||||
KeGetCurrentThread()->KernelApcDisable -= 1;
|
KeGetCurrentThread()->KernelApcDisable -= 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
VOID STDCALL KeLeaveCriticalRegion (VOID)
|
VOID STDCALL KeLeaveCriticalRegion (VOID)
|
||||||
{
|
{
|
||||||
DPRINT("KeLeaveCriticalRegion()\n");
|
DPRINT("KeLeaveCriticalRegion()\n");
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* 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
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
@ -57,6 +57,9 @@ ULONG DpcQueueSize = 0;
|
|||||||
|
|
||||||
/* FUNCTIONS ****************************************************************/
|
/* FUNCTIONS ****************************************************************/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
VOID STDCALL
|
VOID STDCALL
|
||||||
KeInitializeDpc (PKDPC Dpc,
|
KeInitializeDpc (PKDPC Dpc,
|
||||||
PKDEFERRED_ROUTINE DeferredRoutine,
|
PKDEFERRED_ROUTINE DeferredRoutine,
|
||||||
@ -76,6 +79,9 @@ KeInitializeDpc (PKDPC Dpc,
|
|||||||
Dpc->Lock = 0;
|
Dpc->Lock = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
VOID STDCALL
|
VOID STDCALL
|
||||||
KiDispatchInterrupt(VOID)
|
KiDispatchInterrupt(VOID)
|
||||||
/*
|
/*
|
||||||
@ -113,6 +119,9 @@ KiDispatchInterrupt(VOID)
|
|||||||
KeReleaseSpinLock(&DpcQueueLock, oldlvl);
|
KeReleaseSpinLock(&DpcQueueLock, oldlvl);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
BOOLEAN STDCALL
|
BOOLEAN STDCALL
|
||||||
KeRemoveQueueDpc (PKDPC Dpc)
|
KeRemoveQueueDpc (PKDPC Dpc)
|
||||||
/*
|
/*
|
||||||
@ -139,6 +148,9 @@ KeRemoveQueueDpc (PKDPC Dpc)
|
|||||||
return(TRUE);
|
return(TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
BOOLEAN STDCALL
|
BOOLEAN STDCALL
|
||||||
KeInsertQueueDpc (PKDPC Dpc,
|
KeInsertQueueDpc (PKDPC Dpc,
|
||||||
PVOID SystemArgument1,
|
PVOID SystemArgument1,
|
||||||
@ -185,6 +197,8 @@ KeInsertQueueDpc (PKDPC Dpc,
|
|||||||
* Dpc = Initalizes DPC
|
* Dpc = Initalizes DPC
|
||||||
* Importance = DPC importance
|
* Importance = DPC importance
|
||||||
* RETURNS: None
|
* RETURNS: None
|
||||||
|
*
|
||||||
|
* @implemented
|
||||||
*/
|
*/
|
||||||
VOID STDCALL
|
VOID STDCALL
|
||||||
KeSetImportanceDpc (IN PKDPC Dpc,
|
KeSetImportanceDpc (IN PKDPC Dpc,
|
||||||
@ -199,6 +213,8 @@ KeSetImportanceDpc (IN PKDPC Dpc,
|
|||||||
* Dpc = Initalizes DPC
|
* Dpc = Initalizes DPC
|
||||||
* Number = Processor number
|
* Number = Processor number
|
||||||
* RETURNS: None
|
* RETURNS: None
|
||||||
|
*
|
||||||
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
VOID STDCALL
|
VOID STDCALL
|
||||||
KeSetTargetProcessorDpc (IN PKDPC Dpc,
|
KeSetTargetProcessorDpc (IN PKDPC Dpc,
|
||||||
@ -211,6 +227,8 @@ VOID
|
|||||||
KeInitDpc(VOID)
|
KeInitDpc(VOID)
|
||||||
/*
|
/*
|
||||||
* FUNCTION: Initialize DPC handling
|
* FUNCTION: Initialize DPC handling
|
||||||
|
*
|
||||||
|
* @implemented
|
||||||
*/
|
*/
|
||||||
{
|
{
|
||||||
InitializeListHead(&DpcQueueHead);
|
InitializeListHead(&DpcQueueHead);
|
||||||
|
@ -17,6 +17,9 @@
|
|||||||
|
|
||||||
/* FUNCTIONS ***************************************************************/
|
/* FUNCTIONS ***************************************************************/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @unimplemented
|
||||||
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS STDCALL
|
||||||
NtRaiseHardError(IN NTSTATUS Status,
|
NtRaiseHardError(IN NTSTATUS Status,
|
||||||
ULONG Unknown2,
|
ULONG Unknown2,
|
||||||
@ -29,6 +32,9 @@ NtRaiseHardError(IN NTSTATUS Status,
|
|||||||
return(STATUS_SUCCESS);
|
return(STATUS_SUCCESS);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @unimplemented
|
||||||
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS STDCALL
|
||||||
NtSetDefaultHardErrorPort(IN HANDLE PortHandle)
|
NtSetDefaultHardErrorPort(IN HANDLE PortHandle)
|
||||||
{
|
{
|
||||||
|
@ -19,12 +19,18 @@
|
|||||||
|
|
||||||
/* FUNCTIONS ****************************************************************/
|
/* FUNCTIONS ****************************************************************/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
VOID STDCALL KeClearEvent (PKEVENT Event)
|
VOID STDCALL KeClearEvent (PKEVENT Event)
|
||||||
{
|
{
|
||||||
DPRINT("KeClearEvent(Event %x)\n", Event);
|
DPRINT("KeClearEvent(Event %x)\n", Event);
|
||||||
Event->Header.SignalState = FALSE;
|
Event->Header.SignalState = FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
VOID STDCALL KeInitializeEvent (PKEVENT Event,
|
VOID STDCALL KeInitializeEvent (PKEVENT Event,
|
||||||
EVENT_TYPE Type,
|
EVENT_TYPE Type,
|
||||||
BOOLEAN State)
|
BOOLEAN State)
|
||||||
@ -51,16 +57,25 @@ VOID STDCALL KeInitializeEvent (PKEVENT Event,
|
|||||||
InitializeListHead(&(Event->Header.WaitListHead));
|
InitializeListHead(&(Event->Header.WaitListHead));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
LONG STDCALL KeReadStateEvent (PKEVENT Event)
|
LONG STDCALL KeReadStateEvent (PKEVENT Event)
|
||||||
{
|
{
|
||||||
return(Event->Header.SignalState);
|
return(Event->Header.SignalState);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
LONG STDCALL KeResetEvent (PKEVENT Event)
|
LONG STDCALL KeResetEvent (PKEVENT Event)
|
||||||
{
|
{
|
||||||
return(InterlockedExchange(&(Event->Header.SignalState),0));
|
return(InterlockedExchange(&(Event->Header.SignalState),0));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
LONG STDCALL KeSetEvent (PKEVENT Event,
|
LONG STDCALL KeSetEvent (PKEVENT Event,
|
||||||
KPRIORITY Increment,
|
KPRIORITY Increment,
|
||||||
BOOLEAN Wait)
|
BOOLEAN Wait)
|
||||||
@ -75,6 +90,9 @@ LONG STDCALL KeSetEvent (PKEVENT Event,
|
|||||||
return(ret);
|
return(ret);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
NTSTATUS STDCALL KePulseEvent (PKEVENT Event,
|
NTSTATUS STDCALL KePulseEvent (PKEVENT Event,
|
||||||
KPRIORITY Increment,
|
KPRIORITY Increment,
|
||||||
BOOLEAN Wait)
|
BOOLEAN Wait)
|
||||||
|
@ -23,6 +23,9 @@ InsertBeforeEntryInList(PLIST_ENTRY Head, PLIST_ENTRY After, PLIST_ENTRY Entry)
|
|||||||
InsertHeadList(After, Entry);
|
InsertHeadList(After, Entry);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
BOOLEAN STDCALL
|
BOOLEAN STDCALL
|
||||||
KeInsertByKeyDeviceQueue (PKDEVICE_QUEUE DeviceQueue,
|
KeInsertByKeyDeviceQueue (PKDEVICE_QUEUE DeviceQueue,
|
||||||
PKDEVICE_QUEUE_ENTRY DeviceQueueEntry,
|
PKDEVICE_QUEUE_ENTRY DeviceQueueEntry,
|
||||||
@ -65,6 +68,9 @@ KeInsertByKeyDeviceQueue (PKDEVICE_QUEUE DeviceQueue,
|
|||||||
return(TRUE);
|
return(TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
PKDEVICE_QUEUE_ENTRY
|
PKDEVICE_QUEUE_ENTRY
|
||||||
STDCALL
|
STDCALL
|
||||||
KeRemoveByKeyDeviceQueue (
|
KeRemoveByKeyDeviceQueue (
|
||||||
@ -100,6 +106,9 @@ KeRemoveByKeyDeviceQueue (
|
|||||||
return(NULL);
|
return(NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
PKDEVICE_QUEUE_ENTRY
|
PKDEVICE_QUEUE_ENTRY
|
||||||
STDCALL
|
STDCALL
|
||||||
KeRemoveDeviceQueue (
|
KeRemoveDeviceQueue (
|
||||||
@ -137,6 +146,9 @@ KeRemoveDeviceQueue (
|
|||||||
return(entry);
|
return(entry);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
VOID
|
VOID
|
||||||
STDCALL
|
STDCALL
|
||||||
KeInitializeDeviceQueue (
|
KeInitializeDeviceQueue (
|
||||||
@ -154,6 +166,9 @@ KeInitializeDeviceQueue (
|
|||||||
KeInitializeSpinLock(&DeviceQueue->Lock);
|
KeInitializeSpinLock(&DeviceQueue->Lock);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
STDCALL
|
STDCALL
|
||||||
KeInsertDeviceQueue (
|
KeInsertDeviceQueue (
|
||||||
@ -189,6 +204,9 @@ KeInsertDeviceQueue (
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @unimplemented
|
||||||
|
*/
|
||||||
BOOLEAN STDCALL
|
BOOLEAN STDCALL
|
||||||
KeRemoveEntryDeviceQueue(PKDEVICE_QUEUE DeviceQueue,
|
KeRemoveEntryDeviceQueue(PKDEVICE_QUEUE DeviceQueue,
|
||||||
PKDEVICE_QUEUE_ENTRY DeviceQueueEntry)
|
PKDEVICE_QUEUE_ENTRY DeviceQueueEntry)
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* 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
|
* FILE: ntoskrnl/ke/kthread.c
|
||||||
* PURPOSE: Microkernel thread support
|
* PURPOSE: Microkernel thread support
|
||||||
@ -240,6 +240,9 @@ KeInitializeThread(PKPROCESS Process, PKTHREAD Thread, BOOLEAN First)
|
|||||||
*/
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
VOID STDCALL
|
VOID STDCALL
|
||||||
KeRescheduleThread()
|
KeRescheduleThread()
|
||||||
{
|
{
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* 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
|
* PROJECT: ReactOS kernel
|
||||||
* FILE: ntoskrnl/ke/mutex.c
|
* FILE: ntoskrnl/ke/mutex.c
|
||||||
@ -37,6 +37,9 @@
|
|||||||
|
|
||||||
/* FUNCTIONS *****************************************************************/
|
/* FUNCTIONS *****************************************************************/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
VOID STDCALL
|
VOID STDCALL
|
||||||
KeInitializeMutex(IN PKMUTEX Mutex,
|
KeInitializeMutex(IN PKMUTEX Mutex,
|
||||||
IN ULONG Level)
|
IN ULONG Level)
|
||||||
@ -52,12 +55,18 @@ KeInitializeMutex(IN PKMUTEX Mutex,
|
|||||||
Mutex->ApcDisable = 1;
|
Mutex->ApcDisable = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
LONG STDCALL
|
LONG STDCALL
|
||||||
KeReadStateMutex(IN PKMUTEX Mutex)
|
KeReadStateMutex(IN PKMUTEX Mutex)
|
||||||
{
|
{
|
||||||
return(Mutex->Header.SignalState);
|
return(Mutex->Header.SignalState);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
LONG STDCALL
|
LONG STDCALL
|
||||||
KeReleaseMutex(IN PKMUTEX Mutex,
|
KeReleaseMutex(IN PKMUTEX Mutex,
|
||||||
IN BOOLEAN Wait)
|
IN BOOLEAN Wait)
|
||||||
@ -81,6 +90,9 @@ KeReleaseMutex(IN PKMUTEX Mutex,
|
|||||||
return(0);
|
return(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS STDCALL
|
||||||
KeWaitForMutexObject(IN PKMUTEX Mutex,
|
KeWaitForMutexObject(IN PKMUTEX Mutex,
|
||||||
IN KWAIT_REASON WaitReason,
|
IN KWAIT_REASON WaitReason,
|
||||||
@ -92,6 +104,9 @@ KeWaitForMutexObject(IN PKMUTEX Mutex,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
VOID STDCALL
|
VOID STDCALL
|
||||||
KeInitializeMutant(IN PKMUTANT Mutant,
|
KeInitializeMutant(IN PKMUTANT Mutant,
|
||||||
IN BOOLEAN InitialOwner)
|
IN BOOLEAN InitialOwner)
|
||||||
@ -120,12 +135,18 @@ KeInitializeMutant(IN PKMUTANT Mutant,
|
|||||||
Mutant->ApcDisable = 0;
|
Mutant->ApcDisable = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
LONG STDCALL
|
LONG STDCALL
|
||||||
KeReadStateMutant(IN PKMUTANT Mutant)
|
KeReadStateMutant(IN PKMUTANT Mutant)
|
||||||
{
|
{
|
||||||
return(Mutant->Header.SignalState);
|
return(Mutant->Header.SignalState);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
LONG STDCALL
|
LONG STDCALL
|
||||||
KeReleaseMutant(IN PKMUTANT Mutant,
|
KeReleaseMutant(IN PKMUTANT Mutant,
|
||||||
IN KPRIORITY Increment,
|
IN KPRIORITY Increment,
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* 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
|
* PROJECT: ReactOS kernel
|
||||||
* FILE: ntoskrnl/ke/process.c
|
* FILE: ntoskrnl/ke/process.c
|
||||||
@ -39,6 +39,9 @@
|
|||||||
|
|
||||||
/* FUNCTIONS *****************************************************************/
|
/* FUNCTIONS *****************************************************************/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
VOID STDCALL
|
VOID STDCALL
|
||||||
KeAttachProcess (PEPROCESS Process)
|
KeAttachProcess (PEPROCESS Process)
|
||||||
{
|
{
|
||||||
@ -84,6 +87,9 @@ KeAttachProcess (PEPROCESS Process)
|
|||||||
KeLowerIrql(oldlvl);
|
KeLowerIrql(oldlvl);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
VOID STDCALL
|
VOID STDCALL
|
||||||
KeDetachProcess (VOID)
|
KeDetachProcess (VOID)
|
||||||
{
|
{
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* 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
|
* PROJECT: ReactOS kernel
|
||||||
* FILE: ntoskrnl/ke/queue.c
|
* FILE: ntoskrnl/ke/queue.c
|
||||||
@ -38,6 +38,9 @@
|
|||||||
|
|
||||||
/* FUNCTIONS *****************************************************************/
|
/* FUNCTIONS *****************************************************************/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
VOID STDCALL
|
VOID STDCALL
|
||||||
KeInitializeQueue(IN PKQUEUE Queue,
|
KeInitializeQueue(IN PKQUEUE Queue,
|
||||||
IN ULONG Count OPTIONAL)
|
IN ULONG Count OPTIONAL)
|
||||||
@ -53,6 +56,9 @@ KeInitializeQueue(IN PKQUEUE Queue,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
LONG STDCALL
|
LONG STDCALL
|
||||||
KeReadStateQueue(IN PKQUEUE Queue)
|
KeReadStateQueue(IN PKQUEUE Queue)
|
||||||
{
|
{
|
||||||
@ -60,6 +66,9 @@ KeReadStateQueue(IN PKQUEUE Queue)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
LONG STDCALL
|
LONG STDCALL
|
||||||
KiInsertQueue(
|
KiInsertQueue(
|
||||||
IN PKQUEUE Queue,
|
IN PKQUEUE Queue,
|
||||||
@ -96,6 +105,9 @@ KiInsertQueue(
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
LONG STDCALL
|
LONG STDCALL
|
||||||
KeInsertHeadQueue(IN PKQUEUE Queue,
|
KeInsertHeadQueue(IN PKQUEUE Queue,
|
||||||
IN PLIST_ENTRY Entry)
|
IN PLIST_ENTRY Entry)
|
||||||
@ -104,6 +116,9 @@ KeInsertHeadQueue(IN PKQUEUE Queue,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
LONG STDCALL
|
LONG STDCALL
|
||||||
KeInsertQueue(IN PKQUEUE Queue,
|
KeInsertQueue(IN PKQUEUE Queue,
|
||||||
IN PLIST_ENTRY Entry)
|
IN PLIST_ENTRY Entry)
|
||||||
@ -112,6 +127,9 @@ KeInsertQueue(IN PKQUEUE Queue,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
PLIST_ENTRY STDCALL
|
PLIST_ENTRY STDCALL
|
||||||
KeRemoveQueue(IN PKQUEUE Queue,
|
KeRemoveQueue(IN PKQUEUE Queue,
|
||||||
IN KPROCESSOR_MODE WaitMode,
|
IN KPROCESSOR_MODE WaitMode,
|
||||||
@ -170,6 +188,9 @@ KeRemoveQueue(IN PKQUEUE Queue,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
PLIST_ENTRY STDCALL
|
PLIST_ENTRY STDCALL
|
||||||
KeRundownQueue(IN PKQUEUE Queue)
|
KeRundownQueue(IN PKQUEUE Queue)
|
||||||
{
|
{
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* 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
|
* PROJECT: ReactOS kernel
|
||||||
* FILE: ntoskrnl/ke/sem.c
|
* FILE: ntoskrnl/ke/sem.c
|
||||||
@ -37,6 +37,9 @@
|
|||||||
|
|
||||||
/* FUNCTIONS *****************************************************************/
|
/* FUNCTIONS *****************************************************************/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
VOID STDCALL
|
VOID STDCALL
|
||||||
KeInitializeSemaphore (PKSEMAPHORE Semaphore,
|
KeInitializeSemaphore (PKSEMAPHORE Semaphore,
|
||||||
LONG Count,
|
LONG Count,
|
||||||
@ -49,12 +52,18 @@ KeInitializeSemaphore (PKSEMAPHORE Semaphore,
|
|||||||
Semaphore->Limit=Limit;
|
Semaphore->Limit=Limit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
LONG STDCALL
|
LONG STDCALL
|
||||||
KeReadStateSemaphore (PKSEMAPHORE Semaphore)
|
KeReadStateSemaphore (PKSEMAPHORE Semaphore)
|
||||||
{
|
{
|
||||||
return(Semaphore->Header.SignalState);
|
return(Semaphore->Header.SignalState);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
LONG STDCALL
|
LONG STDCALL
|
||||||
KeReleaseSemaphore (PKSEMAPHORE Semaphore,
|
KeReleaseSemaphore (PKSEMAPHORE Semaphore,
|
||||||
KPRIORITY Increment,
|
KPRIORITY Increment,
|
||||||
|
@ -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
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
@ -23,6 +23,9 @@
|
|||||||
|
|
||||||
/* FUNCTIONS ***************************************************************/
|
/* FUNCTIONS ***************************************************************/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
BOOLEAN STDCALL
|
BOOLEAN STDCALL
|
||||||
KeSynchronizeExecution (PKINTERRUPT Interrupt,
|
KeSynchronizeExecution (PKINTERRUPT Interrupt,
|
||||||
PKSYNCHRONIZE_ROUTINE SynchronizeRoutine,
|
PKSYNCHRONIZE_ROUTINE SynchronizeRoutine,
|
||||||
@ -52,6 +55,9 @@ KeSynchronizeExecution (PKINTERRUPT Interrupt,
|
|||||||
return(ret);
|
return(ret);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
VOID STDCALL
|
VOID STDCALL
|
||||||
KeInitializeSpinLock (PKSPIN_LOCK SpinLock)
|
KeInitializeSpinLock (PKSPIN_LOCK SpinLock)
|
||||||
/*
|
/*
|
||||||
@ -65,6 +71,9 @@ KeInitializeSpinLock (PKSPIN_LOCK SpinLock)
|
|||||||
|
|
||||||
#undef KeAcquireSpinLockAtDpcLevel
|
#undef KeAcquireSpinLockAtDpcLevel
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
VOID STDCALL
|
VOID STDCALL
|
||||||
KeAcquireSpinLockAtDpcLevel (PKSPIN_LOCK SpinLock)
|
KeAcquireSpinLockAtDpcLevel (PKSPIN_LOCK SpinLock)
|
||||||
/*
|
/*
|
||||||
@ -99,6 +108,9 @@ KeAcquireSpinLockAtDpcLevel (PKSPIN_LOCK SpinLock)
|
|||||||
|
|
||||||
#undef KeReleaseSpinLockFromDpcLevel
|
#undef KeReleaseSpinLockFromDpcLevel
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
VOID STDCALL
|
VOID STDCALL
|
||||||
KeReleaseSpinLockFromDpcLevel (PKSPIN_LOCK SpinLock)
|
KeReleaseSpinLockFromDpcLevel (PKSPIN_LOCK SpinLock)
|
||||||
/*
|
/*
|
||||||
|
@ -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
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
@ -75,6 +75,9 @@ static BOOLEAN TimerInitDone = FALSE;
|
|||||||
/* FUNCTIONS **************************************************************/
|
/* FUNCTIONS **************************************************************/
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @unimplemented
|
||||||
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS STDCALL
|
||||||
NtQueryTimerResolution(OUT PULONG MinimumResolution,
|
NtQueryTimerResolution(OUT PULONG MinimumResolution,
|
||||||
OUT PULONG MaximumResolution,
|
OUT PULONG MaximumResolution,
|
||||||
@ -84,6 +87,9 @@ NtQueryTimerResolution(OUT PULONG MinimumResolution,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @unimplemented
|
||||||
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS STDCALL
|
||||||
NtSetTimerResolution(IN ULONG RequestedResolution,
|
NtSetTimerResolution(IN ULONG RequestedResolution,
|
||||||
IN BOOL SetOrUnset,
|
IN BOOL SetOrUnset,
|
||||||
@ -93,6 +99,9 @@ NtSetTimerResolution(IN ULONG RequestedResolution,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS STDCALL
|
||||||
NtQueryPerformanceCounter(IN PLARGE_INTEGER Counter,
|
NtQueryPerformanceCounter(IN PLARGE_INTEGER Counter,
|
||||||
IN PLARGE_INTEGER Frequency)
|
IN PLARGE_INTEGER Frequency)
|
||||||
@ -112,6 +121,9 @@ NtQueryPerformanceCounter(IN PLARGE_INTEGER Counter,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS STDCALL
|
||||||
NtDelayExecution(IN ULONG Alertable,
|
NtDelayExecution(IN ULONG Alertable,
|
||||||
IN TIME* Interval)
|
IN TIME* Interval)
|
||||||
@ -130,6 +142,9 @@ NtDelayExecution(IN ULONG Alertable,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS STDCALL
|
||||||
KeDelayExecutionThread (KPROCESSOR_MODE WaitMode,
|
KeDelayExecutionThread (KPROCESSOR_MODE WaitMode,
|
||||||
BOOLEAN Alertable,
|
BOOLEAN Alertable,
|
||||||
@ -156,6 +171,9 @@ KeDelayExecutionThread (KPROCESSOR_MODE WaitMode,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
ULONG STDCALL
|
ULONG STDCALL
|
||||||
KeQueryTimeIncrement(VOID)
|
KeQueryTimeIncrement(VOID)
|
||||||
/*
|
/*
|
||||||
@ -168,6 +186,9 @@ KeQueryTimeIncrement(VOID)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
VOID STDCALL
|
VOID STDCALL
|
||||||
KeQuerySystemTime(PLARGE_INTEGER CurrentTime)
|
KeQuerySystemTime(PLARGE_INTEGER CurrentTime)
|
||||||
/*
|
/*
|
||||||
@ -187,6 +208,9 @@ KeQuerySystemTime(PLARGE_INTEGER CurrentTime)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS STDCALL
|
||||||
NtGetTickCount (PULONG UpTime)
|
NtGetTickCount (PULONG UpTime)
|
||||||
{
|
{
|
||||||
@ -199,6 +223,9 @@ NtGetTickCount (PULONG UpTime)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
BOOLEAN STDCALL
|
BOOLEAN STDCALL
|
||||||
KeSetTimer (PKTIMER Timer,
|
KeSetTimer (PKTIMER Timer,
|
||||||
LARGE_INTEGER DueTime,
|
LARGE_INTEGER DueTime,
|
||||||
@ -219,6 +246,9 @@ KeSetTimer (PKTIMER Timer,
|
|||||||
return(KeSetTimerEx(Timer, DueTime, 0, Dpc));
|
return(KeSetTimerEx(Timer, DueTime, 0, Dpc));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
BOOLEAN STDCALL
|
BOOLEAN STDCALL
|
||||||
KeSetTimerEx (PKTIMER Timer,
|
KeSetTimerEx (PKTIMER Timer,
|
||||||
LARGE_INTEGER DueTime,
|
LARGE_INTEGER DueTime,
|
||||||
@ -273,6 +303,9 @@ KeSetTimerEx (PKTIMER Timer,
|
|||||||
return(FALSE);
|
return(FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
BOOLEAN STDCALL
|
BOOLEAN STDCALL
|
||||||
KeCancelTimer (PKTIMER Timer)
|
KeCancelTimer (PKTIMER Timer)
|
||||||
/*
|
/*
|
||||||
@ -301,12 +334,18 @@ KeCancelTimer (PKTIMER Timer)
|
|||||||
return(TRUE);
|
return(TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
BOOLEAN STDCALL
|
BOOLEAN STDCALL
|
||||||
KeReadStateTimer (PKTIMER Timer)
|
KeReadStateTimer (PKTIMER Timer)
|
||||||
{
|
{
|
||||||
return(Timer->Header.SignalState);
|
return(Timer->Header.SignalState);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
VOID STDCALL
|
VOID STDCALL
|
||||||
KeInitializeTimer (PKTIMER Timer)
|
KeInitializeTimer (PKTIMER Timer)
|
||||||
/*
|
/*
|
||||||
@ -319,6 +358,9 @@ KeInitializeTimer (PKTIMER Timer)
|
|||||||
KeInitializeTimerEx(Timer, NotificationTimer);
|
KeInitializeTimerEx(Timer, NotificationTimer);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
VOID STDCALL
|
VOID STDCALL
|
||||||
KeInitializeTimerEx (PKTIMER Timer,
|
KeInitializeTimerEx (PKTIMER Timer,
|
||||||
TIMER_TYPE Type)
|
TIMER_TYPE Type)
|
||||||
@ -356,6 +398,9 @@ KeInitializeTimerEx (PKTIMER Timer,
|
|||||||
Timer->TimerListEntry.Flink = Timer->TimerListEntry.Blink = NULL;
|
Timer->TimerListEntry.Flink = Timer->TimerListEntry.Blink = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
VOID STDCALL
|
VOID STDCALL
|
||||||
KeQueryTickCount(PLARGE_INTEGER TickCount)
|
KeQueryTickCount(PLARGE_INTEGER TickCount)
|
||||||
/*
|
/*
|
||||||
@ -367,6 +412,9 @@ KeQueryTickCount(PLARGE_INTEGER TickCount)
|
|||||||
TickCount->QuadPart = KeTickCount;
|
TickCount->QuadPart = KeTickCount;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
STATIC VOID
|
STATIC VOID
|
||||||
HandleExpiredTimer(PKTIMER current)
|
HandleExpiredTimer(PKTIMER current)
|
||||||
{
|
{
|
||||||
@ -396,6 +444,9 @@ HandleExpiredTimer(PKTIMER current)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
VOID STDCALL
|
VOID STDCALL
|
||||||
KeExpireTimers(PKDPC Dpc,
|
KeExpireTimers(PKDPC Dpc,
|
||||||
PVOID Context1,
|
PVOID Context1,
|
||||||
|
@ -378,6 +378,9 @@ BOOLEAN KeDispatcherObjectWake(DISPATCHER_HEADER* hdr)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS STDCALL
|
||||||
KeWaitForSingleObject(PVOID Object,
|
KeWaitForSingleObject(PVOID Object,
|
||||||
KWAIT_REASON WaitReason,
|
KWAIT_REASON WaitReason,
|
||||||
@ -423,6 +426,9 @@ KiGetWaitableObjectFromObject(PVOID Object)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS STDCALL
|
||||||
KeWaitForMultipleObjects(ULONG Count,
|
KeWaitForMultipleObjects(ULONG Count,
|
||||||
PVOID Object[],
|
PVOID Object[],
|
||||||
@ -668,6 +674,9 @@ VOID KeInitializeDispatcher(VOID)
|
|||||||
KeInitializeSpinLock(&DispatcherDatabaseLock);
|
KeInitializeSpinLock(&DispatcherDatabaseLock);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS STDCALL
|
||||||
NtWaitForMultipleObjects(IN ULONG Count,
|
NtWaitForMultipleObjects(IN ULONG Count,
|
||||||
IN HANDLE Object [],
|
IN HANDLE Object [],
|
||||||
@ -729,6 +738,9 @@ NtWaitForMultipleObjects(IN ULONG Count,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS STDCALL
|
||||||
NtWaitForSingleObject(IN HANDLE Object,
|
NtWaitForSingleObject(IN HANDLE Object,
|
||||||
IN BOOLEAN Alertable,
|
IN BOOLEAN Alertable,
|
||||||
@ -766,6 +778,9 @@ NtWaitForSingleObject(IN HANDLE Object,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS STDCALL
|
||||||
NtSignalAndWaitForSingleObject(IN HANDLE SignalObject,
|
NtSignalAndWaitForSingleObject(IN HANDLE SignalObject,
|
||||||
IN HANDLE WaitObject,
|
IN HANDLE WaitObject,
|
||||||
|
Loading…
Reference in New Issue
Block a user