XenevaOS
Loading...
Searching...
No Matches
Classes | Macros | Typedefs | Variables
PcdInfo.h File Reference

Go to the source code of this file.

Classes

struct  _GET_PCD_INFO_PPI
 

Macros

#define GET_PCD_INFO_PPI_GUID    { 0x4d8b155b, 0xc059, 0x4c8f, { 0x89, 0x26, 0x6, 0xfd, 0x43, 0x31, 0xdb, 0x8a } }
 

Typedefs

typedef struct _GET_PCD_INFO_PPI GET_PCD_INFO_PPI
 
typedef EFI_STATUS(EFIAPIGET_PCD_INFO_PPI_GET_INFO) (IN UINTN TokenNumber, OUT EFI_PCD_INFO *PcdInfo)
 
typedef EFI_STATUS(EFIAPIGET_PCD_INFO_PPI_GET_INFO_EX) (IN CONST EFI_GUID *Guid, IN UINTN TokenNumber, OUT EFI_PCD_INFO *PcdInfo)
 
typedef UINTN(EFIAPIGET_PCD_INFO_PPI_GET_SKU) (VOID)
 

Variables

EFI_GUID gGetPcdInfoPpiGuid
 

Detailed Description

Native Platform Configuration Database (PCD) INFO PPI

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

Different with the EFI_GET_PCD_INFO_PPI defined in PI 1.2.1 specification, the native PCD INFO PPI provide interfaces for dynamic and dynamic-ex type PCD. The interfaces for dynamic type PCD do not require the token space guid as parameter, but interfaces for dynamic-ex type PCD require token space guid as parameter.

Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php

THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.

Macro Definition Documentation

◆ GET_PCD_INFO_PPI_GUID

#define GET_PCD_INFO_PPI_GUID    { 0x4d8b155b, 0xc059, 0x4c8f, { 0x89, 0x26, 0x6, 0xfd, 0x43, 0x31, 0xdb, 0x8a } }

Typedef Documentation

◆ GET_PCD_INFO_PPI

The forward declaration for GET_PCD_INFO_PPI.

◆ GET_PCD_INFO_PPI_GET_INFO

typedef EFI_STATUS(EFIAPI * GET_PCD_INFO_PPI_GET_INFO) (IN UINTN TokenNumber, OUT EFI_PCD_INFO *PcdInfo)

Retrieve additional information associated with a PCD token in the default token space.

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]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.

◆ GET_PCD_INFO_PPI_GET_INFO_EX

typedef EFI_STATUS(EFIAPI * GET_PCD_INFO_PPI_GET_INFO_EX) (IN CONST EFI_GUID *Guid, IN UINTN TokenNumber, OUT EFI_PCD_INFO *PcdInfo)

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.

◆ GET_PCD_INFO_PPI_GET_SKU

typedef UINTN(EFIAPI * GET_PCD_INFO_PPI_GET_SKU) (VOID)

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

◆ gGetPcdInfoPpiGuid

EFI_GUID gGetPcdInfoPpiGuid
extern