TianoCore EDK2 master
Loading...
Searching...
No Matches
MpServices.h
Go to the documentation of this file.
1
14#ifndef __PEI_MP_SERVICES_PPI_H__
15#define __PEI_MP_SERVICES_PPI_H__
16
17#include <Protocol/MpService.h>
18
19#define EFI_PEI_MP_SERVICES_PPI_GUID \
20 { \
21 0xee16160a, 0xe8be, 0x47a6, { 0x82, 0xa, 0xc6, 0x90, 0xd, 0xb0, 0x25, 0xa } \
22 }
23
25
43typedef
46 IN CONST EFI_PEI_SERVICES **PeiServices,
48 OUT UINTN *NumberOfProcessors,
49 OUT UINTN *NumberOfEnabledProcessors
50 );
51
68typedef
71 IN CONST EFI_PEI_SERVICES **PeiServices,
73 IN UINTN ProcessorNumber,
74 OUT EFI_PROCESSOR_INFORMATION *ProcessorInfoBuffer
75 );
76
111typedef
114 IN CONST EFI_PEI_SERVICES **PeiServices,
116 IN EFI_AP_PROCEDURE Procedure,
117 IN BOOLEAN SingleThread,
118 IN UINTN TimeoutInMicroSeconds,
119 IN VOID *ProcedureArgument OPTIONAL
120 );
121
156typedef
159 IN CONST EFI_PEI_SERVICES **PeiServices,
161 IN EFI_AP_PROCEDURE Procedure,
162 IN UINTN ProcessorNumber,
163 IN UINTN TimeoutInMicroseconds,
164 IN VOID *ProcedureArgument OPTIONAL
165 );
166
191typedef
194 IN CONST EFI_PEI_SERVICES **PeiServices,
196 IN UINTN ProcessorNumber,
197 IN BOOLEAN EnableOldBSP
198 );
199
228typedef
231 IN CONST EFI_PEI_SERVICES **PeiServices,
233 IN UINTN ProcessorNumber,
234 IN BOOLEAN EnableAP,
235 IN UINT32 *HealthFlag OPTIONAL
236 );
237
253typedef
256 IN CONST EFI_PEI_SERVICES **PeiServices,
258 OUT UINTN *ProcessorNumber
259 );
260
273};
274
275extern EFI_GUID gEfiPeiMpServicesPpiGuid;
276
277#endif
UINT64 UINTN
#define CONST
Definition: Base.h:259
#define OPTIONAL
Definition: Base.h:290
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
EFI_STATUS(EFIAPI * EFI_PEI_MP_SERVICES_GET_PROCESSOR_INFO)(IN CONST EFI_PEI_SERVICES **PeiServices, IN EFI_PEI_MP_SERVICES_PPI *This, IN UINTN ProcessorNumber, OUT EFI_PROCESSOR_INFORMATION *ProcessorInfoBuffer)
Definition: MpServices.h:70
EFI_STATUS(EFIAPI * EFI_PEI_MP_SERVICES_ENABLEDISABLEAP)(IN CONST EFI_PEI_SERVICES **PeiServices, IN EFI_PEI_MP_SERVICES_PPI *This, IN UINTN ProcessorNumber, IN BOOLEAN EnableAP, IN UINT32 *HealthFlag OPTIONAL)
Definition: MpServices.h:230
EFI_STATUS(EFIAPI * EFI_PEI_MP_SERVICES_GET_NUMBER_OF_PROCESSORS)(IN CONST EFI_PEI_SERVICES **PeiServices, IN EFI_PEI_MP_SERVICES_PPI *This, OUT UINTN *NumberOfProcessors, OUT UINTN *NumberOfEnabledProcessors)
Definition: MpServices.h:45
EFI_STATUS(EFIAPI * EFI_PEI_MP_SERVICES_STARTUP_ALL_APS)(IN CONST EFI_PEI_SERVICES **PeiServices, IN EFI_PEI_MP_SERVICES_PPI *This, IN EFI_AP_PROCEDURE Procedure, IN BOOLEAN SingleThread, IN UINTN TimeoutInMicroSeconds, IN VOID *ProcedureArgument OPTIONAL)
Definition: MpServices.h:113
EFI_STATUS(EFIAPI * EFI_PEI_MP_SERVICES_STARTUP_THIS_AP)(IN CONST EFI_PEI_SERVICES **PeiServices, IN EFI_PEI_MP_SERVICES_PPI *This, IN EFI_AP_PROCEDURE Procedure, IN UINTN ProcessorNumber, IN UINTN TimeoutInMicroseconds, IN VOID *ProcedureArgument OPTIONAL)
Definition: MpServices.h:158
EFI_STATUS(EFIAPI * EFI_PEI_MP_SERVICES_WHOAMI)(IN CONST EFI_PEI_SERVICES **PeiServices, IN EFI_PEI_MP_SERVICES_PPI *This, OUT UINTN *ProcessorNumber)
Definition: MpServices.h:255
EFI_STATUS(EFIAPI * EFI_PEI_MP_SERVICES_SWITCH_BSP)(IN CONST EFI_PEI_SERVICES **PeiServices, IN EFI_PEI_MP_SERVICES_PPI *This, IN UINTN ProcessorNumber, IN BOOLEAN EnableOldBSP)
Definition: MpServices.h:193
VOID(EFIAPI * EFI_AP_PROCEDURE)(IN OUT VOID *Buffer)
Definition: PiMultiPhase.h:198
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
Definition: Base.h:213