TianoCore EDK2 master
MpInitLib.h
Go to the documentation of this file.
1
9#ifndef __MP_INIT_LIB_H__
10#define __MP_INIT_LIB_H__
11
13#include <Protocol/MpService.h>
14
29EFIAPI
31 VOID
32 );
33
55EFIAPI
57 OUT UINTN *NumberOfProcessors OPTIONAL,
58 OUT UINTN *NumberOfEnabledProcessors OPTIONAL
59 );
60
79EFIAPI
81 IN UINTN ProcessorNumber,
82 OUT EFI_PROCESSOR_INFORMATION *ProcessorInfoBuffer,
83 OUT EFI_HEALTH_FLAGS *HealthData OPTIONAL
84 );
85
162EFIAPI
164 IN EFI_AP_PROCEDURE Procedure,
165 IN BOOLEAN SingleThread,
166 IN EFI_EVENT WaitEvent OPTIONAL,
167 IN UINTN TimeoutInMicroseconds,
168 IN VOID *ProcedureArgument OPTIONAL,
169 OUT UINTN **FailedCpuList OPTIONAL
170 );
171
244EFIAPI
246 IN EFI_AP_PROCEDURE Procedure,
247 IN UINTN ProcessorNumber,
248 IN EFI_EVENT WaitEvent OPTIONAL,
249 IN UINTN TimeoutInMicroseconds,
250 IN VOID *ProcedureArgument OPTIONAL,
251 OUT BOOLEAN *Finished OPTIONAL
252 );
253
281EFIAPI
283 IN UINTN ProcessorNumber,
284 IN BOOLEAN EnableOldBSP
285 );
286
318EFIAPI
320 IN UINTN ProcessorNumber,
321 IN BOOLEAN EnableAP,
322 IN UINT32 *HealthFlag OPTIONAL
323 );
324
342EFIAPI
344 OUT UINTN *ProcessorNumber
345 );
346
374EFIAPI
376 IN EFI_AP_PROCEDURE Procedure,
377 IN UINTN TimeoutInMicroseconds,
378 IN VOID *ProcedureArgument OPTIONAL
379 );
380
381#endif
UINT64 UINTN
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
EFI_STATUS EFIAPI MpInitLibEnableDisableAP(IN UINTN ProcessorNumber, IN BOOLEAN EnableAP, IN UINT32 *HealthFlag OPTIONAL)
Definition: DxeMpLib.c:947
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)
Definition: DxeMpLib.c:709
EFI_STATUS EFIAPI MpInitLibWhoAmI(OUT UINTN *ProcessorNumber)
Definition: MpLib.c:2354
EFI_STATUS EFIAPI MpInitLibGetNumberOfProcessors(OUT UINTN *NumberOfProcessors OPTIONAL, OUT UINTN *NumberOfEnabledProcessors OPTIONAL)
Definition: MpLib.c:2391
EFI_STATUS EFIAPI MpInitLibSwitchBSP(IN UINTN ProcessorNumber, IN BOOLEAN EnableOldBSP)
Definition: DxeMpLib.c:874
EFI_STATUS EFIAPI MpInitLibStartupAllCPUs(IN EFI_AP_PROCEDURE Procedure, IN UINTN TimeoutInMicroseconds, IN VOID *ProcedureArgument OPTIONAL)
Definition: MpLib.c:2766
EFI_STATUS EFIAPI MpInitLibGetProcessorInfo(IN UINTN ProcessorNumber, OUT EFI_PROCESSOR_INFORMATION *ProcessorInfoBuffer, OUT EFI_HEALTH_FLAGS *HealthData OPTIONAL)
Definition: MpLib.c:2059
EFI_STATUS EFIAPI MpInitLibInitialize(VOID)
Definition: MpLib.c:1764
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)
Definition: DxeMpLib.c:816
VOID(EFIAPI * EFI_AP_PROCEDURE)(IN OUT VOID *Buffer)
Definition: PiMultiPhase.h:191
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:28
VOID * EFI_EVENT
Definition: UefiBaseType.h:36