TianoCore EDK2 master
|
#include <Uefi.h>
#include <Library/DebugLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/MmServicesTableLib.h>
#include <Protocol/MmCommunication.h>
#include <Library/VarCheckLib.h>
#include "VarCheckHii.h"
Go to the source code of this file.
Functions | |
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) |
Var Check Hii Lib Common logic Copyright (c) 2024, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file VarCheckHiiLibCommon.h.
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 | ||
) |
SetVariable check handler HII.
[in] | HiiVariableBin | Variable BIN. |
[in] | HiiVariableBinSize | The size of Variable BIN. |
[in] | VariableName | Name of Variable to set. |
[in] | VendorGuid | Variable vendor GUID. |
[in] | Attributes | Attribute value of the variable. |
[in] | DataSize | Size of Data to set. |
[in] | Data | Data pointer. |
EFI_SUCCESS | The SetVariable check result was success. |
EFI_SECURITY_VIOLATION | Check fail. |
Definition at line 271 of file VarCheckHiiLibCommon.c.