]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/DriverSampleDxe/NVDataStruc.h
Add example of Name/Value pair var store to DriverSample
[mirror_edk2.git] / MdeModulePkg / Universal / DriverSampleDxe / NVDataStruc.h
index 4fbd6a5650e2724c6f1fb1fffd20163823551985..648b6dba915a68107783f9497ae50d4edb595689 100644 (file)
@@ -1,6 +1,6 @@
 /** @file\r
 \r
-Copyright (c) 2007 - 2008, Intel Corporation\r
+Copyright (c) 2007 - 2009, Intel Corporation\r
 All rights reserved. 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
@@ -25,6 +25,8 @@ Revision History:
 #ifndef _NVDATASTRUC_H_\r
 #define _NVDATASTRUC_H_\r
 \r
+#include <Guid/HiiPlatformSetupFormset.h>\r
+\r
 #define FORMSET_GUID \\r
   { \\r
     0xA04A27f4, 0xDF00, 0x4D42, {0xB5, 0x52, 0x39, 0x51, 0x13, 0x02, 0x11, 0x3D} \\r
@@ -55,11 +57,15 @@ typedef struct {
   UINT8   ChooseToActivateNuclearWeaponry;\r
   UINT8   SuppressGrayOutSomething;\r
   UINT8   OrderedList[8];\r
-  UINT  BootOrder[8];\r
+  UINT16  BootOrder[8];\r
   UINT8   BootOrderLarge;\r
   UINT8   DynamicRefresh;\r
   UINT8   DynamicOneof;\r
   UINT8   DynamicOrderedList[5];\r
+  UINT8   Reserved;\r
+  UINT8   NameValueVar0;\r
+  UINT16  NameValueVar1;\r
+  UINT16  NameValueVar2[20];\r
 } DRIVER_SAMPLE_CONFIGURATION;\r
 \r
 //\r
@@ -71,6 +77,12 @@ typedef struct {
   UINT8         OrderedList[3];\r
 } MY_DATA2;\r
 \r
+//\r
+// Labels definition\r
+//\r
+#define LABEL_UPDATE1               0x1234\r
+#define LABEL_UPDATE2               0x2234\r
+#define LABEL_END                   0x2223\r
 \r
 #pragma pack()\r
 \r