21#ifndef __PI_PCD_PPI_H__
22#define __PI_PCD_PPI_H__
26#define EFI_PEI_PCD_PPI_GUID \
27 { 0x1f34d25, 0x4de2, 0x23ad, { 0x3f, 0xf3, 0x36, 0x35, 0x3f, 0xf3, 0x23, 0xf1 } }
29#define EFI_PCD_INVALID_TOKEN_NUMBER ((UINTN) 0)
313(EFIAPI *EFI_PEI_PCD_PPI_CALLBACK)(
316 IN OUT VOID *TokenData,
338 IN EFI_PEI_PCD_PPI_CALLBACK CallBackFunction
360 IN EFI_PEI_PCD_PPI_CALLBACK CallBackFunction
EFI_STATUS(EFIAPI * EFI_PEI_PCD_PPI_SET_16)(IN CONST EFI_GUID *Guid, IN UINTN TokenNumber, IN UINT16 Value)
EFI_STATUS(EFIAPI * EFI_PEI_PCD_PPI_SET_64)(IN CONST EFI_GUID *Guid, IN UINTN TokenNumber, IN UINT64 Value)
UINT32(EFIAPI * EFI_PEI_PCD_PPI_GET_32)(IN CONST EFI_GUID *Guid, IN UINTN TokenNumber)
BOOLEAN(EFIAPI * EFI_PEI_PCD_PPI_GET_BOOLEAN)(IN CONST EFI_GUID *Guid, IN UINTN TokenNumber)
EFI_STATUS(EFIAPI * EFI_PEI_PCD_PPI_CANCEL_CALLBACK)(IN CONST EFI_GUID *Guid OPTIONAL, IN UINTN CallBackToken, IN EFI_PEI_PCD_PPI_CALLBACK CallBackFunction)
UINT16(EFIAPI * EFI_PEI_PCD_PPI_GET_16)(IN CONST EFI_GUID *Guid, IN UINTN TokenNumber)
EFI_STATUS(EFIAPI * EFI_PEI_PCD_PPI_SET_BOOLEAN)(IN CONST EFI_GUID *Guid, IN UINTN TokenNumber, IN BOOLEAN Value)
EFI_STATUS(EFIAPI * EFI_PEI_PCD_PPI_GET_NEXT_TOKEN_SPACE)(IN OUT CONST EFI_GUID **Guid)
EFI_STATUS(EFIAPI * EFI_PEI_PCD_PPI_GET_NEXT_TOKEN)(IN CONST EFI_GUID *Guid OPTIONAL, IN UINTN *TokenNumber)
EFI_STATUS(EFIAPI * EFI_PEI_PCD_PPI_SET_8)(IN CONST EFI_GUID *Guid, IN UINTN TokenNumber, IN UINT8 Value)
UINT8(EFIAPI * EFI_PEI_PCD_PPI_GET_8)(IN CONST EFI_GUID *Guid, IN UINTN TokenNumber)
VOID(EFIAPI * EFI_PEI_PCD_PPI_SET_SKU)(IN UINTN SkuId)
UINTN(EFIAPI * EFI_PEI_PCD_PPI_GET_SIZE)(IN CONST EFI_GUID *Guid, IN UINTN TokenNumber)
EFI_STATUS(EFIAPI * EFI_PEI_PCD_PPI_CALLBACK_ON_SET)(IN CONST EFI_GUID *Guid OPTIONAL, IN UINTN CallBackToken, IN EFI_PEI_PCD_PPI_CALLBACK CallBackFunction)
EFI_STATUS(EFIAPI * EFI_PEI_PCD_PPI_SET_32)(IN CONST EFI_GUID *Guid, IN UINTN TokenNumber, IN UINT32 Value)
UINT64(EFIAPI * EFI_PEI_PCD_PPI_GET_64)(IN CONST EFI_GUID *Guid, IN UINTN TokenNumber)
EFI_STATUS(EFIAPI * EFI_PEI_PCD_PPI_SET_POINTER)(IN CONST EFI_GUID *Guid, IN UINTN TokenNumber, IN OUT UINTN *SizeOfValue, IN VOID *Buffer)
VOID *(EFIAPI * EFI_PEI_PCD_PPI_GET_POINTER)(IN CONST EFI_GUID *Guid, IN UINTN TokenNumber)