]>
Commit | Line | Data |
---|---|---|
0bb0f8b8 | 1 | /** @file\r |
2 | \r | |
3 | Copyright (c) 2007 - 2008, Intel Corporation\r | |
4 | All rights reserved. This program and the accompanying materials\r | |
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 LG |
28 | #include <Guid/HiiPlatformSetupFormset.h>\r |
29 | \r | |
0bb0f8b8 | 30 | #define FORMSET_GUID \\r |
31 | { \\r | |
555e76f8 | 32 | 0xA04A27f4, 0xDF00, 0x4D42, {0xB5, 0x52, 0x39, 0x51, 0x13, 0x02, 0x11, 0x3D} \\r |
0bb0f8b8 | 33 | }\r |
34 | \r | |
35 | #define INVENTORY_GUID \\r | |
36 | { \\r | |
555e76f8 | 37 | 0xb3f56470, 0x6141, 0x4621, {0x8f, 0x19, 0x70, 0x4e, 0x57, 0x7a, 0xa9, 0xe8} \\r |
0bb0f8b8 | 38 | }\r |
39 | \r | |
8d00a0f1 | 40 | #define CONFIGURATION_VARSTORE_ID 0x1234\r |
0bb0f8b8 | 41 | \r |
42 | #pragma pack(1)\r | |
43 | typedef struct {\r | |
44 | UINT16 WhatIsThePassword[20];\r | |
45 | UINT16 WhatIsThePassword2[20];\r | |
46 | UINT16 MyStringData[40];\r | |
47 | UINT16 PasswordClearText[20];\r | |
48 | UINT16 SomethingHiddenForHtml;\r | |
49 | UINT8 HowOldAreYouInYearsManual;\r | |
50 | UINT16 HowTallAreYouManual;\r | |
51 | UINT8 HowOldAreYouInYears;\r | |
52 | UINT16 HowTallAreYou;\r | |
53 | UINT8 MyFavoriteNumber;\r | |
54 | UINT8 TestLateCheck;\r | |
55 | UINT8 TestLateCheck2;\r | |
56 | UINT8 QuestionAboutTreeHugging;\r | |
57 | UINT8 ChooseToActivateNuclearWeaponry;\r | |
58 | UINT8 SuppressGrayOutSomething;\r | |
59 | UINT8 OrderedList[8];\r | |
60 | UINT8 BootOrder[8];\r | |
61 | UINT8 BootOrderLarge;\r | |
8d00a0f1 | 62 | UINT8 DynamicRefresh;\r |
63 | UINT8 DynamicOneof;\r | |
64 | UINT8 DynamicOrderedList[5];\r | |
0bb0f8b8 | 65 | } DRIVER_SAMPLE_CONFIGURATION;\r |
66 | \r | |
67 | //\r | |
68 | // 2nd NV data structure definition\r | |
69 | //\r | |
70 | typedef struct {\r | |
71 | UINT8 Field8;\r | |
72 | UINT16 Field16;\r | |
73 | UINT8 OrderedList[3];\r | |
74 | } MY_DATA2;\r | |
75 | \r | |
7e3bcccb LG |
76 | //\r |
77 | // Labels definition\r | |
78 | //\r | |
79 | #define LABEL_UPDATE1 0x1234\r | |
80 | #define LABEL_UPDATE2 0x2234\r | |
81 | #define LABEL_END 0x2223\r | |
0bb0f8b8 | 82 | \r |
83 | #pragma pack()\r | |
84 | \r | |
85 | #endif\r |