67 OUT UINTN *NumberOfProcessors OPTIONAL,
68 OUT UINTN *NumberOfEnabledProcessors OPTIONAL
71 *NumberOfProcessors = 1;
72 *NumberOfEnabledProcessors = 1;
106 if (ProcessorInfoBuffer ==
NULL) {
107 return EFI_INVALID_PARAMETER;
113 if ((ProcessorNumber & (BIT24 - 1)) != 0) {
114 return EFI_NOT_FOUND;
117 ZeroMem (ProcessorInfoBuffer,
sizeof (*ProcessorInfoBuffer));
122 if (HealthData !=
NULL) {
124 if (GuidHob !=
NULL) {
128 DEBUG ((DEBUG_INFO,
"Does not find any HOB stored CPU BIST information!\n"));
129 HealthData->Uint32 = 0;
215 IN BOOLEAN SingleThread,
217 IN UINTN TimeoutInMicroseconds,
218 IN VOID *ProcedureArgument OPTIONAL,
222 return EFI_NOT_STARTED;
302 IN UINTN TimeoutInMicroseconds,
303 IN VOID *ProcedureArgument OPTIONAL,
304 OUT BOOLEAN *Finished OPTIONAL
307 return EFI_INVALID_PARAMETER;
340 IN BOOLEAN EnableOldBSP
343 return EFI_UNSUPPORTED;
381 IN UINT32 *HealthFlag OPTIONAL
384 return EFI_UNSUPPORTED;
409 if (ProcessorNumber ==
NULL) {
410 return EFI_INVALID_PARAMETER;
413 *ProcessorNumber = 0;
439 IN UINTN TimeoutInMicroseconds,
440 IN VOID *ProcedureArgument OPTIONAL
443 if (Procedure ==
NULL) {
444 return EFI_INVALID_PARAMETER;
447 Procedure (ProcedureArgument);
VOID *EFIAPI GetFirstGuidHob(IN CONST EFI_GUID *Guid)
VOID *EFIAPI ZeroMem(OUT VOID *Buffer, IN UINTN Length)
VOID EFIAPI ProgramVirtualWireMode(VOID)
#define DEBUG(Expression)
EFI_STATUS EFIAPI MpInitLibEnableDisableAP(IN UINTN ProcessorNumber, IN BOOLEAN EnableAP, IN UINT32 *HealthFlag OPTIONAL)
EFI_STATUS EFIAPI MpInitLibStartupAllAPs(IN EFI_AP_PROCEDURE Procedure, IN BOOLEAN SingleThread, IN EFI_EVENT WaitEvent OPTIONAL, IN UINTN TimeoutInMicroseconds, IN VOID *ProcedureArgument OPTIONAL, OUT UINTN **FailedCpuList OPTIONAL)
EFI_STATUS EFIAPI MpInitLibWhoAmI(OUT UINTN *ProcessorNumber)
EFI_STATUS EFIAPI MpInitLibGetNumberOfProcessors(OUT UINTN *NumberOfProcessors OPTIONAL, OUT UINTN *NumberOfEnabledProcessors OPTIONAL)
EFI_STATUS EFIAPI MpInitLibSwitchBSP(IN UINTN ProcessorNumber, IN BOOLEAN EnableOldBSP)
EFI_STATUS EFIAPI MpInitLibStartupAllCPUs(IN EFI_AP_PROCEDURE Procedure, IN UINTN TimeoutInMicroseconds, IN VOID *ProcedureArgument OPTIONAL)
EFI_STATUS EFIAPI MpInitLibGetProcessorInfo(IN UINTN ProcessorNumber, OUT EFI_PROCESSOR_INFORMATION *ProcessorInfoBuffer, OUT EFI_HEALTH_FLAGS *HealthData OPTIONAL)
EFI_STATUS EFIAPI MpInitLibInitialize(VOID)
EFI_STATUS EFIAPI MpInitLibStartupThisAP(IN EFI_AP_PROCEDURE Procedure, IN UINTN ProcessorNumber, IN EFI_EVENT WaitEvent OPTIONAL, IN UINTN TimeoutInMicroseconds, IN VOID *ProcedureArgument OPTIONAL, OUT BOOLEAN *Finished OPTIONAL)
#define PROCESSOR_HEALTH_STATUS_BIT
#define PROCESSOR_AS_BSP_BIT
#define PROCESSOR_ENABLED_BIT
VOID(EFIAPI * EFI_AP_PROCEDURE)(IN OUT VOID *Buffer)