3 Copyright (c) 2007 - 2011, Intel Corporation. All rights reserved.<BR>
4 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
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.
18 NVData structure used by the sample driver
25 #ifndef _NVDATASTRUC_H_
26 #define _NVDATASTRUC_H_
28 #include <Guid/HiiPlatformSetupFormset.h>
29 #include <Guid/HiiFormMapMethodGuid.h>
30 #include <Guid/DriverSampleHii.h>
31 #include <Guid/ZeroGuid.h>
33 #define CONFIGURATION_VARSTORE_ID 0x1234
37 UINT16 WhatIsThePassword
[20];
38 UINT16 WhatIsThePassword2
[20];
39 UINT16 MyStringData
[40];
40 UINT16 PasswordClearText
[20];
41 UINT16 SomethingHiddenForHtml
;
42 UINT8 HowOldAreYouInYearsManual
;
43 UINT16 HowTallAreYouManual
;
44 UINT8 HowOldAreYouInYears
;
46 UINT8 MyFavoriteNumber
;
49 UINT8 QuestionAboutTreeHugging
;
50 UINT8 ChooseToActivateNuclearWeaponry
;
51 UINT8 SuppressGrayOutSomething
;
57 UINT8 DynamicOrderedList
[5];
62 UINT16 NameValueVar2
[20];
64 UINT8 SerialPortStatus
;
67 UINT8 GetDefaultValueFromCallBack
;
68 UINT8 GetDefaultValueFromAccess
;
70 UINT8 RefreshGuidCount
;
71 } DRIVER_SAMPLE_CONFIGURATION
;
74 // 2nd NV data structure definition
80 } MY_EFI_VARSTORE_DATA
;
85 #define LABEL_UPDATE1 0x1234
86 #define LABEL_UPDATE2 0x2234
87 #define LABEL_UPDATE3 0x3234
88 #define LABEL_END 0x2223