ReactOS
0.4.16-dev-833-g4bc97ad
processor.c
Go to the documentation of this file.
1
/*
2
* PROJECT: ReactOS Kernel
3
* LICENSE: MIT (https://spdx.org/licenses/MIT)
4
* PURPOSE: Portable processor related routines
5
* COPYRIGHT: Copyright 2025 Timo Kreuzer <timo.kreuzer@reactos.org>
6
*/
7
8
/* INCLUDES ******************************************************************/
9
10
#include <ntoskrnl.h>
11
#define NDEBUG
12
#include <debug.h>
13
14
/* GLOBALS *******************************************************************/
15
16
CCHAR
KeNumberProcessors
= 0;
17
KAFFINITY
KeActiveProcessors
= 0;
18
19
/* FUNCTIONS *****************************************************************/
20
21
KAFFINITY
22
NTAPI
23
KeQueryActiveProcessors
(
VOID
)
24
{
25
return
KeActiveProcessors
;
26
}
KAFFINITY
ULONG_PTR KAFFINITY
Definition:
compat.h:85
void
Definition:
nsiface.idl:2307
KeNumberProcessors
CCHAR KeNumberProcessors
Definition:
processor.c:16
KeActiveProcessors
KAFFINITY KeActiveProcessors
Definition:
processor.c:17
KeQueryActiveProcessors
KAFFINITY NTAPI KeQueryActiveProcessors(VOID)
Definition:
processor.c:23
NTAPI
#define NTAPI
Definition:
typedefs.h:36
CCHAR
char CCHAR
Definition:
typedefs.h:51
ntoskrnl
ke
processor.c
Generated on Wed Mar 19 2025 06:06:22 for ReactOS by
1.9.6