TianoCore EDK2 master
Loading...
Searching...
No Matches
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
81EFIAPI
83 IN UINTN ProcessorNumber,
84 OUT EFI_PROCESSOR_INFORMATION *ProcessorInfoBuffer,
85 OUT EFI_HEALTH_FLAGS *HealthData OPTIONAL
86 );
87
164EFIAPI
166 IN EFI_AP_PROCEDURE Procedure,
167 IN BOOLEAN SingleThread,
168 IN EFI_EVENT WaitEvent OPTIONAL,
169 IN UINTN TimeoutInMicroseconds,
170 IN VOID *ProcedureArgument OPTIONAL,
171 OUT UINTN **FailedCpuList OPTIONAL
172 );
173
246EFIAPI
248 IN EFI_AP_PROCEDURE Procedure,
249 IN UINTN ProcessorNumber,
250 IN EFI_EVENT WaitEvent OPTIONAL,
251 IN UINTN TimeoutInMicroseconds,
252 IN VOID *ProcedureArgument OPTIONAL,
253 OUT BOOLEAN *Finished OPTIONAL
254 );
255
283EFIAPI
285 IN UINTN ProcessorNumber,
286 IN BOOLEAN EnableOldBSP
287 );
288
320EFIAPI
322 IN UINTN ProcessorNumber,
323 IN BOOLEAN EnableAP,
324 IN UINT32 *HealthFlag OPTIONAL
325 );
326
344EFIAPI
346 OUT UINTN *ProcessorNumber
347 );
348
376EFIAPI
378 IN EFI_AP_PROCEDURE Procedure,
379 IN UINTN TimeoutInMicroseconds,
380 IN VOID *ProcedureArgument OPTIONAL
381 );
382
383#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:920
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:682
EFI_STATUS EFIAPI MpInitLibWhoAmI(OUT UINTN *ProcessorNumber)
Definition: MpLib.c:1522
EFI_STATUS EFIAPI MpInitLibGetNumberOfProcessors(OUT UINTN *NumberOfProcessors OPTIONAL, OUT UINTN *NumberOfEnabledProcessors OPTIONAL)
Definition: MpLib.c:1559
EFI_STATUS EFIAPI MpInitLibSwitchBSP(IN UINTN ProcessorNumber, IN BOOLEAN EnableOldBSP)
Definition: DxeMpLib.c:847
EFI_STATUS EFIAPI MpInitLibStartupAllCPUs(IN EFI_AP_PROCEDURE Procedure, IN UINTN TimeoutInMicroseconds, IN VOID *ProcedureArgument OPTIONAL)
Definition: MpLib.c:1287
EFI_STATUS EFIAPI MpInitLibGetProcessorInfo(IN UINTN ProcessorNumber, OUT EFI_PROCESSOR_INFORMATION *ProcessorInfoBuffer, OUT EFI_HEALTH_FLAGS *HealthData OPTIONAL)
Definition: MpLib.c:1452
EFI_STATUS EFIAPI MpInitLibInitialize(VOID)
Definition: MpLib.c:1319
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:789
VOID(EFIAPI * EFI_AP_PROCEDURE)(IN OUT VOID *Buffer)
Definition: PiMultiPhase.h:198
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
VOID * EFI_EVENT
Definition: UefiBaseType.h:37