VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/MdeModulePkg/Library/VarCheckHiiLib/VarCheckHiiLibCommon.h

Last change on this file was 108794, checked in by vboxsync, 4 weeks ago

Devices/EFI/FirmwareNew: Merge edk2-stable202502 from the vendor branch and make it build for the important platforms, bugref:4643

  • Property svn:eol-style set to native
File size: 1.4 KB
Line 
1/** @file
2 Var Check Hii Lib Common logic
3Copyright (c) 2024, Intel Corporation. All rights reserved.<BR>
4SPDX-License-Identifier: BSD-2-Clause-Patent
5**/
6
7#ifndef VAR_CHECK_HII_LIB_GUID_H_
8#define VAR_CHECK_HII_LIB_GUID_H_
9
10#include <Uefi.h>
11#include <Library/DebugLib.h>
12#include <Library/MemoryAllocationLib.h>
13#include <Library/MmServicesTableLib.h>
14#include <Protocol/MmCommunication.h>
15#include <Library/VarCheckLib.h>
16
17#include "VarCheckHii.h"
18
19/**
20 SetVariable check handler HII.
21 @param[in] HiiVariableBin Variable BIN.
22 @param[in] HiiVariableBinSize The size of Variable BIN.
23 @param[in] VariableName Name of Variable to set.
24 @param[in] VendorGuid Variable vendor GUID.
25 @param[in] Attributes Attribute value of the variable.
26 @param[in] DataSize Size of Data to set.
27 @param[in] Data Data pointer.
28 @retval EFI_SUCCESS The SetVariable check result was success.
29 @retval EFI_SECURITY_VIOLATION Check fail.
30**/
31EFI_STATUS
32EFIAPI
33CheckHiiVariableCommon (
34 IN VAR_CHECK_HII_VARIABLE_HEADER *HiiVariableBin,
35 IN UINTN HiiVariableBinSize,
36 IN CHAR16 *VariableName,
37 IN EFI_GUID *VendorGuid,
38 IN UINT32 Attributes,
39 IN UINTN DataSize,
40 IN VOID *Data
41 );
42
43#endif
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette