]>
Commit | Line | Data |
---|---|---|
0bb0f8b8 | 1 | /** @file\r |
2 | \r | |
e5eed7d3 HT |
3 | Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>\r |
4 | This program and the accompanying materials\r | |
0bb0f8b8 | 5 | are licensed and made available under the terms and conditions of the BSD License\r |
6 | which accompanies this distribution. The full text of the license may be found at\r | |
7 | http://opensource.org/licenses/bsd-license.php\r | |
8 | \r | |
9 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
10 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
11 | \r | |
12 | Module Name:\r | |
13 | \r | |
14 | NVDataStruc.h\r | |
15 | \r | |
16 | Abstract:\r | |
17 | \r | |
18 | NVData structure used by the sample driver\r | |
19 | \r | |
20 | Revision History:\r | |
21 | \r | |
22 | \r | |
23 | **/\r | |
24 | \r | |
7064c0a5 | 25 | #ifndef _NVDATASTRUC_H_\r |
26 | #define _NVDATASTRUC_H_\r | |
0bb0f8b8 | 27 | \r |
d91c7bf9 | 28 | #include <Guid/HiiPlatformSetupFormset.h>\r |
96a65fc8 | 29 | #include <Guid/HiiFormMapMethodGuid.h>\r |
d91c7bf9 | 30 | \r |
0bb0f8b8 | 31 | #define FORMSET_GUID \\r |
32 | { \\r | |
555e76f8 | 33 | 0xA04A27f4, 0xDF00, 0x4D42, {0xB5, 0x52, 0x39, 0x51, 0x13, 0x02, 0x11, 0x3D} \\r |
0bb0f8b8 | 34 | }\r |
35 | \r | |
36 | #define INVENTORY_GUID \\r | |
37 | { \\r | |
555e76f8 | 38 | 0xb3f56470, 0x6141, 0x4621, {0x8f, 0x19, 0x70, 0x4e, 0x57, 0x7a, 0xa9, 0xe8} \\r |
0bb0f8b8 | 39 | }\r |
40 | \r | |
fe817262 | 41 | #define EFI_USER_INFO_ACCESS_SETUP_ADMIN_GUID \\r |
42 | { 0x85b75607, 0xf7ce, 0x471e, { 0xb7, 0xe4, 0x2a, 0xea, 0x5f, 0x72, 0x32, 0xee } }\r | |
43 | \r | |
211cc6e5 ED |
44 | #define EFI_IFR_REFRESH_ID_OP_GUID \\r |
45 | { \\r | |
46 | 0xF5E655D9, 0x02A6, 0x46f2, {0x9E, 0x76, 0xB8, 0xBE, 0x8E, 0x60, 0xAB, 0x22} \\r | |
47 | }\r | |
48 | \r | |
8d00a0f1 | 49 | #define CONFIGURATION_VARSTORE_ID 0x1234\r |
0bb0f8b8 | 50 | \r |
51 | #pragma pack(1)\r | |
52 | typedef struct {\r | |
53 | UINT16 WhatIsThePassword[20];\r | |
54 | UINT16 WhatIsThePassword2[20];\r | |
55 | UINT16 MyStringData[40];\r | |
56 | UINT16 PasswordClearText[20];\r | |
57 | UINT16 SomethingHiddenForHtml;\r | |
58 | UINT8 HowOldAreYouInYearsManual;\r | |
59 | UINT16 HowTallAreYouManual;\r | |
60 | UINT8 HowOldAreYouInYears;\r | |
61 | UINT16 HowTallAreYou;\r | |
62 | UINT8 MyFavoriteNumber;\r | |
63 | UINT8 TestLateCheck;\r | |
64 | UINT8 TestLateCheck2;\r | |
65 | UINT8 QuestionAboutTreeHugging;\r | |
66 | UINT8 ChooseToActivateNuclearWeaponry;\r | |
67 | UINT8 SuppressGrayOutSomething;\r | |
68 | UINT8 OrderedList[8];\r | |
b5a906f4 | 69 | UINT16 BootOrder[8];\r |
0bb0f8b8 | 70 | UINT8 BootOrderLarge;\r |
8d00a0f1 | 71 | UINT8 DynamicRefresh;\r |
72 | UINT8 DynamicOneof;\r | |
73 | UINT8 DynamicOrderedList[5];\r | |
38ebfecb LG |
74 | UINT8 Reserved;\r |
75 | UINT8 NameValueVar0;\r | |
76 | UINT16 NameValueVar1;\r | |
77 | UINT16 NameValueVar2[20];\r | |
96a65fc8 LG |
78 | UINT8 SerialPortNo;\r |
79 | UINT8 SerialPortStatus;\r | |
80 | UINT16 SerialPortIo;\r | |
81 | UINT8 SerialPortIrq;\r | |
ee31d1be ED |
82 | UINT8 GetDefaultValueFromCallBack;\r |
83 | UINT8 GetDefaultValueFromAccess;\r | |
84 | EFI_HII_TIME Time;\r | |
211cc6e5 | 85 | UINT8 RefreshGuidCount;\r |
0bb0f8b8 | 86 | } DRIVER_SAMPLE_CONFIGURATION;\r |
87 | \r | |
88 | //\r | |
89 | // 2nd NV data structure definition\r | |
90 | //\r | |
91 | typedef struct {\r | |
92 | UINT8 Field8;\r | |
93 | UINT16 Field16;\r | |
94 | UINT8 OrderedList[3];\r | |
95 | } MY_DATA2;\r | |
96 | \r | |
7e3bcccb LG |
97 | //\r |
98 | // Labels definition\r | |
99 | //\r | |
100 | #define LABEL_UPDATE1 0x1234\r | |
101 | #define LABEL_UPDATE2 0x2234\r | |
211cc6e5 | 102 | #define LABEL_UPDATE3 0x3234\r |
7e3bcccb | 103 | #define LABEL_END 0x2223\r |
0bb0f8b8 | 104 | \r |
105 | #pragma pack()\r | |
106 | \r | |
107 | #endif\r |