TianoCore EDK2 master
Loading...
Searching...
No Matches
VarCheckLib.h
Go to the documentation of this file.
1
9#ifndef _VARIABLE_CHECK_LIB_H_
10#define _VARIABLE_CHECK_LIB_H_
11
12#include <Protocol/VarCheck.h>
13
14typedef enum {
15 VarCheckRequestReserved0 = 0,
16 VarCheckRequestReserved1 = 1,
17 VarCheckFromTrusted = 2,
18 VarCheckFromUntrusted = 3,
19} VAR_CHECK_REQUEST_SOURCE;
20
21typedef
22VOID
23(EFIAPI *VAR_CHECK_END_OF_DXE_CALLBACK)(
24 VOID
25 );
26
41EFIAPI
43 IN VAR_CHECK_END_OF_DXE_CALLBACK Callback
44 );
45
58VOID ***
59EFIAPI
61 IN OUT UINTN *AddressPointerCount OPTIONAL
62 );
63
78EFIAPI
80 IN VOID **AddressPointer
81 );
82
98EFIAPI
100 IN VAR_CHECK_SET_VARIABLE_CHECK_HANDLER Handler
101 );
102
119EFIAPI
121 IN CHAR16 *Name,
122 IN EFI_GUID *Guid,
123 IN VAR_CHECK_VARIABLE_PROPERTY *VariableProperty
124 );
125
139EFIAPI
141 IN CHAR16 *Name,
142 IN EFI_GUID *Guid,
143 OUT VAR_CHECK_VARIABLE_PROPERTY *VariableProperty
144 );
145
164EFIAPI
166 IN CHAR16 *VariableName,
167 IN EFI_GUID *VendorGuid,
168 IN UINT32 Attributes,
169 IN UINTN DataSize,
170 IN VOID *Data,
171 IN VAR_CHECK_REQUEST_SOURCE RequestSource
172 );
173
174#endif
UINT64 UINTN
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
VOID ***EFIAPI VarCheckLibInitializeAtEndOfDxe(IN OUT UINTN *AddressPointerCount OPTIONAL)
Definition: VarCheckLib.c:304
EFI_STATUS EFIAPI VarCheckLibRegisterAddressPointer(IN VOID **AddressPointer)
Definition: VarCheckLib.c:398
EFI_STATUS EFIAPI VarCheckLibRegisterSetVariableCheckHandler(IN VAR_CHECK_SET_VARIABLE_CHECK_HANDLER Handler)
Definition: VarCheckLib.c:440
EFI_STATUS EFIAPI VarCheckLibRegisterEndOfDxeCallback(IN VAR_CHECK_END_OF_DXE_CALLBACK Callback)
Definition: VarCheckLib.c:264
EFI_STATUS EFIAPI VarCheckLibVariablePropertySet(IN CHAR16 *Name, IN EFI_GUID *Guid, IN VAR_CHECK_VARIABLE_PROPERTY *VariableProperty)
Definition: VarCheckLib.c:483
EFI_STATUS EFIAPI VarCheckLibSetVariableCheck(IN CHAR16 *VariableName, IN EFI_GUID *VendorGuid, IN UINT32 Attributes, IN UINTN DataSize, IN VOID *Data, IN VAR_CHECK_REQUEST_SOURCE RequestSource)
Definition: VarCheckLib.c:607
EFI_STATUS EFIAPI VarCheckLibVariablePropertyGet(IN CHAR16 *Name, IN EFI_GUID *Guid, OUT VAR_CHECK_VARIABLE_PROPERTY *VariableProperty)
Definition: VarCheckLib.c:558
Definition: Base.h:213