3 Copyright (c) 2007 - 2010, 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>
31 #define FORMSET_GUID \
33 0xA04A27f4, 0xDF00, 0x4D42, {0xB5, 0x52, 0x39, 0x51, 0x13, 0x02, 0x11, 0x3D} \
36 #define INVENTORY_GUID \
38 0xb3f56470, 0x6141, 0x4621, {0x8f, 0x19, 0x70, 0x4e, 0x57, 0x7a, 0xa9, 0xe8} \
41 #define EFI_USER_INFO_ACCESS_SETUP_ADMIN_GUID \
42 { 0x85b75607, 0xf7ce, 0x471e, { 0xb7, 0xe4, 0x2a, 0xea, 0x5f, 0x72, 0x32, 0xee } }
44 #define EFI_IFR_REFRESH_ID_OP_GUID \
46 0xF5E655D9, 0x02A6, 0x46f2, {0x9E, 0x76, 0xB8, 0xBE, 0x8E, 0x60, 0xAB, 0x22} \
51 0x0, 0x0, 0x0, {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0} \
54 #define CONFIGURATION_VARSTORE_ID 0x1234
58 UINT16 WhatIsThePassword
[20];
59 UINT16 WhatIsThePassword2
[20];
60 UINT16 MyStringData
[40];
61 UINT16 PasswordClearText
[20];
62 UINT16 SomethingHiddenForHtml
;
63 UINT8 HowOldAreYouInYearsManual
;
64 UINT16 HowTallAreYouManual
;
65 UINT8 HowOldAreYouInYears
;
67 UINT8 MyFavoriteNumber
;
70 UINT8 QuestionAboutTreeHugging
;
71 UINT8 ChooseToActivateNuclearWeaponry
;
72 UINT8 SuppressGrayOutSomething
;
78 UINT8 DynamicOrderedList
[5];
83 UINT16 NameValueVar2
[20];
85 UINT8 SerialPortStatus
;
88 UINT8 GetDefaultValueFromCallBack
;
89 UINT8 GetDefaultValueFromAccess
;
91 UINT8 RefreshGuidCount
;
92 } DRIVER_SAMPLE_CONFIGURATION
;
95 // 2nd NV data structure definition
100 UINT8 OrderedList
[3];
101 } MY_EFI_VARSTORE_DATA
;
106 #define LABEL_UPDATE1 0x1234
107 #define LABEL_UPDATE2 0x2234
108 #define LABEL_UPDATE3 0x3234
109 #define LABEL_END 0x2223