/** @file\r
- Platform Configuration Database (PCD) Protocol defined in PI 1.2 Vol3\r
+ Platform Configuration Database (PCD) PPI defined in PI 1.2 Vol3\r
\r
A platform database that contains a variety of current platform settings or\r
directives that can be accessed by a driver or application.\r
- PI PCD protocol only provide the accessing interfaces for Dynamic-Ex type PCD.\r
+ PI PCD ppi only provide the accessing interfaces for Dynamic-Ex type PCD.\r
\r
- Callers to this protocol must be at a TPL_APPLICATION task priority level.\r
This is the base PCD service API that provides an abstraction for accessing configuration content in\r
the platform. It a seamless mechanism for extracting information regardless of where the\r
information is stored (such as in Read-only data, or an EFI Variable).\r
This protocol allows access to data through size-granular APIs and provides a mechanism for a\r
firmware component to monitor specific settings and be alerted when a setting is changed.\r
\r
- Copyright (c) 2009 - 2010, Intel Corporation\r
- All rights reserved. This program and the accompanying materials\r
+ Copyright (c) 2009 - 2013, Intel Corporation. All rights reserved.<BR>\r
+ This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
http://opensource.org/licenses/bsd-license.php\r
**/\r
typedef\r
UINT8\r
-(EFIAPI *EFI_PEI_PCD_PPI_GET_EX_8)(\r
+(EFIAPI *EFI_PEI_PCD_PPI_GET_8)(\r
IN CONST EFI_GUID *Guid,\r
IN UINTN TokenNumber\r
);\r
\r
/**\r
- Retrieves the current byte-sized value for a PCD token number. If the TokenNumber is invalid,\r
+ Retrieves the current word-sized value for a PCD token number. If the TokenNumber is invalid,\r
the results are unpredictable.\r
\r
@param[in] Guid The 128-bit unique value that designates which namespace to extract the value from.\r
**/\r
typedef\r
UINT16\r
-(EFIAPI *EFI_PEI_PCD_PPI_GET_EX_16)(\r
+(EFIAPI *EFI_PEI_PCD_PPI_GET_16)(\r
IN CONST EFI_GUID *Guid,\r
IN UINTN TokenNumber\r
);\r
**/\r
typedef\r
UINT32\r
-(EFIAPI *EFI_PEI_PCD_PPI_GET_EX_32)(\r
+(EFIAPI *EFI_PEI_PCD_PPI_GET_32)(\r
IN CONST EFI_GUID *Guid,\r
IN UINTN TokenNumber\r
);\r
**/\r
typedef\r
UINT64\r
-(EFIAPI *EFI_PEI_PCD_PPI_GET_EX_64)(\r
+(EFIAPI *EFI_PEI_PCD_PPI_GET_64)(\r
IN CONST EFI_GUID *Guid,\r
IN UINTN TokenNumber\r
);\r
**/\r
typedef\r
VOID *\r
-(EFIAPI *EFI_PEI_PCD_PPI_GET_EX_POINTER)(\r
+(EFIAPI *EFI_PEI_PCD_PPI_GET_POINTER)(\r
IN CONST EFI_GUID *Guid,\r
IN UINTN TokenNumber\r
);\r
**/\r
typedef\r
BOOLEAN\r
-(EFIAPI *EFI_PEI_PCD_PPI_GET_EX_BOOLEAN)(\r
+(EFIAPI *EFI_PEI_PCD_PPI_GET_BOOLEAN)(\r
IN CONST EFI_GUID *Guid,\r
IN UINTN TokenNumber\r
);\r
**/\r
typedef\r
UINTN\r
-(EFIAPI *EFI_PEI_PCD_PPI_GET_EX_SIZE)(\r
+(EFIAPI *EFI_PEI_PCD_PPI_GET_SIZE)(\r
IN CONST EFI_GUID *Guid,\r
IN UINTN TokenNumber\r
);\r
**/\r
typedef\r
EFI_STATUS\r
-(EFIAPI *EFI_PEI_PCD_PPI_SET_EX_8)(\r
+(EFIAPI *EFI_PEI_PCD_PPI_SET_8)(\r
IN CONST EFI_GUID *Guid,\r
IN UINTN TokenNumber,\r
IN UINT8 Value\r
**/\r
typedef\r
EFI_STATUS\r
-(EFIAPI *EFI_PEI_PCD_PPI_SET_EX_16)(\r
+(EFIAPI *EFI_PEI_PCD_PPI_SET_16)(\r
IN CONST EFI_GUID *Guid,\r
IN UINTN TokenNumber,\r
IN UINT16 Value\r
**/\r
typedef\r
EFI_STATUS\r
-(EFIAPI *EFI_PEI_PCD_PPI_SET_EX_32)(\r
+(EFIAPI *EFI_PEI_PCD_PPI_SET_32)(\r
IN CONST EFI_GUID *Guid,\r
IN UINTN TokenNumber,\r
IN UINT32 Value\r
**/\r
typedef\r
EFI_STATUS\r
-(EFIAPI *EFI_PEI_PCD_PPI_SET_EX_64)(\r
+(EFIAPI *EFI_PEI_PCD_PPI_SET_64)(\r
IN CONST EFI_GUID *Guid,\r
IN UINTN TokenNumber,\r
IN UINT64 Value\r
**/\r
typedef\r
EFI_STATUS\r
-(EFIAPI *EFI_PEI_PCD_PPI_SET_EX_POINTER)(\r
+(EFIAPI *EFI_PEI_PCD_PPI_SET_POINTER)(\r
IN CONST EFI_GUID *Guid,\r
IN UINTN TokenNumber,\r
IN OUT UINTN *SizeOfValue,\r
**/\r
typedef\r
EFI_STATUS\r
-(EFIAPI *EFI_PEI_PCD_PPI_SET_EX_BOOLEAN)(\r
+(EFIAPI *EFI_PEI_PCD_PPI_SET_BOOLEAN)(\r
IN CONST EFI_GUID *Guid,\r
IN UINTN TokenNumber,\r
IN BOOLEAN Value\r
know what token numbers are valid in the database.\r
\r
@param[in] Guid The 128-bit unique value that designates which namespace to extract the value from.\r
- @param[in] TokenNumber The PCD token number.\r
+ @param[in] TokenNumber A pointer to the PCD token number to use to find the subsequent token number. To\r
+ retrieve the "first" token, have the pointer reference a TokenNumber value of 0.\r
\r
@retval EFI_SUCCESS The PCD service has retrieved the value requested.\r
@retval EFI_NOT_FOUND The PCD service could not find data from the requested token number.\r
\r
typedef struct {\r
EFI_PEI_PCD_PPI_SET_SKU SetSku;\r
- EFI_PEI_PCD_PPI_GET_EX_8 GetEx8;\r
- EFI_PEI_PCD_PPI_GET_EX_16 GetEx16;\r
- EFI_PEI_PCD_PPI_GET_EX_32 GetEx32;\r
- EFI_PEI_PCD_PPI_GET_EX_64 GetEx64;\r
- EFI_PEI_PCD_PPI_GET_EX_POINTER GetExPtr;\r
- EFI_PEI_PCD_PPI_GET_EX_BOOLEAN GetExBool;\r
- EFI_PEI_PCD_PPI_GET_EX_SIZE GetExSize;\r
- EFI_PEI_PCD_PPI_SET_EX_8 SetEx8;\r
- EFI_PEI_PCD_PPI_SET_EX_16 SetEx16;\r
- EFI_PEI_PCD_PPI_SET_EX_32 SetEx32;\r
- EFI_PEI_PCD_PPI_SET_EX_64 SetEx64;\r
- EFI_PEI_PCD_PPI_SET_EX_POINTER SetExPtr;\r
- EFI_PEI_PCD_PPI_SET_EX_BOOLEAN SetExBool;\r
+ EFI_PEI_PCD_PPI_GET_8 Get8;\r
+ EFI_PEI_PCD_PPI_GET_16 Get16;\r
+ EFI_PEI_PCD_PPI_GET_32 Get32;\r
+ EFI_PEI_PCD_PPI_GET_64 Get64;\r
+ EFI_PEI_PCD_PPI_GET_POINTER GetPtr;\r
+ EFI_PEI_PCD_PPI_GET_BOOLEAN GetBool;\r
+ EFI_PEI_PCD_PPI_GET_SIZE GetSize;\r
+ EFI_PEI_PCD_PPI_SET_8 Set8;\r
+ EFI_PEI_PCD_PPI_SET_16 Set16;\r
+ EFI_PEI_PCD_PPI_SET_32 Set32;\r
+ EFI_PEI_PCD_PPI_SET_64 Set64;\r
+ EFI_PEI_PCD_PPI_SET_POINTER SetPtr;\r
+ EFI_PEI_PCD_PPI_SET_BOOLEAN SetBool;\r
EFI_PEI_PCD_PPI_CALLBACK_ON_SET CallbackOnSet;\r
EFI_PEI_PCD_PPI_CANCEL_CALLBACK CancelCallback;\r
EFI_PEI_PCD_PPI_GET_NEXT_TOKEN GetNextToken;\r