]>
Commit | Line | Data |
---|---|---|
4259256b | 1 | /**@file\r |
2 | This file contains the form processing code to the HII database.\r | |
3 | \r | |
4 | Copyright (c) 2006 - 2008 Intel Corporation. <BR>\r | |
5 | All rights reserved. This program and the accompanying materials\r | |
6 | are licensed and made available under the terms and conditions of the BSD License\r | |
7 | which accompanies this distribution. The full text of the license may be found at\r | |
8 | http://opensource.org/licenses/bsd-license.php\r | |
9 | \r | |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
11 | WITHOUT 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 |
4259256b | 18 | \r |
0368663f | 19 | //\r |
20 | // This structure is only intended to be used in this file.\r | |
21 | //\r | |
88b6bcec | 22 | #pragma pack(1)\r |
ea58467b | 23 | typedef struct {\r |
24 | EFI_HII_PACK_HEADER PackageHeader;\r | |
25 | FRAMEWORK_EFI_IFR_FORM_SET FormSet;\r | |
26 | FRAMEWORK_EFI_IFR_END_FORM_SET EndFormSet;\r | |
0368663f | 27 | } FW_HII_FORMSET_TEMPLATE;\r |
88b6bcec | 28 | #pragma pack()\r |
ea58467b | 29 | \r |
0368663f | 30 | FW_HII_FORMSET_TEMPLATE FormSetTemplate = {\r |
ea58467b | 31 | {\r |
0368663f | 32 | sizeof (FW_HII_FORMSET_TEMPLATE),\r |
ea58467b | 33 | EFI_HII_IFR\r |
34 | },\r | |
35 | {\r | |
36 | {\r | |
37 | FRAMEWORK_EFI_IFR_FORM_SET_OP,\r | |
38 | sizeof (FRAMEWORK_EFI_IFR_FORM_SET)\r | |
39 | },\r | |
a3318eaf | 40 | {0, 0, 0, {0, 0, 0, 0, 0, 0, 0, 0}}, //Guid\r |
ea58467b | 41 | 0,\r |
42 | 0,\r | |
43 | 0,\r | |
44 | 0,\r | |
45 | 0,\r | |
46 | 0\r | |
47 | },\r | |
48 | {\r | |
d7152a15 | 49 | {\r |
50 | FRAMEWORK_EFI_IFR_END_FORM_SET_OP,\r | |
51 | sizeof (FRAMEWORK_EFI_IFR_END_FORM_SET)\r | |
52 | }\r | |
ea58467b | 53 | }\r |
54 | };\r | |
55 | \r | |
4259256b | 56 | \r |
a9d85320 | 57 | EFI_GUID mTianoHiiIfrGuid = EFI_IFR_TIANO_GUID;\r |
58 | \r | |
0368663f | 59 | /**\r |
4259256b | 60 | \r |
0368663f | 61 | This thunk module only handles UEFI HII packages. The caller of this function \r |
62 |