TianoCore EDK2 master
Loading...
Searching...
No Matches
MpServices2.h
Go to the documentation of this file.
1
9#ifndef __EDKII_PEI_MP_SERVICES2_PPI_H__
10#define __EDKII_PEI_MP_SERVICES2_PPI_H__
11
12#include <Ppi/MpServices.h>
13
14#define EDKII_PEI_MP_SERVICES2_PPI_GUID \
15 { \
16 0x5cb9cb3d, 0x31a4, 0x480c, { 0x94, 0x98, 0x29, 0xd2, 0x69, 0xba, 0xcf, 0xba} \
17 }
18
20
36typedef
40 OUT UINTN *NumberOfProcessors,
41 OUT UINTN *NumberOfEnabledProcessors
42 );
43
58typedef
62 IN UINTN ProcessorNumber,
63 OUT EFI_PROCESSOR_INFORMATION *ProcessorInfoBuffer
64 );
65
98typedef
102 IN EFI_AP_PROCEDURE Procedure,
103 IN BOOLEAN SingleThread,
104 IN UINTN TimeoutInMicroSeconds,
105 IN VOID *ProcedureArgument OPTIONAL
106 );
107
140typedef
144 IN EFI_AP_PROCEDURE Procedure,
145 IN UINTN ProcessorNumber,
146 IN UINTN TimeoutInMicroseconds,
147 IN VOID *ProcedureArgument OPTIONAL
148 );
149
172typedef
176 IN UINTN ProcessorNumber,
177 IN BOOLEAN EnableOldBSP
178 );
179
206typedef
210 IN UINTN ProcessorNumber,
211 IN BOOLEAN EnableAP,
212 IN UINT32 *HealthFlag OPTIONAL
213 );
214
228typedef
232 OUT UINTN *ProcessorNumber
233 );
234
256typedef
260 IN EFI_AP_PROCEDURE Procedure,
261 IN UINTN TimeoutInMicroSeconds,
262 IN VOID *ProcedureArgument OPTIONAL
263 );
264
274};
275
276extern EFI_GUID gEdkiiPeiMpServices2PpiGuid;
277
278#endif
UINT64 UINTN
#define OPTIONAL
Definition: Base.h:290
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
EFI_STATUS(EFIAPI * EDKII_PEI_MP_SERVICES_STARTUP_THIS_AP)(IN EDKII_PEI_MP_SERVICES2_PPI *This, IN EFI_AP_PROCEDURE Procedure, IN UINTN ProcessorNumber, IN UINTN TimeoutInMicroseconds, IN VOID *ProcedureArgument OPTIONAL)
Definition: MpServices2.h:142
EFI_STATUS(EFIAPI * EDKII_PEI_MP_SERVICES_STARTUP_ALL_CPUS)(IN EDKII_PEI_MP_SERVICES2_PPI *This, IN EFI_AP_PROCEDURE Procedure, IN UINTN TimeoutInMicroSeconds, IN VOID *ProcedureArgument OPTIONAL)
Definition: MpServices2.h:258
EFI_STATUS(EFIAPI * EDKII_PEI_MP_SERVICES_GET_NUMBER_OF_PROCESSORS)(IN EDKII_PEI_MP_SERVICES2_PPI *This, OUT UINTN *NumberOfProcessors, OUT UINTN *NumberOfEnabledProcessors)
Definition: MpServices2.h:38
EFI_STATUS(EFIAPI * EDKII_PEI_MP_SERVICES_ENABLEDISABLEAP)(IN EDKII_PEI_MP_SERVICES2_PPI *This, IN UINTN ProcessorNumber, IN BOOLEAN EnableAP, IN UINT32 *HealthFlag OPTIONAL)
Definition: MpServices2.h:208
EFI_STATUS(EFIAPI * EDKII_PEI_MP_SERVICES_WHOAMI)(IN EDKII_PEI_MP_SERVICES2_PPI *This, OUT UINTN *ProcessorNumber)
Definition: MpServices2.h:230
EFI_STATUS(EFIAPI * EDKII_PEI_MP_SERVICES_GET_PROCESSOR_INFO)(IN EDKII_PEI_MP_SERVICES2_PPI *This, IN UINTN ProcessorNumber, OUT EFI_PROCESSOR_INFORMATION *ProcessorInfoBuffer)
Definition: MpServices2.h:60
EFI_STATUS(EFIAPI * EDKII_PEI_MP_SERVICES_STARTUP_ALL_APS)(IN EDKII_PEI_MP_SERVICES2_PPI *This, IN EFI_AP_PROCEDURE Procedure, IN BOOLEAN SingleThread, IN UINTN TimeoutInMicroSeconds, IN VOID *ProcedureArgument OPTIONAL)
Definition: MpServices2.h:100
EFI_STATUS(EFIAPI * EDKII_PEI_MP_SERVICES_SWITCH_BSP)(IN EDKII_PEI_MP_SERVICES2_PPI *This, IN UINTN ProcessorNumber, IN BOOLEAN EnableOldBSP)
Definition: MpServices2.h:174
VOID(EFIAPI * EFI_AP_PROCEDURE)(IN OUT VOID *Buffer)
Definition: PiMultiPhase.h:191
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
Definition: Base.h:213