ReactOS 0.4.16-dev-306-g647d351
ke.c
Go to the documentation of this file.
1/*
2 * PROJECT: ReactOS Kernel - Vista+ APIs
3 * LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
4 * PURPOSE: Ke functions of Vista+
5 * COPYRIGHT: 2016 Pierre Schweitzer (pierre@reactos.org)
6 * 2020 Victor Perevertkin (victor.perevertkin@reactos.org)
7 */
8
9#include <ntdef.h>
10#include <ntifs.h>
11
16{
19
20 if (ActiveProcessors != NULL)
21 {
22 *ActiveProcessors = ActiveMap;
23 }
24
25 RtlInitializeBitMap(&Bitmap, (PULONG)&ActiveMap, sizeof(ActiveMap) * 8);
27}
28
33{
34 return 0;
35}
36
41{
42 return 0;
43}
44
49KeSetCoalescableTimer(
55{
57}
unsigned char BOOLEAN
KAFFINITY * PKAFFINITY
Definition: basetsd.h:195
#define RtlInitializeBitMap
Definition: dbgbitmap.h:326
#define RtlNumberOfSetBits
Definition: dbgbitmap.h:343
#define NULL
Definition: types.h:112
ULONG_PTR KAFFINITY
Definition: compat.h:85
#define _IRQL_requires_max_(irql)
Definition: driverspecs.h:230
#define DISPATCH_LEVEL
Definition: env_spec_w32.h:696
NTKRNLVISTAAPI USHORT NTAPI KeQueryHighestNodeNumber()
Definition: ke.c:32
NTKRNLVISTAAPI USHORT NTAPI KeGetCurrentNodeNumber()
Definition: ke.c:40
NTKRNLVISTAAPI ULONG NTAPI KeQueryActiveProcessorCount(OUT PKAFFINITY ActiveProcessors OPTIONAL)
Definition: ke.c:15
#define _Inout_
Definition: no_sal2.h:162
#define _In_
Definition: no_sal2.h:158
#define _In_opt_
Definition: no_sal2.h:212
KAFFINITY NTAPI KeQueryActiveProcessors(VOID)
Definition: cpu.c:672
unsigned short USHORT
Definition: pedump.c:61
PULONG MinorVersion OPTIONAL
Definition: CrossNt.h:68
Definition: ketypes.h:699
BOOLEAN NTAPI KeSetTimerEx(IN OUT PKTIMER Timer, IN LARGE_INTEGER DueTime, IN LONG Period, IN PKDPC Dpc OPTIONAL)
Definition: timerobj.c:294
uint32_t * PULONG
Definition: typedefs.h:59
#define NTAPI
Definition: typedefs.h:36
uint32_t ULONG
Definition: typedefs.h:59
#define OUT
Definition: typedefs.h:40
_Must_inspect_result_ _In_ PWDF_DPC_CONFIG _In_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFDPC * Dpc
Definition: wdfdpc.h:112
_In_ WDFTIMER _In_ LONGLONG DueTime
Definition: wdftimer.h:190
#define NTKRNLVISTAAPI
_In_ LARGE_INTEGER _In_ ULONG _In_ ULONG TolerableDelay
Definition: kefuncs.h:1314
_In_ LARGE_INTEGER _In_ ULONG Period
Definition: kefuncs.h:1313