TianoCore EDK2 master
Loading...
Searching...
No Matches
VariableParsing.h
Go to the documentation of this file.
1
10#ifndef _VARIABLE_PARSING_H_
11#define _VARIABLE_PARSING_H_
12
14#include "Variable.h"
15
27BOOLEAN
29 IN VARIABLE_HEADER *Variable,
30 IN VARIABLE_HEADER *VariableStoreEnd
31 );
32
46 IN VARIABLE_STORE_HEADER *VarStoreHeader
47 );
48
60 IN BOOLEAN AuthFormat
61 );
62
76 IN VARIABLE_HEADER *Variable,
77 IN BOOLEAN AuthFormat
78 );
79
89VOID
91 IN VARIABLE_HEADER *Variable,
92 IN UINTN NameSize,
93 IN BOOLEAN AuthFormat
94 );
95
107UINTN
109 IN VARIABLE_HEADER *Variable,
110 IN BOOLEAN AuthFormat
111 );
112
122VOID
124 IN VARIABLE_HEADER *Variable,
125 IN UINTN DataSize,
126 IN BOOLEAN AuthFormat
127 );
128
140CHAR16 *
142 IN VARIABLE_HEADER *Variable,
143 IN BOOLEAN AuthFormat
144 );
145
156EFI_GUID *
158 IN VARIABLE_HEADER *Variable,
159 IN BOOLEAN AuthFormat
160 );
161
173UINT8 *
175 IN VARIABLE_HEADER *Variable,
176 IN BOOLEAN AuthFormat
177 );
178
189UINTN
191 IN VARIABLE_HEADER *Variable,
192 IN BOOLEAN AuthFormat
193 );
194
208 IN VARIABLE_HEADER *Variable,
209 IN BOOLEAN AuthFormat
210 );
211
223 IN VARIABLE_STORE_HEADER *VarStoreHeader
224 );
225
240 IN VARIABLE_STORE_HEADER *VarStoreHeader
241 );
242
254BOOLEAN
256 IN EFI_TIME *FirstTime,
257 IN EFI_TIME *SecondTime
258 );
259
276 IN CHAR16 *VariableName,
277 IN EFI_GUID *VendorGuid,
278 IN BOOLEAN IgnoreRtCheck,
279 IN OUT VARIABLE_POINTER_TRACK *PtrTrack,
280 IN BOOLEAN AuthFormat
281 );
282
305EFIAPI
307 IN CHAR16 *VariableName,
308 IN EFI_GUID *VendorGuid,
309 IN VARIABLE_STORE_HEADER **VariableStoreList,
310 OUT VARIABLE_HEADER **VariablePtr,
311 IN BOOLEAN AuthFormat
312 );
313
335VOID
337 IN CHAR16 *VariableName,
338 IN EFI_GUID *VendorGuid,
339 IN BOOLEAN Volatile,
340 IN BOOLEAN Read,
341 IN BOOLEAN Write,
342 IN BOOLEAN Delete,
343 IN BOOLEAN Cache,
344 IN OUT VARIABLE_INFO_ENTRY **VariableInfo
345 );
346
347#endif
UINT64 UINTN
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
VARIABLE_STORE_STATUS
EFI_GUID * GetVendorGuidPtr(IN VARIABLE_HEADER *Variable, IN BOOLEAN AuthFormat)
Definition: Variable.c:274
VOID SetDataSizeOfVariable(IN VARIABLE_HEADER *Variable, IN UINTN DataSize, IN BOOLEAN AuthFormat)
VARIABLE_HEADER * GetNextVariablePtr(IN VARIABLE_HEADER *Variable, IN BOOLEAN AuthFormat)
VARIABLE_HEADER * GetStartPointer(IN VARIABLE_STORE_HEADER *VarStoreHeader)
Definition: Variable.c:86
UINT8 * GetVariableDataPtr(IN VARIABLE_HEADER *Variable, IN BOOLEAN AuthFormat)
EFI_STATUS EFIAPI VariableServiceGetNextVariableInternal(IN CHAR16 *VariableName, IN EFI_GUID *VendorGuid, IN VARIABLE_STORE_HEADER **VariableStoreList, OUT VARIABLE_HEADER **VariablePtr, IN BOOLEAN AuthFormat)
VARIABLE_STORE_STATUS GetVariableStoreStatus(IN VARIABLE_STORE_HEADER *VarStoreHeader)
Definition: Variable.c:372
EFI_STATUS FindVariableEx(IN CHAR16 *VariableName, IN EFI_GUID *VendorGuid, IN BOOLEAN IgnoreRtCheck, IN OUT VARIABLE_POINTER_TRACK *PtrTrack, IN BOOLEAN AuthFormat)
UINTN GetVariableDataOffset(IN VARIABLE_HEADER *Variable, IN BOOLEAN AuthFormat)
BOOLEAN IsValidVariableHeader(IN VARIABLE_HEADER *Variable, IN VARIABLE_HEADER *VariableStoreEnd)
UINTN NameSizeOfVariable(IN VARIABLE_HEADER *Variable, IN BOOLEAN AuthFormat)
Definition: Variable.c:174
VARIABLE_HEADER * GetEndPointer(IN VARIABLE_STORE_HEADER *VarStoreHeader)
Definition: Variable.c:109
VOID SetNameSizeOfVariable(IN VARIABLE_HEADER *Variable, IN UINTN NameSize, IN BOOLEAN AuthFormat)
VOID UpdateVariableInfo(IN CHAR16 *VariableName, IN EFI_GUID *VendorGuid, IN BOOLEAN Volatile, IN BOOLEAN Read, IN BOOLEAN Write, IN BOOLEAN Delete, IN BOOLEAN Cache, IN OUT VARIABLE_INFO_ENTRY **VariableInfo)
BOOLEAN VariableCompareTimeStampInternal(IN EFI_TIME *FirstTime, IN EFI_TIME *SecondTime)
UINTN DataSizeOfVariable(IN VARIABLE_HEADER *Variable, IN BOOLEAN AuthFormat)
Definition: Variable.c:215
CHAR16 * GetVariableNamePtr(IN VARIABLE_HEADER *Variable, IN BOOLEAN AuthFormat)
Definition: Variable.c:256
UINTN GetVariableHeaderSize(IN BOOLEAN AuthFormat)
Definition: Variable.c:149
Definition: Base.h:213