]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Universal/DriverSampleDxe/NVDataStruc.h
Update UefiHiiLib to support new defined IFR related HII APIs.
[mirror_edk2.git] / MdeModulePkg / Universal / DriverSampleDxe / NVDataStruc.h
CommitLineData
0bb0f8b8 1/** @file\r
2\r
3Copyright (c) 2007 - 2008, Intel Corporation\r
4All rights reserved. This program and the accompanying materials\r
5are licensed and made available under the terms and conditions of the BSD License\r
6which accompanies this distribution. The full text of the license may be found at\r
7http://opensource.org/licenses/bsd-license.php\r
8\r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
11\r
12Module Name:\r
13\r
14 NVDataStruc.h\r
15\r
16Abstract:\r
17\r
18 NVData structure used by the sample driver\r
19\r
20Revision History:\r
21\r
22\r
23**/\r
24\r
7064c0a5 25#ifndef _NVDATASTRUC_H_\r
26#define _NVDATASTRUC_H_\r
0bb0f8b8 27\r
28#define FORMSET_GUID \\r
29 { \\r
555e76f8 30 0xA04A27f4, 0xDF00, 0x4D42, {0xB5, 0x52, 0x39, 0x51, 0x13, 0x02, 0x11, 0x3D} \\r
0bb0f8b8 31 }\r
32\r
33#define INVENTORY_GUID \\r
34 { \\r
555e76f8 35 0xb3f56470, 0x6141, 0x4621, {0x8f, 0x19, 0x70, 0x4e, 0x57, 0x7a, 0xa9, 0xe8} \\r
0bb0f8b8 36 }\r
37\r
8d00a0f1 38#define CONFIGURATION_VARSTORE_ID 0x1234\r
0bb0f8b8 39\r
40#pragma pack(1)\r
41typedef 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
68typedef struct {\r
69 UINT8 Field8;\r
70 UINT16 Field16;\r
71 UINT8 OrderedList[3];\r
72} MY_DATA2;\r
73\r
7e3bcccb
LG
74//\r
75// Labels definition\r
76//\r
77#define LABEL_UPDATE1 0x1234\r
78#define LABEL_UPDATE2 0x2234\r
79#define LABEL_END 0x2223\r
0bb0f8b8 80\r
81#pragma pack()\r
82\r
83#endif\r