VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/MdeModulePkg/Library/VarCheckHiiLib/VarCheckHii.h@ 99404

Last change on this file since 99404 was 99404, checked in by vboxsync, 22 months ago

Devices/EFI/FirmwareNew: Update to edk2-stable202302 and make it build, bugref:4643

  • Property svn:eol-style set to native
File size: 1.3 KB
Line 
1/** @file
2 Include file for Var Check Hii handler and bin.
3
4Copyright (c) 2015 - 2017, Intel Corporation. All rights reserved.<BR>
5SPDX-License-Identifier: BSD-2-Clause-Patent
6
7**/
8
9#ifndef _VAR_CHECK_HII_H_
10#define _VAR_CHECK_HII_H_
11
12#include <Library/VarCheckLib.h>
13#include <Library/BaseLib.h>
14#include <Library/DebugLib.h>
15#include <Library/BaseMemoryLib.h>
16#include <Library/UefiBootServicesTableLib.h>
17#include <Library/MemoryAllocationLib.h>
18
19#include <Guid/MdeModuleHii.h>
20
21#include <Protocol/HiiDatabase.h>
22#include <Protocol/FirmwareVolume2.h>
23#include <Protocol/FirmwareVolumeBlock.h>
24
25#include "InternalVarCheckStructure.h"
26#include "VarCheckHiiGen.h"
27
28// #define DUMP_VAR_CHECK_HII
29// #define DUMP_HII_DATA
30
31typedef struct {
32 UINT8 HiiOpCode;
33 CHAR8 *HiiOpCodeStr;
34} VAR_CHECK_HII_OPCODE_STRING;
35
36typedef struct {
37 UINT8 PackageType;
38 CHAR8 *PackageTypeStr;
39} VAR_CHECK_HII_PACKAGE_TYPE_STRING;
40
41/**
42 Dump Var Check HII.
43
44 @param[in] VarCheckHiiBin Pointer to VarCheckHiiBin.
45 @param[in] VarCheckHiiBinSize VarCheckHiiBin size.
46
47**/
48VOID
49DumpVarCheckHii (
50 IN VOID *VarCheckHiiBin,
51 IN UINTN VarCheckHiiBinSize
52 );
53
54extern VAR_CHECK_HII_VARIABLE_HEADER *mVarCheckHiiBin;
55extern UINTN mVarCheckHiiBinSize;
56
57#endif
Note: See TracBrowser for help on using the repository browser.

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