]> git.proxmox.com Git - mirror_edk2.git/blame - EdkCompatibilityPkg/Compatibility/FrameworkHiiToUefiHiiThunk/Forms.c
Clean ECP for build failure.
[mirror_edk2.git] / EdkCompatibilityPkg / Compatibility / FrameworkHiiToUefiHiiThunk / Forms.c
CommitLineData
4259256b 1/**@file\r
2 This file contains the form processing code to the HII database.\r
3\r
4Copyright (c) 2006 - 2008 Intel Corporation. <BR>\r
5All rights reserved. This program and the accompanying materials\r
6are licensed and made available under the terms and conditions of the BSD License\r
7which accompanies this distribution. The full text of the license may be found at\r
8http://opensource.org/licenses/bsd-license.php\r
9\r
10THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12\r
13**/\r
14\r
15\r
16#include "HiiDatabase.h"\r
59336178 17#include "UefiIfrDefault.h"\r
5391c4f1 18#include "OpcodeCreation.h"\r
4259256b 19\r
0368663f 20//\r
21// This structure is only intended to be used in this file.\r
22//\r
88b6bcec 23#pragma pack(1)\r
ea58467b 24typedef struct {\r
25 EFI_HII_PACK_HEADER PackageHeader;\r
26 FRAMEWORK_EFI_IFR_FORM_SET FormSet;\r
27 FRAMEWORK_EFI_IFR_END_FORM_SET EndFormSet;\r
0368663f 28} FW_HII_FORMSET_TEMPLATE;\r
88b6bcec 29#pragma pack()\r
ea58467b 30\r
0368663f 31FW_HII_FORMSET_TEMPLATE FormSetTemplate = {\r
ea58467b 32 {\r
0368663f 33 sizeof (FW_HII_FORMSET_TEMPLATE),\r
ea58467b 34 EFI_HII_IFR\r
35 },\r
36 {\r
37 {\r
38 FRAMEWORK_EFI_IFR_FORM_SET_OP,\r
39 sizeof (FRAMEWORK_EFI_IFR_FORM_SET)\r
40 },\r
a3318eaf 41 {0, 0, 0, {0, 0, 0, 0, 0, 0, 0, 0}}, //Guid\r
ea58467b 42 0,\r
43 0,\r
44 0,\r
45 0,\r
46 0,\r
47 0\r
48 },\r
49 {\r
d7152a15 50 {\r
51 FRAMEWORK_EFI_IFR_END_FORM_SET_OP,\r
52 sizeof (FRAMEWORK_EFI_IFR_END_FORM_SET)\r
53 }\r
ea58467b 54 }\r
55};\r
56\r
4259256b 57\r
a9d85320 58EFI_GUID mTianoHiiIfrGuid = EFI_IFR_TIANO_GUID;\r
59\r
0368663f 60/**\r
4259256b 61\r
0368663f 62 This thunk module only handles UEFI HII packages. The caller of this function \r
63