27#define WAKEUP_AP_SIGNAL SIGNATURE_32 ('S', 'T', 'A', 'P')
29#define CPU_INIT_MP_LIB_HOB_GUID \
31 0x58eb6a19, 0x3699, 0x4c68, { 0xa8, 0x36, 0xda, 0xcd, 0x8e, 0xdc, 0xad, 0x4a } \
68 volatile UINT32 *StartupApSignal;
69 volatile UINTN ApFunction;
70 volatile UINTN ApFunctionArgument;
72 volatile CPU_STATE State;
123 volatile UINT32 FinishedCount;
125 BOOLEAN SingleThread;
134 AP_INIT_STATE InitFlag;
140extern EFI_GUID mCpuInitMpLibHobGuid;
176 IN BOOLEAN Broadcast,
179 IN VOID *ProcedureArgument OPTIONAL,
180 IN BOOLEAN WakeUpDisabledAps
227 IN BOOLEAN SingleThread,
228 IN BOOLEAN ExcludeBsp,
230 IN UINTN TimeoutInMicroseconds,
231 IN VOID *ProcedureArgument OPTIONAL,
263 IN UINTN TimeoutInMicroseconds,
264 IN VOID *ProcedureArgument OPTIONAL,
265 OUT BOOLEAN *Finished OPTIONAL
287 IN UINT32 *HealthFlag OPTIONAL
EFI_STATUS StartupThisAPWorker(IN EFI_AP_PROCEDURE Procedure, IN UINTN ProcessorNumber, IN EFI_EVENT WaitEvent OPTIONAL, IN UINTN TimeoutInMicroseconds, IN VOID *ProcedureArgument OPTIONAL, OUT BOOLEAN *Finished OPTIONAL)
CPU_MP_DATA * GetCpuMpDataFromGuidedHob(VOID)
EFI_STATUS EnableDisableApWorker(IN UINTN ProcessorNumber, IN BOOLEAN EnableAP, IN UINT32 *HealthFlag OPTIONAL)
VOID CheckAndUpdateApsStatus(VOID)
VOID WakeUpAP(IN CPU_MP_DATA *CpuMpData, IN BOOLEAN Broadcast, IN UINTN ProcessorNumber, IN EFI_AP_PROCEDURE Procedure OPTIONAL, IN VOID *ProcedureArgument OPTIONAL, IN BOOLEAN WakeUpDisabledAps)
EFI_STATUS StartupAllCPUsWorker(IN EFI_AP_PROCEDURE Procedure, IN BOOLEAN SingleThread, IN BOOLEAN ExcludeBsp, IN EFI_EVENT WaitEvent OPTIONAL, IN UINTN TimeoutInMicroseconds, IN VOID *ProcedureArgument OPTIONAL, OUT UINTN **FailedCpuList OPTIONAL)
EFI_STATUS CheckThisAP(IN UINTN ProcessorNumber)
CPU_MP_DATA * GetCpuMpData(VOID)
EFI_STATUS CheckAllAPs(VOID)
VOID InitMpGlobalData(IN CPU_MP_DATA *CpuMpData)
VOID EnableDebugAgent(VOID)
VOID SaveCpuMpData(IN CPU_MP_DATA *CpuMpData)
VOID(EFIAPI * EFI_AP_PROCEDURE)(IN OUT VOID *Buffer)