ReactOS 0.4.15-dev-6675-gcbc63d8
smp.c File Reference
#include <hal.h>
#include <smp.h>
#include <debug.h>
Include dependency graph for smp.c:

Go to the source code of this file.

Macros

#define NDEBUG
 

Functions

VOID HalpSetupProcessorsTable (_In_ UINT32 NTProcessorNumber)
 

Variables

PPROCESSOR_IDENTITY HalpProcessorIdentity
 

Macro Definition Documentation

◆ NDEBUG

#define NDEBUG

Definition at line 12 of file smp.c.

Function Documentation

◆ HalpSetupProcessorsTable()

VOID HalpSetupProcessorsTable ( _In_ UINT32  NTProcessorNumber)

Definition at line 22 of file smp.c.

24{
25 PKPRCB CurrentPrcb;
26
27 /*
28 * Link the Prcb of the current CPU to
29 * the current CPUs entry in the global ProcessorIdentity
30 */
31 CurrentPrcb = KeGetCurrentPrcb();
32 HalpProcessorIdentity[NTProcessorNumber].ProcessorPrcb = CurrentPrcb;
33}
FORCEINLINE struct _KPRCB * KeGetCurrentPrcb(VOID)
Definition: ketypes.h:1084
PPROCESSOR_IDENTITY HalpProcessorIdentity
Definition: madt.c:21
PKPRCB ProcessorPrcb
Definition: smp.h:17

Referenced by HalpInitProcessor().

Variable Documentation

◆ HalpProcessorIdentity

PPROCESSOR_IDENTITY HalpProcessorIdentity
extern

Definition at line 21 of file madt.c.

Referenced by HalpParseApicTables(), HalpPrintApicTables(), and HalpSetupProcessorsTable().