ReactOS 0.4.17-dev-966-gf06eace
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)
 
VOID FASTCALL HalpBroadcastClockIpi (_In_ UCHAR Vector)
 

Macro Definition Documentation

◆ NDEBUG

#define NDEBUG

Definition at line 14 of file smp.c.

Function Documentation

◆ HalpBroadcastClockIpi()

VOID FASTCALL HalpBroadcastClockIpi ( _In_ UCHAR  Vector)

Definition at line 35 of file smp.c.

37{
38 /* Send a clock IPI to all processors */
40}
VOID NTAPI HalpBroadcastIpiSpecifyVector(_In_ UCHAR Vector, _In_ BOOLEAN IncludeSelf)
Broadcasts an IPI with a specified vector to all processors.
Definition: apicsmp.c:158
#define FALSE
Definition: types.h:117

◆ HalpSetupProcessorsTable()

VOID HalpSetupProcessorsTable ( _In_ UINT32  NTProcessorNumber)

Definition at line 20 of file smp.c.

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