mirror of
https://github.com/reactos/reactos.git
synced 2025-05-15 07:17:23 +00:00
27 lines
660 B
C
27 lines
660 B
C
![]() |
/*
|
||
|
* PROJECT: ReactOS Kernel
|
||
|
* LICENSE: MIT (https://spdx.org/licenses/MIT)
|
||
|
* PURPOSE: Portable processor related routines
|
||
|
* COPYRIGHT: Copyright 2025 Timo Kreuzer <timo.kreuzer@reactos.org>
|
||
|
*/
|
||
|
|
||
|
/* INCLUDES ******************************************************************/
|
||
|
|
||
|
#include <ntoskrnl.h>
|
||
|
#define NDEBUG
|
||
|
#include <debug.h>
|
||
|
|
||
|
/* GLOBALS *******************************************************************/
|
||
|
|
||
|
CCHAR KeNumberProcessors = 0;
|
||
|
KAFFINITY KeActiveProcessors = 0;
|
||
|
|
||
|
/* FUNCTIONS *****************************************************************/
|
||
|
|
||
|
KAFFINITY
|
||
|
NTAPI
|
||
|
KeQueryActiveProcessors(VOID)
|
||
|
{
|
||
|
return KeActiveProcessors;
|
||
|
}
|