TianoCore EDK2 master
CpuMp.h
Go to the documentation of this file.
1
9#ifndef _CPU_MP_H_
10#define _CPU_MP_H_
11
16VOID
18 VOID
19 );
20
58EFIAPI
61 OUT UINTN *NumberOfProcessors,
62 OUT UINTN *NumberOfEnabledProcessors
63 );
64
92EFIAPI
95 IN UINTN ProcessorNumber,
96 OUT EFI_PROCESSOR_INFORMATION *ProcessorInfoBuffer
97 );
98
236EFIAPI
239 IN EFI_AP_PROCEDURE Procedure,
240 IN BOOLEAN SingleThread,
241 IN EFI_EVENT WaitEvent OPTIONAL,
242 IN UINTN TimeoutInMicroseconds,
243 IN VOID *ProcedureArgument OPTIONAL,
244 OUT UINTN **FailedCpuList OPTIONAL
245 );
246
334EFIAPI
337 IN EFI_AP_PROCEDURE Procedure,
338 IN UINTN ProcessorNumber,
339 IN EFI_EVENT WaitEvent OPTIONAL,
340 IN UINTN TimeoutInMicroseconds,
341 IN VOID *ProcedureArgument OPTIONAL,
342 OUT BOOLEAN *Finished OPTIONAL
343 );
344
381EFIAPI
382SwitchBSP (
384 IN UINTN ProcessorNumber,
385 IN BOOLEAN EnableOldBSP
386 );
387
430EFIAPI
433 IN UINTN ProcessorNumber,
434 IN BOOLEAN EnableAP,
435 IN UINT32 *HealthFlag OPTIONAL
436 );
437
463EFIAPI
464WhoAmI (
466 OUT UINTN *ProcessorNumber
467 );
468
469#endif // _CPU_MP_H_
UINT64 UINTN
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
EFI_STATUS EFIAPI StartupThisAP(IN EFI_MP_SERVICES_PROTOCOL *This, 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: CpuMp.c:362
EFI_STATUS EFIAPI EnableDisableAP(IN EFI_MP_SERVICES_PROTOCOL *This, IN UINTN ProcessorNumber, IN BOOLEAN EnableAP, IN UINT32 *HealthFlag OPTIONAL)
Definition: CpuMp.c:471
EFI_STATUS EFIAPI WhoAmI(IN EFI_MP_SERVICES_PROTOCOL *This, OUT UINTN *ProcessorNumber)
Definition: CpuMp.c:507
EFI_STATUS EFIAPI StartupAllAPs(IN EFI_MP_SERVICES_PROTOCOL *This, 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: CpuMp.c:254
EFI_STATUS EFIAPI GetNumberOfProcessors(IN EFI_MP_SERVICES_PROTOCOL *This, OUT UINTN *NumberOfProcessors, OUT UINTN *NumberOfEnabledProcessors)
Definition: CpuMp.c:63
EFI_STATUS EFIAPI SwitchBSP(IN EFI_MP_SERVICES_PROTOCOL *This, IN UINTN ProcessorNumber, IN BOOLEAN EnableOldBSP)
Definition: CpuMp.c:419
EFI_STATUS EFIAPI GetProcessorInfo(IN EFI_MP_SERVICES_PROTOCOL *This, IN UINTN ProcessorNumber, OUT EFI_PROCESSOR_INFORMATION *ProcessorInfoBuffer)
Definition: CpuMp.c:107
VOID InitializeMpSupport(VOID)
Definition: CpuMp.c:817
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