TianoCore EDK2 master
Loading...
Searching...
No Matches
PiPcd.h
Go to the documentation of this file.
1
21#ifndef __PI_PCD_PPI_H__
22#define __PI_PCD_PPI_H__
23
24extern EFI_GUID gEfiPeiPcdPpiGuid;
25
26#define EFI_PEI_PCD_PPI_GUID \
27 { 0x1f34d25, 0x4de2, 0x23ad, { 0x3f, 0xf3, 0x36, 0x35, 0x3f, 0xf3, 0x23, 0xf1 } }
28
29#define EFI_PCD_INVALID_TOKEN_NUMBER ((UINTN) 0)
30
46typedef
47VOID
49 IN UINTN SkuId
50 );
51
61typedef
62UINT8
63(EFIAPI *EFI_PEI_PCD_PPI_GET_8)(
64 IN CONST EFI_GUID *Guid,
65 IN UINTN TokenNumber
66 );
67
77typedef
78UINT16
80 IN CONST EFI_GUID *Guid,
81 IN UINTN TokenNumber
82 );
83
93typedef
94UINT32
96 IN CONST EFI_GUID *Guid,
97 IN UINTN TokenNumber
98 );
99
109typedef
110UINT64
111(EFIAPI *EFI_PEI_PCD_PPI_GET_64)(
112 IN CONST EFI_GUID *Guid,
113 IN UINTN TokenNumber
114 );
115
124typedef
125VOID *
127 IN CONST EFI_GUID *Guid,
128 IN UINTN TokenNumber
129 );
130
140typedef
141BOOLEAN
143 IN CONST EFI_GUID *Guid,
144 IN UINTN TokenNumber
145 );
146
156typedef
159 IN CONST EFI_GUID *Guid,
160 IN UINTN TokenNumber
161 );
162
179typedef
181(EFIAPI *EFI_PEI_PCD_PPI_SET_8)(
182 IN CONST EFI_GUID *Guid,
183 IN UINTN TokenNumber,
184 IN UINT8 Value
185 );
186
203typedef
205(EFIAPI *EFI_PEI_PCD_PPI_SET_16)(
206 IN CONST EFI_GUID *Guid,
207 IN UINTN TokenNumber,
208 IN UINT16 Value
209 );
210
227typedef
229(EFIAPI *EFI_PEI_PCD_PPI_SET_32)(
230 IN CONST EFI_GUID *Guid,
231 IN UINTN TokenNumber,
232 IN UINT32 Value
233 );
234
251typedef
253(EFIAPI *EFI_PEI_PCD_PPI_SET_64)(
254 IN CONST EFI_GUID *Guid,
255 IN UINTN TokenNumber,
256 IN UINT64 Value
257 );
258
278typedef
281 IN CONST EFI_GUID *Guid,
282 IN UINTN TokenNumber,
283 IN OUT UINTN *SizeOfValue,
284 IN VOID *Buffer
285 );
286
303typedef
306 IN CONST EFI_GUID *Guid,
307 IN UINTN TokenNumber,
308 IN BOOLEAN Value
309 );
310
311typedef
312VOID
313(EFIAPI *EFI_PEI_PCD_PPI_CALLBACK)(
314 IN EFI_GUID *Guid OPTIONAL,
315 IN UINTN CallBackToken,
316 IN OUT VOID *TokenData,
317 IN UINTN TokenDatSize
318 );
319
333typedef
337 IN UINTN CallBackToken,
338 IN EFI_PEI_PCD_PPI_CALLBACK CallBackFunction
339 );
340
355typedef
359 IN UINTN CallBackToken,
360 IN EFI_PEI_PCD_PPI_CALLBACK CallBackFunction
361 );
362
377typedef
381 IN UINTN *TokenNumber
382 );
383
399typedef
402 IN OUT CONST EFI_GUID **Guid
403 );
404
405typedef struct {
421 EFI_PEI_PCD_PPI_CANCEL_CALLBACK CancelCallback;
423 EFI_PEI_PCD_PPI_GET_NEXT_TOKEN_SPACE GetNextTokenSpace;
425
426#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_PCD_PPI_SET_16)(IN CONST EFI_GUID *Guid, IN UINTN TokenNumber, IN UINT16 Value)
Definition: PiPcd.h:205
EFI_STATUS(EFIAPI * EFI_PEI_PCD_PPI_SET_64)(IN CONST EFI_GUID *Guid, IN UINTN TokenNumber, IN UINT64 Value)
Definition: PiPcd.h:253
UINT32(EFIAPI * EFI_PEI_PCD_PPI_GET_32)(IN CONST EFI_GUID *Guid, IN UINTN TokenNumber)
Definition: PiPcd.h:95
BOOLEAN(EFIAPI * EFI_PEI_PCD_PPI_GET_BOOLEAN)(IN CONST EFI_GUID *Guid, IN UINTN TokenNumber)
Definition: PiPcd.h:142
EFI_STATUS(EFIAPI * EFI_PEI_PCD_PPI_CANCEL_CALLBACK)(IN CONST EFI_GUID *Guid OPTIONAL, IN UINTN CallBackToken, IN EFI_PEI_PCD_PPI_CALLBACK CallBackFunction)
Definition: PiPcd.h:357
UINT16(EFIAPI * EFI_PEI_PCD_PPI_GET_16)(IN CONST EFI_GUID *Guid, IN UINTN TokenNumber)
Definition: PiPcd.h:79
EFI_STATUS(EFIAPI * EFI_PEI_PCD_PPI_SET_BOOLEAN)(IN CONST EFI_GUID *Guid, IN UINTN TokenNumber, IN BOOLEAN Value)
Definition: PiPcd.h:305
EFI_STATUS(EFIAPI * EFI_PEI_PCD_PPI_GET_NEXT_TOKEN_SPACE)(IN OUT CONST EFI_GUID **Guid)
Definition: PiPcd.h:401
EFI_STATUS(EFIAPI * EFI_PEI_PCD_PPI_GET_NEXT_TOKEN)(IN CONST EFI_GUID *Guid OPTIONAL, IN UINTN *TokenNumber)
Definition: PiPcd.h:379
EFI_STATUS(EFIAPI * EFI_PEI_PCD_PPI_SET_8)(IN CONST EFI_GUID *Guid, IN UINTN TokenNumber, IN UINT8 Value)
Definition: PiPcd.h:181
UINT8(EFIAPI * EFI_PEI_PCD_PPI_GET_8)(IN CONST EFI_GUID *Guid, IN UINTN TokenNumber)
Definition: PiPcd.h:63
VOID(EFIAPI * EFI_PEI_PCD_PPI_SET_SKU)(IN UINTN SkuId)
Definition: PiPcd.h:48
UINTN(EFIAPI * EFI_PEI_PCD_PPI_GET_SIZE)(IN CONST EFI_GUID *Guid, IN UINTN TokenNumber)
Definition: PiPcd.h:158
EFI_STATUS(EFIAPI * EFI_PEI_PCD_PPI_CALLBACK_ON_SET)(IN CONST EFI_GUID *Guid OPTIONAL, IN UINTN CallBackToken, IN EFI_PEI_PCD_PPI_CALLBACK CallBackFunction)
Definition: PiPcd.h:335
EFI_STATUS(EFIAPI * EFI_PEI_PCD_PPI_SET_32)(IN CONST EFI_GUID *Guid, IN UINTN TokenNumber, IN UINT32 Value)
Definition: PiPcd.h:229
UINT64(EFIAPI * EFI_PEI_PCD_PPI_GET_64)(IN CONST EFI_GUID *Guid, IN UINTN TokenNumber)
Definition: PiPcd.h:111
EFI_STATUS(EFIAPI * EFI_PEI_PCD_PPI_SET_POINTER)(IN CONST EFI_GUID *Guid, IN UINTN TokenNumber, IN OUT UINTN *SizeOfValue, IN VOID *Buffer)
Definition: PiPcd.h:280
VOID *(EFIAPI * EFI_PEI_PCD_PPI_GET_POINTER)(IN CONST EFI_GUID *Guid, IN UINTN TokenNumber)
Definition: PiPcd.h:126
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
Definition: Base.h:213