VirtualBox

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

Last change on this file since 77662 was 77662, checked in by vboxsync, 6 years ago

EFI: First step in UDK2018 merge. Does not build yet.

  • Property svn:eol-style set to native
File size: 1.6 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>
5This program and the accompanying materials
6are licensed and made available under the terms and conditions of the BSD License
7which accompanies this distribution. The full text of the license may be found at
8http://opensource.org/licenses/bsd-license.php
9
10THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12
13**/
14
15#ifndef _VAR_CHECK_HII_H_
16#define _VAR_CHECK_HII_H_
17
18#include <Library/VarCheckLib.h>
19#include <Library/BaseLib.h>
20#include <Library/DebugLib.h>
21#include <Library/BaseMemoryLib.h>
22#include <Library/UefiBootServicesTableLib.h>
23#include <Library/MemoryAllocationLib.h>
24
25#include <Guid/MdeModuleHii.h>
26
27#include <Protocol/HiiDatabase.h>
28#include <Protocol/FirmwareVolume2.h>
29#include <Protocol/FirmwareVolumeBlock.h>
30
31#include "InternalVarCheckStructure.h"
32#include "VarCheckHiiGen.h"
33
34//#define DUMP_VAR_CHECK_HII
35//#define DUMP_HII_DATA
36
37typedef struct {
38 UINT8 HiiOpCode;
39 CHAR8 *HiiOpCodeStr;
40} VAR_CHECK_HII_OPCODE_STRING;
41
42typedef struct {
43 UINT8 PackageType;
44 CHAR8 *PackageTypeStr;
45} VAR_CHECK_HII_PACKAGE_TYPE_STRING;
46
47/**
48 Dump Var Check HII.
49
50 @param[in] VarCheckHiiBin Pointer to VarCheckHiiBin.
51 @param[in] VarCheckHiiBinSize VarCheckHiiBin size.
52
53**/
54VOID
55DumpVarCheckHii (
56 IN VOID *VarCheckHiiBin,
57 IN UINTN VarCheckHiiBinSize
58 );
59
60extern VAR_CHECK_HII_VARIABLE_HEADER *mVarCheckHiiBin;
61extern UINTN mVarCheckHiiBinSize;
62
63#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