ReactOS 0.4.17-dev-470-gf9e3448
processor.c File Reference
#include <rtl.h>
#include <debug.h>
Include dependency graph for processor.c:

Go to the source code of this file.

Macros

#define NDEBUG
 

Functions

BOOLEAN NTAPI RtlIsProcessorFeaturePresent (_In_ ULONG ProcessorFeature)
 
ULONG NTAPI RtlGetCurrentProcessorNumber (VOID)
 
VOID NTAPI RtlGetCurrentProcessorNumberEx (_Out_ PPROCESSOR_NUMBER ProcessorNumber)
 

Macro Definition Documentation

◆ NDEBUG

#define NDEBUG

Definition at line 12 of file processor.c.

Function Documentation

◆ RtlGetCurrentProcessorNumber()

ULONG NTAPI RtlGetCurrentProcessorNumber ( VOID  )

Definition at line 33 of file processor.c.

35{
37}
NTSYSAPI ULONG WINAPI NtGetCurrentProcessorNumber(void)
Definition: sysinfo.c:3162

◆ RtlGetCurrentProcessorNumberEx()

VOID NTAPI RtlGetCurrentProcessorNumberEx ( _Out_ PPROCESSOR_NUMBER  ProcessorNumber)

Definition at line 41 of file processor.c.

43{
44 NtGetCurrentProcessorNumberEx(ProcessorNumber);
45}
NTSTATUS NTAPI NtGetCurrentProcessorNumberEx(_Out_ PPROCESSOR_NUMBER ProcessorNumber)
Definition: processor.c:55

◆ RtlIsProcessorFeaturePresent()

BOOLEAN NTAPI RtlIsProcessorFeaturePresent ( _In_ ULONG  ProcessorFeature)

Definition at line 20 of file processor.c.

22{
23 if (ProcessorFeature >= RTL_NUMBER_OF(SharedUserData->ProcessorFeatures))
24 {
25 return FALSE;
26 }
27
28 return SharedUserData->ProcessorFeatures[ProcessorFeature] != 0;
29}
#define RTL_NUMBER_OF(x)
Definition: RtlRegistry.c:12
#define FALSE
Definition: types.h:117
#define SharedUserData