ReactOS 0.4.15-dev-7931-gfd331f1
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)
 

Variables

PPROCESSOR_IDENTITY HalpProcessorIdentity
 

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 39 of file smp.c.

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

◆ HalpSetupProcessorsTable()

VOID HalpSetupProcessorsTable ( _In_ UINT32  NTProcessorNumber)

Definition at line 24 of file smp.c.

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

Variable Documentation

◆ HalpProcessorIdentity

PPROCESSOR_IDENTITY HalpProcessorIdentity
extern

Definition at line 21 of file madt.c.

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