MdePkg[all]  1.08
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
PiPcdInfo.h File Reference

Data Structures

struct  _EFI_GET_PCD_INFO_PROTOCOL
 

Macros

#define EFI_GET_PCD_INFO_PROTOCOL_GUID   { 0xfd0f4478, 0xefd, 0x461d, { 0xba, 0x2d, 0xe5, 0x8c, 0x45, 0xfd, 0x5f, 0x5e } }
 

Typedefs

typedef struct
_EFI_GET_PCD_INFO_PROTOCOL 
EFI_GET_PCD_INFO_PROTOCOL
 
typedef IN UINTN TokenNumber
 
typedef IN UINTN OUT EFI_PCD_INFOPcdInfo
 

Functions

typedef EFI_STATUS (EFIAPI *EFI_GET_PCD_INFO_PROTOCOL_GET_INFO)(IN CONST EFI_GUID *Guid
 
typedef UINTN (EFIAPI *EFI_GET_PCD_INFO_PROTOCOL_GET_SKU)(VOID)
 

Variables

EFI_GUID gEfiGetPcdInfoProtocolGuid
 

Detailed Description

Platform Configuration Database (PCD) Info Protocol defined in PI 1.2.1 Vol3.

The protocol that provides additional information about items that reside in the PCD database.

Copyright (c) 2013, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Revision Reference:
PI Version 1.2.1 Vol 3.

Macro Definition Documentation

#define EFI_GET_PCD_INFO_PROTOCOL_GUID   { 0xfd0f4478, 0xefd, 0x461d, { 0xba, 0x2d, 0xe5, 0x8c, 0x45, 0xfd, 0x5f, 0x5e } }

Typedef Documentation

The forward declaration for EFI_GET_PCD_INFO_PROTOCOL.

typedef IN UINTN TokenNumber

Function Documentation

typedef EFI_STATUS ( EFIAPI EFI_GET_PCD_INFO_PROTOCOL_GET_INFO)

Retrieve additional information associated with a PCD token.

This includes information such as the type of value the TokenNumber is associated with as well as possible human readable name that is associated with the token.

Parameters
[in]GuidThe 128-bit unique value that designates the namespace from which to extract the value.
[in]TokenNumberThe PCD token number.
[out]PcdInfoThe returned information associated with the requested TokenNumber.
Return values
EFI_SUCCESSThe PCD information was returned successfully
EFI_NOT_FOUNDThe PCD service could not find the requested token number.
typedef UINTN ( EFIAPI EFI_GET_PCD_INFO_PROTOCOL_GET_SKU)

Retrieve the currently set SKU Id.

Returns
The currently set SKU Id. If the platform has not set at a SKU Id, then the default SKU Id value of 0 is returned. If the platform has set a SKU Id, then the currently set SKU Id is returned.

Variable Documentation

EFI_GUID gEfiGetPcdInfoProtocolGuid