]>
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 | |
25 | #ifndef _NVDATASTRUC_H\r | |
26 | #define _NVDATASTRUC_H\r | |
27 | \r | |
28 | #define FORMSET_GUID \\r | |
29 | { \\r | |
30 | 0xA04A27f4, 0xDF00, 0x4D42, 0xB5, 0x52, 0x39, 0x51, 0x13, 0x02, 0x11, 0x3D \\r | |
31 | }\r | |
32 | \r | |
33 | #define INVENTORY_GUID \\r | |
34 | { \\r | |
35 | 0xb3f56470, 0x6141, 0x4621, 0x8f, 0x19, 0x70, 0x4e, 0x57, 0x7a, 0xa9, 0xe8 \\r | |
36 | }\r | |
37 | \r | |
8d00a0f1 | 38 | #define CONFIGURATION_VARSTORE_ID 0x1234\r |
0bb0f8b8 | 39 | \r |
40 | #pragma pack(1)\r | |
41 | typedef struct {\r | |
42 | UINT16 WhatIsThePassword[20];\r | |
43 | UINT16 WhatIsThePassword2[20];\r | |
44 | UINT16 MyStringData[40];\r | |
45 | UINT16 PasswordClearText[20];\r | |
46 | UINT16 SomethingHiddenForHtml;\r | |
47 | UINT8 HowOldAreYouInYearsManual;\r | |
48 | UINT16 HowTallAreYouManual;\r | |
49 | UINT8 HowOldAreYouInYears;\r | |
50 | UINT16 HowTallAreYou;\r | |
51 | UINT8 MyFavoriteNumber;\r | |
52 | UINT8 TestLateCheck;\r | |
53 | UINT8 TestLateCheck2;\r | |
54 | UINT8 QuestionAboutTreeHugging;\r | |
55 | UINT8 ChooseToActivateNuclearWeaponry;\r | |
56 | UINT8 SuppressGrayOutSomething;\r | |
57 | UINT8 OrderedList[8];\r | |
58 | UINT8 BootOrder[8];\r | |
59 | UINT8 BootOrderLarge;\r | |
8d00a0f1 | 60 | UINT8 DynamicRefresh;\r |
61 | UINT8 DynamicOneof;\r | |
62 | UINT8 DynamicOrderedList[5];\r | |
0bb0f8b8 | 63 | } DRIVER_SAMPLE_CONFIGURATION;\r |
64 | \r | |
65 | //\r | |
66 | // 2nd NV data structure definition\r | |
67 | //\r | |
68 | typedef struct {\r | |
69 | UINT8 Field8;\r | |
70 | UINT16 Field16;\r | |
71 | UINT8 OrderedList[3];\r | |
72 | } MY_DATA2;\r | |
73 | \r | |
74 | \r | |
75 | #pragma pack()\r | |
76 | \r | |
77 | #endif\r |