-/** @file
-
-Copyright (c) 2007, Intel Corporation
-All rights reserved. This program and the accompanying materials
-are licensed and made available under the terms and conditions of the BSD License
-which accompanies this distribution. The full text of the license may be found at
-http://opensource.org/licenses/bsd-license.php
-
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
-
-Module Name:
-
- NVDataStruc.h
-
-Abstract:
-
- NVData structure used by the sample driver
-
-Revision History:
-
-
-**/
-
-#ifndef _NVDATASTRUC_H
-#define _NVDATASTRUC_H
-
-#define FORMSET_GUID \
- { \
- 0xA04A27f4, 0xDF00, 0x4D42, 0xB5, 0x52, 0x39, 0x51, 0x13, 0x02, 0x11, 0x3D \
- }
-
-#define INVENTORY_GUID \
- { \
- 0xb3f56470, 0x6141, 0x4621, 0x8f, 0x19, 0x70, 0x4e, 0x57, 0x7a, 0xa9, 0xe8 \
- }
-
-#define VAR_EQ_TEST_NAME 0x100
-
-#pragma pack(1)
-typedef struct {
- UINT16 WhatIsThePassword[20];
- UINT16 WhatIsThePassword2[20];
- UINT16 MyStringData[20];
- UINT16 PasswordClearText[20];
- UINT16 SomethingHiddenForHtml;
- UINT8 HowOldAreYouInYearsManual;
- UINT16 HowTallAreYouManual;
- UINT8 HowOldAreYouInYears;
- UINT16 HowTallAreYou;
- UINT8 MyFavoriteNumber;
- UINT8 TestLateCheck;
- UINT8 TestLateCheck2;
- UINT8 QuestionAboutTreeHugging;
- UINT8 ChooseToActivateNuclearWeaponry;
- UINT8 SuppressGrayOutSomething;
- UINT8 OrderedList[8];
- UINT8 BootOrder[8];
- UINT8 BootOrderLarge;
- UINT8 DynamicCheck;
-} DRIVER_SAMPLE_CONFIGURATION;
-#pragma pack()
-
-#endif
+/** @file\r
+\r
+Copyright (c) 2007 - 2016, Intel Corporation. All rights reserved.<BR>\r
+This program and the accompanying materials\r
+are licensed and made available under the terms and conditions of the BSD License\r
+which accompanies this distribution. The full text of the license may be found at\r
+http://opensource.org/licenses/bsd-license.php\r
+\r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
+Module Name:\r
+\r
+ NVDataStruc.h\r
+\r
+Abstract:\r
+\r
+ NVData structure used by the sample driver\r
+\r
+Revision History:\r
+\r
+\r
+**/\r
+\r
+#ifndef _NVDATASTRUC_H_\r
+#define _NVDATASTRUC_H_\r
+\r
+#include <Guid/HiiPlatformSetupFormset.h>\r
+#include <Guid/HiiFormMapMethodGuid.h>\r
+#include <Guid/DriverSampleHii.h>\r
+#include <Guid/ZeroGuid.h>\r
+\r
+#define CONFIGURATION_VARSTORE_ID 0x1234\r
+\r
+#pragma pack(1)\r
+typedef struct {\r
+ UINT16 WhatIsThePassword[20];\r
+ UINT16 WhatIsThePassword2[20];\r
+ UINT16 MyStringData[40];\r
+ UINT16 PasswordClearText[20];\r
+ UINT16 SomethingHiddenForHtml;\r
+ UINT8 HowOldAreYouInYearsManual;\r
+ UINT16 HowTallAreYouManual;\r
+ UINT8 HowOldAreYouInYears;\r
+ UINT16 HowTallAreYou;\r
+ UINT8 MyFavoriteNumber;\r
+ UINT8 TestLateCheck;\r
+ UINT8 TestLateCheck2;\r
+ UINT8 QuestionAboutTreeHugging;\r
+ UINT8 ChooseToActivateNuclearWeaponry;\r
+ UINT8 SuppressGrayOutSomething;\r
+ UINT8 OrderedList[8];\r
+ UINT16 BootOrder[8];\r
+ UINT8 BootOrderLarge;\r
+ UINT8 DynamicRefresh;\r
+ UINT8 DynamicOneof;\r
+ UINT8 DynamicOrderedList[5];\r
+ UINT8 Reserved;\r
+ EFI_HII_REF RefData;\r
+ UINT8 NameValueVar0;\r
+ UINT16 NameValueVar1;\r
+ UINT16 NameValueVar2[20];\r
+ UINT8 SerialPortNo;\r
+ UINT8 SerialPortStatus;\r
+ UINT16 SerialPortIo;\r
+ UINT8 SerialPortIrq;\r
+ UINT8 GetDefaultValueFromCallBack;\r
+ UINT8 GetDefaultValueFromAccess;\r
+ EFI_HII_TIME Time;\r
+ UINT8 RefreshGuidCount;\r
+ UINT8 Match2;\r
+} DRIVER_SAMPLE_CONFIGURATION;\r
+\r
+//\r
+// 2nd NV data structure definition\r
+//\r
+typedef struct {\r
+ UINT8 Field8;\r
+ UINT16 Field16;\r
+ UINT8 OrderedList[3];\r
+ UINT16 SubmittedCallback;\r
+} MY_EFI_VARSTORE_DATA;\r
+\r
+//\r
+// Labels definition\r
+//\r
+#define LABEL_UPDATE1 0x1234\r
+#define LABEL_UPDATE2 0x2234\r
+#define LABEL_UPDATE3 0x3234\r
+#define LABEL_END 0x2223\r
+\r
+#pragma pack()\r
+\r
+#endif\r