reactos/ntoskrnl/ke/processor.c

27 lines
660 B
C
Raw Normal View History

/*
* 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;
}