mirror of
https://github.com/reactos/reactos.git
synced 2025-02-28 19:32:59 +00:00
26 lines
660 B
C
26 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;
|
|
}
|