XenevaOS
Loading...
Searching...
No Matches
Pcd.h
Go to the documentation of this file.
1
23#ifndef __PCD_H__
24#define __PCD_H__
25
27
28#define PCD_PROTOCOL_GUID \
29 { 0x11b34006, 0xd85b, 0x4d0a, { 0xa2, 0x90, 0xd5, 0xa5, 0x71, 0x31, 0xe, 0xf7 } }
30
31#define PCD_INVALID_TOKEN_NUMBER ((UINTN) 0)
32
33
56typedef
59 IN UINTN SkuId
60 );
61
62
63
75typedef
78 IN UINTN TokenNumber
79 );
80
81
82
94typedef
97 IN UINTN TokenNumber
98 );
99
100
101
113typedef
116 IN UINTN TokenNumber
117 );
118
119
120
132typedef
135 IN UINTN TokenNumber
136 );
137
138
139
153typedef
156 IN UINTN TokenNumber
157 );
158
159
160
174typedef
177 IN UINTN TokenNumber
178 );
179
180
181
193typedef
196 IN UINTN TokenNumber
197 );
198
199
200
215typedef
218 IN CONST EFI_GUID *Guid,
219 IN UINTN TokenNumber
220 );
221
222
223
238typedef
241 IN CONST EFI_GUID *Guid,
242 IN UINTN TokenNumber
243 );
244
245
246
261typedef
264 IN CONST EFI_GUID *Guid,
265 IN UINTN TokenNumber
266 );
267
268
269
284typedef
287 IN CONST EFI_GUID *Guid,
288 IN UINTN TokenNumber
289 );
290
291
292
307typedef
310 IN CONST EFI_GUID *Guid,
311 IN UINTN TokenNumber
312 );
313
314
315
330typedef
333 IN CONST EFI_GUID *Guid,
334 IN UINTN TokenNumber
335 );
336
337
338
351typedef
354 IN CONST EFI_GUID *Guid,
355 IN UINTN TokenNumber
356 );
357
358
359
377typedef
380 IN UINTN TokenNumber,
381 IN UINT8 Value
382 );
383
384
385
403typedef
406 IN UINTN TokenNumber,
407 IN UINT16 Value
408 );
409
410
411
429typedef
432 IN UINTN TokenNumber,
433 IN UINT32 Value
434 );
435
436
437
455typedef
458 IN UINTN TokenNumber,
459 IN UINT64 Value
460 );
461
462
463
485typedef
488 IN UINTN TokenNumber,
489 IN OUT UINTN *SizeOfBuffer,
490 IN VOID *Buffer
491 );
492
493
494
512typedef
515 IN UINTN TokenNumber,
516 IN BOOLEAN Value
517 );
518
519
520
539typedef
542 IN CONST EFI_GUID *Guid,
543 IN UINTN TokenNumber,
544 IN UINT8 Value
545 );
546
547
548
567typedef
570 IN CONST EFI_GUID *Guid,
571 IN UINTN TokenNumber,
572 IN UINT16 Value
573 );
574
575
576
595typedef
598 IN CONST EFI_GUID *Guid,
599 IN UINTN TokenNumber,
600 IN UINT32 Value
601 );
602
603
604
623typedef
626 IN CONST EFI_GUID *Guid,
627 IN UINTN TokenNumber,
628 IN UINT64 Value
629 );
630
631
632
655typedef
658 IN CONST EFI_GUID *Guid,
659 IN UINTN TokenNumber,
660 IN OUT UINTN *SizeOfBuffer,
661 IN VOID *Buffer
662 );
663
664
665
684typedef
687 IN CONST EFI_GUID *Guid,
688 IN UINTN TokenNumber,
689 IN BOOLEAN Value
690 );
691
692
693
713typedef
716 IN CONST EFI_GUID *CallBackGuid, OPTIONAL
717 IN UINTN CallBackToken,
718 IN OUT VOID *TokenData,
719 IN UINTN TokenDataSize
720 );
721
722
723
736typedef
740 IN UINTN TokenNumber,
741 IN PCD_PROTOCOL_CALLBACK CallBackFunction
742 );
743
744
745
758typedef
762 IN UINTN TokenNumber,
763 IN PCD_PROTOCOL_CALLBACK CallBackFunction
764 );
765
766
767
794typedef
798 IN OUT UINTN *TokenNumber
799 );
800
801
802
819typedef
822 IN OUT CONST EFI_GUID **Guid
823 );
824
866
867#endif
UINT64 UINTN
Definition ProcessorBind.h:118
#define EFIAPI
Definition ProcessorBind.h:172
unsigned int UINT32
Definition ProcessorBind.h:102
#define CONST
Definition Base.h:327
#define IN
Definition Base.h:347
#define OUT
Definition Base.h:352
#define OPTIONAL
Definition Base.h:358
UINT32(EFIAPI * PCD_PROTOCOL_GET32)(IN UINTN TokenNumber)
Definition Pcd.h:115
UINT16(EFIAPI * PCD_PROTOCOL_GET16)(IN UINTN TokenNumber)
Definition Pcd.h:96
EFI_STATUS(EFIAPI * PCD_PROTOCOL_SET64)(IN UINTN TokenNumber, IN UINT64 Value)
Definition Pcd.h:457
EFI_STATUS(EFIAPI * PCD_PROTOCOL_SET_POINTER)(IN UINTN TokenNumber, IN OUT UINTN *SizeOfBuffer, IN VOID *Buffer)
Definition Pcd.h:487
UINT64(EFIAPI * PCD_PROTOCOL_GET64)(IN UINTN TokenNumber)
Definition Pcd.h:134
EFI_STATUS(EFIAPI * PCD_PROTOCOL_SET_BOOLEAN)(IN UINTN TokenNumber, IN BOOLEAN Value)
Definition Pcd.h:514
UINTN(EFIAPI * PCD_PROTOCOL_GET_EX_SIZE)(IN CONST EFI_GUID *Guid, IN UINTN TokenNumber)
Definition Pcd.h:353
EFI_STATUS(EFIAPI * PCD_PROTOCOL_SET16)(IN UINTN TokenNumber, IN UINT16 Value)
Definition Pcd.h:405
BOOLEAN(EFIAPI * PCD_PROTOCOL_GET_EX_BOOLEAN)(IN CONST EFI_GUID *Guid, IN UINTN TokenNumber)
Definition Pcd.h:332
VOID(EFIAPI * PCD_PROTOCOL_CALLBACK)(IN CONST EFI_GUID *CallBackGuid, OPTIONAL IN UINTN CallBackToken, IN OUT VOID *TokenData, IN UINTN TokenDataSize)
Definition Pcd.h:715
EFI_STATUS(EFIAPI * PCD_PROTOCOL_SET_EX_BOOLEAN)(IN CONST EFI_GUID *Guid, IN UINTN TokenNumber, IN BOOLEAN Value)
Definition Pcd.h:686
UINT8(EFIAPI * PCD_PROTOCOL_GET_EX_8)(IN CONST EFI_GUID *Guid, IN UINTN TokenNumber)
Definition Pcd.h:217
EFI_STATUS(EFIAPI * PCD_PROTOCOL_SET_EX_POINTER)(IN CONST EFI_GUID *Guid, IN UINTN TokenNumber, IN OUT UINTN *SizeOfBuffer, IN VOID *Buffer)
Definition Pcd.h:657
EFI_STATUS(EFIAPI * PCD_PROTOCOL_SET_EX_16)(IN CONST EFI_GUID *Guid, IN UINTN TokenNumber, IN UINT16 Value)
Definition Pcd.h:569
UINT64(EFIAPI * PCD_PROTOCOL_GET_EX_64)(IN CONST EFI_GUID *Guid, IN UINTN TokenNumber)
Definition Pcd.h:286
UINT16(EFIAPI * PCD_PROTOCOL_GET_EX_16)(IN CONST EFI_GUID *Guid, IN UINTN TokenNumber)
Definition Pcd.h:240
VOID *(EFIAPI * PCD_PROTOCOL_GET_EX_POINTER)(IN CONST EFI_GUID *Guid, IN UINTN TokenNumber)
Definition Pcd.h:309
EFI_STATUS(EFIAPI * PCD_PROTOCOL_SET_EX_32)(IN CONST EFI_GUID *Guid, IN UINTN TokenNumber, IN UINT32 Value)
Definition Pcd.h:597
VOID *(EFIAPI * PCD_PROTOCOL_GET_POINTER)(IN UINTN TokenNumber)
Definition Pcd.h:155
EFI_GUID gPcdProtocolGuid
EFI_STATUS(EFIAPI * PCD_PROTOCOL_SET32)(IN UINTN TokenNumber, IN UINT32 Value)
Definition Pcd.h:431
EFI_STATUS(EFIAPI * PCD_PROTOCOL_CANCEL_CALLBACK)(IN CONST EFI_GUID *Guid, OPTIONAL IN UINTN TokenNumber, IN PCD_PROTOCOL_CALLBACK CallBackFunction)
Definition Pcd.h:760
EFI_STATUS(EFIAPI * PCD_PROTOCOL_GET_NEXT_TOKENSPACE)(IN OUT CONST EFI_GUID **Guid)
Definition Pcd.h:821
UINT32(EFIAPI * PCD_PROTOCOL_GET_EX_32)(IN CONST EFI_GUID *Guid, IN UINTN TokenNumber)
Definition Pcd.h:263
VOID(EFIAPI * PCD_PROTOCOL_SET_SKU)(IN UINTN SkuId)
Definition Pcd.h:58
EFI_STATUS(EFIAPI * PCD_PROTOCOL_SET8)(IN UINTN TokenNumber, IN UINT8 Value)
Definition Pcd.h:379
BOOLEAN(EFIAPI * PCD_PROTOCOL_GET_BOOLEAN)(IN UINTN TokenNumber)
Definition Pcd.h:176
EFI_STATUS(EFIAPI * PCD_PROTOCOL_GET_NEXT_TOKEN)(IN CONST EFI_GUID *Guid, OPTIONAL IN OUT UINTN *TokenNumber)
Definition Pcd.h:796
UINTN(EFIAPI * PCD_PROTOCOL_GET_SIZE)(IN UINTN TokenNumber)
Definition Pcd.h:195
EFI_STATUS(EFIAPI * PCD_PROTOCOL_SET_EX_64)(IN CONST EFI_GUID *Guid, IN UINTN TokenNumber, IN UINT64 Value)
Definition Pcd.h:625
EFI_STATUS(EFIAPI * PCD_PROTOCOL_CALLBACK_ONSET)(IN CONST EFI_GUID *Guid, OPTIONAL IN UINTN TokenNumber, IN PCD_PROTOCOL_CALLBACK CallBackFunction)
Definition Pcd.h:738
UINT8(EFIAPI * PCD_PROTOCOL_GET8)(IN UINTN TokenNumber)
Definition Pcd.h:77
EFI_STATUS(EFIAPI * PCD_PROTOCOL_SET_EX_8)(IN CONST EFI_GUID *Guid, IN UINTN TokenNumber, IN UINT8 Value)
Definition Pcd.h:541
RETURN_STATUS EFI_STATUS
Definition UefiBaseType.h:33
#define UINTN
Definition acefi.h:222
#define VOID
Definition acefi.h:190
unsigned short UINT16
Definition actypes.h:237
unsigned char BOOLEAN
Definition actypes.h:235
unsigned char UINT8
Definition actypes.h:236
COMPILER_DEPENDENT_UINT64 UINT64
Definition actypes.h:239
Definition Base.h:281
Definition Pcd.h:828
PCD_PROTOCOL_GET_EX_16 Get16Ex
Definition Pcd.h:840
PCD_PROTOCOL_SET_EX_64 Set64Ex
Definition Pcd.h:857
PCD_PROTOCOL_SET_SKU SetSku
Definition Pcd.h:829
PCD_PROTOCOL_GET_EX_BOOLEAN GetBoolEx
Definition Pcd.h:844
PCD_PROTOCOL_GET_EX_POINTER GetPtrEx
Definition Pcd.h:843
PCD_PROTOCOL_SET_EX_BOOLEAN SetBoolEx
Definition Pcd.h:859
PCD_PROTOCOL_GET_EX_SIZE GetSizeEx
Definition Pcd.h:845
PCD_PROTOCOL_GET_NEXT_TOKEN GetNextToken
Definition Pcd.h:863
PCD_PROTOCOL_GET_EX_32 Get32Ex
Definition Pcd.h:841
PCD_PROTOCOL_GET8 Get8
Definition Pcd.h:831
PCD_PROTOCOL_SET_EX_32 Set32Ex
Definition Pcd.h:856
PCD_PROTOCOL_CANCEL_CALLBACK CancelCallback
Definition Pcd.h:862
PCD_PROTOCOL_SET_EX_POINTER SetPtrEx
Definition Pcd.h:858
PCD_PROTOCOL_GET64 Get64
Definition Pcd.h:834
PCD_PROTOCOL_GET16 Get16
Definition Pcd.h:832
PCD_PROTOCOL_SET16 Set16
Definition Pcd.h:848
PCD_PROTOCOL_SET_POINTER SetPtr
Definition Pcd.h:851
PCD_PROTOCOL_GET32 Get32
Definition Pcd.h:833
PCD_PROTOCOL_SET8 Set8
Definition Pcd.h:847
PCD_PROTOCOL_CALLBACK_ONSET CallbackOnSet
Definition Pcd.h:861
PCD_PROTOCOL_SET_EX_8 Set8Ex
Definition Pcd.h:854
PCD_PROTOCOL_SET_EX_16 Set16Ex
Definition Pcd.h:855
PCD_PROTOCOL_GET_NEXT_TOKENSPACE GetNextTokenSpace
Definition Pcd.h:864
PCD_PROTOCOL_GET_BOOLEAN GetBool
Definition Pcd.h:836
PCD_PROTOCOL_GET_SIZE GetSize
Definition Pcd.h:837
PCD_PROTOCOL_SET32 Set32
Definition Pcd.h:849
PCD_PROTOCOL_GET_POINTER GetPtr
Definition Pcd.h:835
PCD_PROTOCOL_GET_EX_64 Get64Ex
Definition Pcd.h:842
PCD_PROTOCOL_SET64 Set64
Definition Pcd.h:850
PCD_PROTOCOL_GET_EX_8 Get8Ex
Definition Pcd.h:839
PCD_PROTOCOL_SET_BOOLEAN SetBool
Definition Pcd.h:852