TianoCore EDK2 master
Loading...
Searching...
No Matches
ReadOnlyVariable2.h
Go to the documentation of this file.
1
13#ifndef __PEI_READ_ONLY_VARIABLE2_PPI_H__
14#define __PEI_READ_ONLY_VARIABLE2_PPI_H__
15
16#define EFI_PEI_READ_ONLY_VARIABLE2_PPI_GUID \
17 { 0x2ab86ef5, 0xecb5, 0x4134, { 0xb5, 0x56, 0x38, 0x54, 0xca, 0x1f, 0xe1, 0xb4 } }
18
20
48typedef
50(EFIAPI *EFI_PEI_GET_VARIABLE2)(
52 IN CONST CHAR16 *VariableName,
53 IN CONST EFI_GUID *VariableGuid,
54 OUT UINT32 *Attributes,
55 IN OUT UINTN *DataSize,
56 OUT VOID *Data OPTIONAL
57 );
58
89typedef
93 IN OUT UINTN *VariableNameSize,
94 IN OUT CHAR16 *VariableName,
95 IN OUT EFI_GUID *VariableGuid
96 );
97
103 EFI_PEI_GET_VARIABLE2 GetVariable;
104 EFI_PEI_GET_NEXT_VARIABLE_NAME2 NextVariableName;
105};
106
107extern EFI_GUID gEfiPeiReadOnlyVariable2PpiGuid;
108
109#endif
UINT64 UINTN
#define CONST
Definition: Base.h:259
#define OPTIONAL
Definition: Base.h:290
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
EFI_STATUS(EFIAPI * EFI_PEI_GET_VARIABLE2)(IN CONST EFI_PEI_READ_ONLY_VARIABLE2_PPI *This, IN CONST CHAR16 *VariableName, IN CONST EFI_GUID *VariableGuid, OUT UINT32 *Attributes, IN OUT UINTN *DataSize, OUT VOID *Data OPTIONAL)
EFI_STATUS(EFIAPI * EFI_PEI_GET_NEXT_VARIABLE_NAME2)(IN CONST EFI_PEI_READ_ONLY_VARIABLE2_PPI *This, IN OUT UINTN *VariableNameSize, IN OUT CHAR16 *VariableName, IN OUT EFI_GUID *VariableGuid)
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
Definition: Base.h:213