]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Universal/DriverSampleDxe/NVDataStruc.h
Refine MdeModulePkg to pass GCC build.
[mirror_edk2.git] / MdeModulePkg / Universal / DriverSampleDxe / NVDataStruc.h
1 /** @file
2
3 Copyright (c) 2007 - 2008, Intel Corporation
4 All rights reserved. This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
8
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11
12 Module Name:
13
14 NVDataStruc.h
15
16 Abstract:
17
18 NVData structure used by the sample driver
19
20 Revision 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 CONFIGURATION_VARSTORE_ID 0x1234
39
40 #pragma pack(1)
41 typedef struct {
42 UINT16 WhatIsThePassword[20];
43 UINT16 WhatIsThePassword2[20];
44 UINT16 MyStringData[40];
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 DynamicRefresh;
61 UINT8 DynamicOneof;
62 UINT8 DynamicOrderedList[5];
63 } DRIVER_SAMPLE_CONFIGURATION;
64
65 //
66 // 2nd NV data structure definition
67 //
68 typedef struct {
69 UINT8 Field8;
70 UINT16 Field16;
71 UINT8 OrderedList[3];
72 } MY_DATA2;
73
74
75 #pragma pack()
76
77 #endif