]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Universal/DriverSampleDxe/NVDataStruc.h
Update to use DOS format
[mirror_edk2.git] / MdeModulePkg / Universal / DriverSampleDxe / NVDataStruc.h
CommitLineData
93e3992d 1/** @file
2
cb19869a 3Copyright (c) 2007 - 2008, Intel Corporation
93e3992d 4All rights reserved. This program and the accompanying materials
5are licensed and made available under the terms and conditions of the BSD License
6which accompanies this distribution. The full text of the license may be found at
7http://opensource.org/licenses/bsd-license.php
8
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11
12Module Name:
13
14 NVDataStruc.h
15
16Abstract:
17
18 NVData structure used by the sample driver
19
20Revision History:
21
22
23**/
24
25#ifndef _NVDATASTRUC_H
26#define _NVDATASTRUC_H
27
28#define FORMSET_GUID \
29 { \
30 0xA04A27f4, 0xDF00, 0x4D42, 0xB5, 0x52, 0x39, 0x51, 0x13, 0x02, 0x11, 0x3D \
31 }
32
33#define INVENTORY_GUID \
34 { \
35 0xb3f56470, 0x6141, 0x4621, 0x8f, 0x19, 0x70, 0x4e, 0x57, 0x7a, 0xa9, 0xe8 \
36 }
37
38#define VAR_EQ_TEST_NAME 0x100
39
40#pragma pack(1)
41typedef struct {
42 UINT16 WhatIsThePassword[20];
43 UINT16 WhatIsThePassword2[20];
cb19869a 44 UINT16 MyStringData[40];
93e3992d 45 UINT16 PasswordClearText[20];
46 UINT16 SomethingHiddenForHtml;
47 UINT8 HowOldAreYouInYearsManual;
48 UINT16 HowTallAreYouManual;
49 UINT8 HowOldAreYouInYears;
50 UINT16 HowTallAreYou;
51 UINT8 MyFavoriteNumber;
52 UINT8 TestLateCheck;
53 UINT8 TestLateCheck2;
54 UINT8 QuestionAboutTreeHugging;
55 UINT8 ChooseToActivateNuclearWeaponry;
56 UINT8 SuppressGrayOutSomething;
57 UINT8 OrderedList[8];
58 UINT8 BootOrder[8];
59 UINT8 BootOrderLarge;
60 UINT8 DynamicCheck;
61} DRIVER_SAMPLE_CONFIGURATION;
03836d00 62
63//
64// 2nd NV data structure definition
65//
66typedef struct {
67 UINT8 Field8;
68 UINT16 Field16;
69 UINT8 OrderedList[3];
70} MY_DATA2;
71
72
93e3992d 73#pragma pack()
74
75#endif