TianoCore EDK2 master
Loading...
Searching...
No Matches
VarCheckHiiLib.c
Go to the documentation of this file.
1
9#include "VarCheckHii.h"
10#include "VarCheckHiiGen.h"
12
24EFIAPI
26 IN CHAR16 *VariableName,
27 IN EFI_GUID *VendorGuid,
28 IN UINT32 Attributes,
29 IN UINTN DataSize,
30 IN VOID *Data
31 )
32{
33 return CheckHiiVariableCommon (mVarCheckHiiBin, mVarCheckHiiBinSize, VariableName, VendorGuid, Attributes, DataSize, Data);
34}
35
46EFIAPI
48 IN EFI_HANDLE ImageHandle,
49 IN EFI_SYSTEM_TABLE *SystemTable
50 )
51{
53 VarCheckLibRegisterAddressPointer ((VOID **)&mVarCheckHiiBin);
55
56 return EFI_SUCCESS;
57}
UINT64 UINTN
#define IN
Definition: Base.h:279
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
VOID * EFI_HANDLE
Definition: UefiBaseType.h:33
#define EFI_SUCCESS
Definition: UefiBaseType.h:112
VOID EFIAPI VarCheckHiiGen(VOID)
EFI_STATUS EFIAPI SetVariableCheckHandlerHii(IN CHAR16 *VariableName, IN EFI_GUID *VendorGuid, IN UINT32 Attributes, IN UINTN DataSize, IN VOID *Data)
EFI_STATUS EFIAPI VarCheckHiiLibConstructor(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
EFI_STATUS EFIAPI CheckHiiVariableCommon(IN VAR_CHECK_HII_VARIABLE_HEADER *HiiVariableBin, IN UINTN HiiVariableBinSize, IN CHAR16 *VariableName, IN EFI_GUID *VendorGuid, IN UINT32 Attributes, IN UINTN DataSize, IN VOID *Data)
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
Definition: Base.h:213