2 Native Platform Configuration Database (PCD) PPI
4 Different with the EFI_PCD_PPI defined in PI 1.2 specification, the native
5 PCD PPI provide interfaces for dynamic and dynamic-ex type PCD.
6 The interfaces for dynamic type PCD do not require the token space guid as parameter,
7 but interfaces for dynamic-ex type PCD require token space guid as parameter.
9 Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>
10 This program and the accompanying materials are licensed and made available under
11 the terms and conditions of the BSD License that accompanies this distribution.
12 The full text of the license may be found at
13 http://opensource.org/licenses/bsd-license.php.
15 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
16 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
23 #define PCD_PPI_GUID \
24 { 0x6e81c58, 0x4ad7, 0x44bc, { 0x83, 0x90, 0xf1, 0x2, 0x65, 0xf7, 0x24, 0x80 } }
26 #define PCD_INVALID_TOKEN_NUMBER ((UINTN) 0)
30 Sets the SKU value for subsequent calls to set or get PCD token values.
32 SetSku() sets the SKU Id to be used for subsequent calls to set or get PCD values.
33 SetSku() is normally called only once by the system.
35 For each item (token), the database can hold a single value that applies to all SKUs,
36 or multiple values, where each value is associated with a specific SKU Id. Items with multiple,
37 SKU-specific values are called SKU enabled.
39 The SKU Id of zero is reserved as a default. The valid SkuId range is 1 to 255.
40 For tokens that are not SKU enabled, the system ignores any set SKU Id and works with the
41 single value for that token. For SKU-enabled tokens, the system will use the SKU Id set by the
42 last call to SetSku(). If no SKU Id is set or the currently set SKU Id isn't valid for the specified token,
43 the system uses the default SKU Id. If the system attempts to use the default SKU Id and no value has been
44 set for that Id, the results are unpredictable.
46 @param[in] SkuId The SKU value that will be used when the PCD service will retrieve and
47 set values associated with a PCD token.
54 (EFIAPI
*PCD_PPI_SET_SKU
)(
61 Retrieves an 8-bit value for a given PCD token.
63 Retrieves the current byte-sized value for a PCD token number.
64 If the TokenNumber is invalid, the results are unpredictable.
66 @param[in] TokenNumber The PCD token number.
68 @return The UINT8 value.
73 (EFIAPI
*PCD_PPI_GET8
)(
80 Retrieves a 16-bit value for a given PCD token.
82 Retrieves the current 16-bit value for a PCD token number.
83 If the TokenNumber is invalid, the results are unpredictable.
85 @param[in] TokenNumber The PCD token number.
87 @return The UINT16 value.
92 (EFIAPI
*PCD_PPI_GET16
)(
99 Retrieves a 32-bit value for a given PCD token.
101 Retrieves the current 32-bit value for a PCD token number.
102 If the TokenNumber is invalid, the results are unpredictable.
104 @param[in] TokenNumber The PCD token number.
106 @return The UINT32 value.
111 (EFIAPI
*PCD_PPI_GET32
)(
118 Retrieves a 64-bit value for a given PCD token.
120 Retrieves the current 64-bit value for a PCD token number.
121 If the TokenNumber is invalid, the results are unpredictable.
123 @param[in] TokenNumber The PCD token number.
125 @return The UINT64 value.
130 (EFIAPI
*PCD_PPI_GET64
)(
137 Retrieves a pointer to a value for a given PCD token.
139 Retrieves the current pointer to the buffer for a PCD token number.
140 Do not make any assumptions about the alignment of the pointer that
141 is returned by this function call. If the TokenNumber is invalid,
142 the results are unpredictable.
144 @param[in] TokenNumber The PCD token number.
146 @return The pointer to the buffer to be retrived.
151 (EFIAPI
*PCD_PPI_GET_POINTER
)(
158 Retrieves a Boolean value for a given PCD token.
160 Retrieves the current boolean value for a PCD token number.
161 Do not make any assumptions about the alignment of the pointer that
162 is returned by this function call. If the TokenNumber is invalid,
163 the results are unpredictable.
165 @param[in] TokenNumber The PCD token number.
167 @return The Boolean value.
172 (EFIAPI
*PCD_PPI_GET_BOOLEAN
)(
179 Retrieves the size of the value for a given PCD token.
181 Retrieves the current size of a particular PCD token.
182 If the TokenNumber is invalid, the results are unpredictable.
184 @param[in] TokenNumber The PCD token number.
186 @return The size of the value for the PCD token.
191 (EFIAPI
*PCD_PPI_GET_SIZE
)(
198 Retrieves an 8-bit value for a given PCD token and token space.
200 Retrieves the 8-bit value of a particular PCD token.
201 If the TokenNumber is invalid or the token space
202 specified by Guid does not exist, the results are
205 @param[in] Guid The token space for the token number.
206 @param[in] TokenNumber The PCD token number.
208 @return The size 8-bit value for the PCD token.
213 (EFIAPI
*PCD_PPI_GET_EX_8
)(
214 IN CONST EFI_GUID
*Guid
,
221 Retrieves a 16-bit value for a given PCD token and token space.
223 Retrieves the 16-bit value of a particular PCD token.
224 If the TokenNumber is invalid or the token space
225 specified by Guid does not exist, the results are
228 @param[in] Guid The token space for the token number.
229 @param[in] TokenNumber The PCD token number.
231 @return The size 16-bit value for the PCD token.
236 (EFIAPI
*PCD_PPI_GET_EX_16
)(
237 IN CONST EFI_GUID
*Guid
,
244 Retrieves a 32-bit value for a given PCD token and token space.
246 Retrieves the 32-bit value of a particular PCD token.
247 If the TokenNumber is invalid or the token space
248 specified by Guid does not exist, the results are
251 @param[in] Guid The token space for the token number.
252 @param[in] TokenNumber The PCD token number.
254 @return The size 32-bit value for the PCD token.
259 (EFIAPI
*PCD_PPI_GET_EX_32
)(
260 IN CONST EFI_GUID
*Guid
,
267 Retrieves a 64-bit value for a given PCD token and token space.
269 Retrieves the 64-bit value of a particular PCD token.
270 If the TokenNumber is invalid or the token space
271 specified by Guid does not exist, the results are
274 @param[in] Guid The token space for the token number.
275 @param[in] TokenNumber The PCD token number.
277 @return The size 64-bit value for the PCD token.
282 (EFIAPI
*PCD_PPI_GET_EX_64
)(
283 IN CONST EFI_GUID
*Guid
,
290 Retrieves a pointer to a value for a given PCD token and token space.
292 Retrieves the current pointer to the buffer for a PCD token number.
293 Do not make any assumptions about the alignment of the pointer that
294 is returned by this function call. If the TokenNumber is invalid,
295 the results are unpredictable.
297 @param[in] Guid The token space for the token number.
298 @param[in] TokenNumber The PCD token number.
300 @return The pointer to the buffer to be retrived.
305 (EFIAPI
*PCD_PPI_GET_EX_POINTER
)(
306 IN CONST EFI_GUID
*Guid
,
313 Retrieves an Boolean value for a given PCD token and token space.
315 Retrieves the Boolean value of a particular PCD token.
316 If the TokenNumber is invalid or the token space
317 specified by Guid does not exist, the results are
320 @param[in] Guid The token space for the token number.
321 @param[in] TokenNumber The PCD token number.
323 @return The size Boolean value for the PCD token.
328 (EFIAPI
*PCD_PPI_GET_EX_BOOLEAN
)(
329 IN CONST EFI_GUID
*Guid
,
336 Retrieves the size of the value for a given PCD token and token space.
338 Retrieves the current size of a particular PCD token.
339 If the TokenNumber is invalid, the results are unpredictable.
341 @param[in] Guid The token space for the token number.
342 @param[in] TokenNumber The PCD token number.
344 @return The size of the value for the PCD token.
349 (EFIAPI
*PCD_PPI_GET_EX_SIZE
)(
350 IN CONST EFI_GUID
*Guid
,
357 Sets an 8-bit value for a given PCD token.
359 When the PCD service sets a value, it will check to ensure that the
360 size of the value being set is compatible with the Token's existing definition.
361 If it is not, an error will be returned.
363 @param[in] TokenNumber The PCD token number.
364 @param[in] Value The value to set for the PCD token.
366 @retval EFI_SUCCESS The procedure returned successfully.
367 @retval EFI_INVALID_PARAMETER The PCD service determined that the size of the data
368 being set was incompatible with a call to this function.
369 Use GetSize() to retrieve the size of the target data.
370 @retval EFI_NOT_FOUND The PCD service could not find the requested token number.
375 (EFIAPI
*PCD_PPI_SET8
)(
376 IN UINTN TokenNumber
,
383 Sets a 16-bit value for a given PCD token.
385 When the PCD service sets a value, it will check to ensure that the
386 size of the value being set is compatible with the Token's existing definition.
387 If it is not, an error will be returned.
389 @param[in] TokenNumber The PCD token number.
390 @param[in] Value The value to set for the PCD token.
392 @retval EFI_SUCCESS The procedure returned successfully.
393 @retval EFI_INVALID_PARAMETER The PCD service determined that the size of the data
394 being set was incompatible with a call to this function.
395 Use GetSize() to retrieve the size of the target data.
396 @retval EFI_NOT_FOUND The PCD service could not find the requested token number.
401 (EFIAPI
*PCD_PPI_SET16
)(
402 IN UINTN TokenNumber
,
409 Sets a 32-bit value for a given PCD token.
411 When the PCD service sets a value, it will check to ensure that the
412 size of the value being set is compatible with the Token's existing definition.
413 If it is not, an error will be returned.
415 @param[in] TokenNumber The PCD token number.
416 @param[in] Value The value to set for the PCD token.
418 @retval EFI_SUCCESS The procedure returned successfully.
419 @retval EFI_INVALID_PARAMETER The PCD service determined that the size of the data
420 being set was incompatible with a call to this function.
421 Use GetSize() to retrieve the size of the target data.
422 @retval EFI_NOT_FOUND The PCD service could not find the requested token number.
427 (EFIAPI
*PCD_PPI_SET32
)(
428 IN UINTN TokenNumber
,
435 Sets a 64-bit value for a given PCD token.
437 When the PCD service sets a value, it will check to ensure that the
438 size of the value being set is compatible with the Token's existing definition.
439 If it is not, an error will be returned.
441 @param[in] TokenNumber The PCD token number.
442 @param[in] Value The value to set for the PCD token.
444 @retval EFI_SUCCESS The procedure returned successfully.
445 @retval EFI_INVALID_PARAMETER The PCD service determined that the size of the data
446 being set was incompatible with a call to this function.
447 Use GetSize() to retrieve the size of the target data.
448 @retval EFI_NOT_FOUND The PCD service could not find the requested token number.
453 (EFIAPI
*PCD_PPI_SET64
)(
454 IN UINTN TokenNumber
,
459 Sets a value of a specified size for a given PCD token.
461 When the PCD service sets a value, it will check to ensure that the
462 size of the value being set is compatible with the Token's existing definition.
463 If it is not, an error will be returned.
465 @param[in] TokenNumber The PCD token number.
466 @param[in, out] SizeOfValue A pointer to the length of the value being set for the PCD token.
467 On input, if the SizeOfValue is greater than the maximum size supported
468 for this TokenNumber then the output value of SizeOfValue will reflect
469 the maximum size supported for this TokenNumber.
470 @param[in] Buffer The buffer to set for the PCD token.
472 @retval EFI_SUCCESS The procedure returned successfully.
473 @retval EFI_INVALID_PARAMETER The PCD service determined that the size of the data
474 being set was incompatible with a call to this function.
475 Use GetSize() to retrieve the size of the target data.
476 @retval EFI_NOT_FOUND The PCD service could not find the requested token number.
481 (EFIAPI
*PCD_PPI_SET_POINTER
)(
482 IN UINTN TokenNumber
,
483 IN OUT UINTN
*SizeOfValue
,
488 Sets an Boolean value for a given PCD token.
490 When the PCD service sets a value, it will check to ensure that the
491 size of the value being set is compatible with the Token's existing definition.
492 If it is not, an error will be returned.
494 @param[in] TokenNumber The PCD token number.
495 @param[in] Value The value to set for the PCD token.
497 @retval EFI_SUCCESS The procedure returned successfully.
498 @retval EFI_INVALID_PARAMETER The PCD service determined that the size of the data
499 being set was incompatible with a call to this function.
500 Use GetSize() to retrieve the size of the target data.
501 @retval EFI_NOT_FOUND The PCD service could not find the requested token number.
506 (EFIAPI
*PCD_PPI_SET_BOOLEAN
)(
507 IN UINTN TokenNumber
,
514 Sets an 8-bit value for a given PCD token.
516 When the PCD service sets a value, it will check to ensure that the
517 size of the value being set is compatible with the Token's existing definition.
518 If it is not, an error will be returned.
520 @param[in] Guid The 128-bit unique value that designates the namespace from which to extract the value.
521 @param[in] TokenNumber The PCD token number.
522 @param[in] Value The value to set for the PCD token.
524 @retval EFI_SUCCESS The procedure returned successfully.
525 @retval EFI_INVALID_PARAMETER The PCD service determined that the size of the data
526 being set was incompatible with a call to this function.
527 Use GetSize() to retrieve the size of the target data.
528 @retval EFI_NOT_FOUND The PCD service could not find the requested token number.
533 (EFIAPI
*PCD_PPI_SET_EX_8
)(
534 IN CONST EFI_GUID
*Guid
,
535 IN UINTN TokenNumber
,
542 Sets a 16-bit value for a given PCD token.
544 When the PCD service sets a value, it will check to ensure that the
545 size of the value being set is compatible with the Token's existing definition.
546 If it is not, an error will be returned.
548 @param[in] Guid The 128-bit unique value that designates the namespace from which to extract the value.
549 @param[in] TokenNumber The PCD token number.
550 @param[in] Value The value to set for the PCD token.
552 @retval EFI_SUCCESS The procedure returned successfully.
553 @retval EFI_INVALID_PARAMETER The PCD service determined that the size of the data
554 being set was incompatible with a call to this function.
555 Use GetSize() to retrieve the size of the target data.
556 @retval EFI_NOT_FOUND The PCD service could not find the requested token number.
561 (EFIAPI
*PCD_PPI_SET_EX_16
)(
562 IN CONST EFI_GUID
*Guid
,
563 IN UINTN TokenNumber
,
570 Sets a 32-bit value for a given PCD token.
572 When the PCD service sets a value, it will check to ensure that the
573 size of the value being set is compatible with the Token's existing definition.
574 If it is not, an error will be returned.
576 @param[in] Guid The 128-bit unique value that designates the namespace from which to extract the value.
577 @param[in] TokenNumber The PCD token number.
578 @param[in] Value The value to set for the PCD token.
580 @retval EFI_SUCCESS The procedure returned successfully.
581 @retval EFI_INVALID_PARAMETER The PCD service determined that the size of the data
582 being set was incompatible with a call to this function.
583 Use GetSize() to retrieve the size of the target data.
584 @retval EFI_NOT_FOUND The PCD service could not find the requested token number.
589 (EFIAPI
*PCD_PPI_SET_EX_32
)(
590 IN CONST EFI_GUID
*Guid
,
591 IN UINTN TokenNumber
,
598 Sets a 64-bit value for a given PCD token.
600 When the PCD service sets a value, it will check to ensure that the
601 size of the value being set is compatible with the Token's existing definition.
602 If it is not, an error will be returned.
604 @param[in] Guid The 128-bit unique value that designates the namespace from which to extract the value.
605 @param[in] TokenNumber The PCD token number.
606 @param[in] Value The value to set for the PCD token.
608 @retval EFI_SUCCESS The procedure returned successfully.
609 @retval EFI_INVALID_PARAMETER The PCD service determined that the size of the data
610 being set was incompatible with a call to this function.
611 Use GetSize() to retrieve the size of the target data.
612 @retval EFI_NOT_FOUND The PCD service could not find the requested token number.
617 (EFIAPI
*PCD_PPI_SET_EX_64
)(
618 IN CONST EFI_GUID
*Guid
,
619 IN UINTN TokenNumber
,
626 Sets a value of a specified size for a given PCD token.
628 When the PCD service sets a value, it will check to ensure that the
629 size of the value being set is compatible with the Token's existing definition.
630 If it is not, an error will be returned.
632 @param[in] Guid The 128-bit unique value that designates the namespace from which to extract the value.
633 @param[in] TokenNumber The PCD token number.
634 @param[in, out] SizeOfValue A pointer to the length of the value being set for the PCD token.
635 On input, if the SizeOfValue is greater than the maximum size supported
636 for this TokenNumber then the output value of SizeOfValue will reflect
637 the maximum size supported for this TokenNumber.
638 @param[in] Buffer The buffer to set for the PCD token.
640 @retval EFI_SUCCESS The procedure returned successfully.
641 @retval EFI_INVALID_PARAMETER The PCD service determined that the size of the data
642 being set was incompatible with a call to this function.
643 Use GetSize() to retrieve the size of the target data.
644 @retval EFI_NOT_FOUND The PCD service could not find the requested token number.
649 (EFIAPI
*PCD_PPI_SET_EX_POINTER
)(
650 IN CONST EFI_GUID
*Guid
,
651 IN UINTN TokenNumber
,
652 IN OUT UINTN
*SizeOfValue
,
657 Sets an Boolean value for a given PCD token.
659 When the PCD service sets a value, it will check to ensure that the
660 size of the value being set is compatible with the Token's existing definition.
661 If it is not, an error will be returned.
663 @param[in] Guid The 128-bit unique value that designates the namespace from which to extract the value.
664 @param[in] TokenNumber The PCD token number.
665 @param[in] Value The value to set for the PCD token.
667 @retval EFI_SUCCESS The procedure returned successfully.
668 @retval EFI_INVALID_PARAMETER The PCD service determined that the size of the data
669 being set was incompatible with a call to this function.
670 Use GetSize() to retrieve the size of the target data.
671 @retval EFI_NOT_FOUND The PCD service could not find the requested token number.
676 (EFIAPI
*PCD_PPI_SET_EX_BOOLEAN
)(
677 IN CONST EFI_GUID
*Guid
,
678 IN UINTN TokenNumber
,
685 Callback on SET function prototype definition.
687 This notification function serves two purposes. Firstly, it notifies the module
688 which did the registration that the value of this PCD token has been set. Secondly,
689 it provides a mechanism for the module which did the registration to intercept the set
690 operation and override the value been set if necessary. After the invocation of the
691 callback function, TokenData will be used by PCD service PEIM to modify the internal data
694 @param[in] CallBackGuid The PCD token GUID being set.
695 @param[in] CallBackToken The PCD token number being set.
696 @param[in, out] TokenData A pointer to the token data being set.
697 @param[in] TokenDataSize The size, in bytes, of the data being set.
704 (EFIAPI
*PCD_PPI_CALLBACK
)(
705 IN CONST EFI_GUID
*CallBackGuid
, OPTIONAL
706 IN UINTN CallBackToken
,
707 IN OUT VOID
*TokenData
,
708 IN UINTN TokenDataSize
714 Specifies a function to be called anytime the value of a designated token is changed.
716 @param[in] TokenNumber The PCD token number.
717 @param[in] Guid The 128-bit unique value that designates the namespace from which to extract the value.
718 @param[in] CallBackFunction The function prototype called when the value associated with the CallBackToken is set.
720 @retval EFI_SUCCESS The PCD service has successfully established a call event
721 for the CallBackToken requested.
722 @retval EFI_NOT_FOUND The PCD service could not find the referenced token number.
727 (EFIAPI
*PCD_PPI_CALLBACK_ONSET
)(
728 IN CONST EFI_GUID
*Guid
, OPTIONAL
729 IN UINTN TokenNumber
,
730 IN PCD_PPI_CALLBACK CallBackFunction
736 Cancels a previously set callback function for a particular PCD token number.
738 @param[in] TokenNumber The PCD token number.
739 @param[in] Guid The 128-bit unique value that designates the namespace from which to extract the value.
740 @param[in] CallBackFunction The function prototype called when the value associated with the CallBackToken is set.
742 @retval EFI_SUCCESS The PCD service has successfully established a call event
743 for the CallBackToken requested.
744 @retval EFI_NOT_FOUND The PCD service could not find the referenced token number.
749 (EFIAPI
*PCD_PPI_CANCEL_CALLBACK
)(
750 IN CONST EFI_GUID
*Guid
, OPTIONAL
751 IN UINTN TokenNumber
,
752 IN PCD_PPI_CALLBACK CallBackFunction
758 Retrieves the next valid token number in a given namespace.
760 This is useful since the PCD infrastructure contains a sparse list of token numbers,
761 and one cannot a priori know what token numbers are valid in the database.
763 If TokenNumber is 0 and Guid is not NULL, then the first token from the token space specified by Guid is returned.
764 If TokenNumber is not 0 and Guid is not NULL, then the next token in the token space specified by Guid is returned.
765 If TokenNumber is 0 and Guid is NULL, then the first token in the default token space is returned.
766 If TokenNumber is not 0 and Guid is NULL, then the next token in the default token space is returned.
767 The token numbers in the default token space may not be related to token numbers in token spaces that are named by Guid.
768 If the next token number can be retrieved, then it is returned in TokenNumber, and EFI_SUCCESS is returned.
769 If TokenNumber represents the last token number in the token space specified by Guid, then EFI_NOT_FOUND is returned.
770 If TokenNumber is not present in the token space specified by Guid, then EFI_NOT_FOUND is returned.
773 @param[in] Guid The 128-bit unique value that designates the namespace from which to extract the value.
774 This is an optional parameter that may be NULL. If this parameter is NULL, then a request
775 is being made to retrieve tokens from the default token space.
776 @param[in, out] TokenNumber A pointer to the PCD token number to use to find the subsequent token number.
778 @retval EFI_SUCCESS The PCD service has retrieved the next valid token number.
779 @retval EFI_NOT_FOUND The PCD service could not find data from the requested token number.
784 (EFIAPI
*PCD_PPI_GET_NEXT_TOKEN
)(
785 IN CONST EFI_GUID
*Guid
, OPTIONAL
786 IN OUT UINTN
*TokenNumber
792 Retrieves the next valid PCD token namespace for a given namespace.
794 Gets the next valid token namespace for a given namespace. This is useful to traverse the valid
795 token namespaces on a platform.
797 @param[in, out] Guid An indirect pointer to EFI_GUID. On input it designates a known token
798 namespace from which the search will start. On output, it designates the next valid
799 token namespace on the platform. If *Guid is NULL, then the GUID of the first token
800 space of the current platform is returned. If the search cannot locate the next valid
801 token namespace, an error is returned and the value of *Guid is undefined.
803 @retval EFI_SUCCESS The PCD service retrieved the value requested.
804 @retval EFI_NOT_FOUND The PCD service could not find the next valid token namespace.
809 (EFIAPI
*PCD_PPI_GET_NEXT_TOKENSPACE
)(
810 IN OUT CONST EFI_GUID
**Guid
816 /// This service abstracts the ability to set/get Platform Configuration Database (PCD).
819 PCD_PPI_SET_SKU SetSku
;
825 PCD_PPI_GET_POINTER GetPtr
;
826 PCD_PPI_GET_BOOLEAN GetBool
;
827 PCD_PPI_GET_SIZE GetSize
;
829 PCD_PPI_GET_EX_8 Get8Ex
;
830 PCD_PPI_GET_EX_16 Get16Ex
;
831 PCD_PPI_GET_EX_32 Get32Ex
;
832 PCD_PPI_GET_EX_64 Get64Ex
;
833 PCD_PPI_GET_EX_POINTER GetPtrEx
;
834 PCD_PPI_GET_EX_BOOLEAN GetBoolEx
;
835 PCD_PPI_GET_EX_SIZE GetSizeEx
;
841 PCD_PPI_SET_POINTER SetPtr
;
842 PCD_PPI_SET_BOOLEAN SetBool
;
844 PCD_PPI_SET_EX_8 Set8Ex
;
845 PCD_PPI_SET_EX_16 Set16Ex
;
846 PCD_PPI_SET_EX_32 Set32Ex
;
847 PCD_PPI_SET_EX_64 Set64Ex
;
848 PCD_PPI_SET_EX_POINTER SetPtrEx
;
849 PCD_PPI_SET_EX_BOOLEAN SetBoolEx
;
851 PCD_PPI_CALLBACK_ONSET CallbackOnSet
;
852 PCD_PPI_CANCEL_CALLBACK CancelCallback
;
853 PCD_PPI_GET_NEXT_TOKEN GetNextToken
;
854 PCD_PPI_GET_NEXT_TOKENSPACE GetNextTokenSpace
;
858 extern EFI_GUID gPcdPpiGuid
;