mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 05:52:57 +00:00
[NTOSKRNL_VISTA] Implement/stubplement more Etw, Io, Ke, Po functions
CORE-17129
This commit is contained in:
parent
17dc5f7584
commit
5e242c5566
5 changed files with 214 additions and 10 deletions
|
@ -1,9 +1,9 @@
|
|||
/*
|
||||
* PROJECT: ReactOS Kernel - Vista+ APIs
|
||||
* LICENSE: GPL v2 - See COPYING in the top level directory
|
||||
* FILE: lib/drivers/ntoskrnl_vista/ke.c
|
||||
* PURPOSE: Ke functions of Vista+
|
||||
* PROGRAMMERS: Pierre Schweitzer <pierre@reactos.org>
|
||||
* PROJECT: ReactOS Kernel - Vista+ APIs
|
||||
* LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
|
||||
* PURPOSE: Ke functions of Vista+
|
||||
* COPYRIGHT: 2016 Pierre Schweitzer (pierre@reactos.org)
|
||||
* 2020 Victor Perevertkin (victor.perevertkin@reactos.org)
|
||||
*/
|
||||
|
||||
#include <ntdef.h>
|
||||
|
@ -25,3 +25,33 @@ KeQueryActiveProcessorCount(OUT PKAFFINITY ActiveProcessors OPTIONAL)
|
|||
RtlInitializeBitMap(&Bitmap, (PULONG)&ActiveMap, sizeof(ActiveMap) * 8);
|
||||
return RtlNumberOfSetBits(&Bitmap);
|
||||
}
|
||||
|
||||
NTKERNELAPI
|
||||
USHORT
|
||||
NTAPI
|
||||
KeQueryHighestNodeNumber()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
NTKERNELAPI
|
||||
USHORT
|
||||
NTAPI
|
||||
KeGetCurrentNodeNumber()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
_IRQL_requires_max_(DISPATCH_LEVEL)
|
||||
NTKERNELAPI
|
||||
BOOLEAN
|
||||
NTAPI
|
||||
KeSetCoalescableTimer(
|
||||
_Inout_ PKTIMER Timer,
|
||||
_In_ LARGE_INTEGER DueTime,
|
||||
_In_ ULONG Period,
|
||||
_In_ ULONG TolerableDelay,
|
||||
_In_opt_ PKDPC Dpc)
|
||||
{
|
||||
return KeSetTimerEx(Timer, DueTime, Period, Dpc);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue