]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/DriverSampleDxe/NVDataStruc.h
1. Update SetupBrowser to pass correct buffer value for OrderedList Callback
[mirror_edk2.git] / MdeModulePkg / Universal / DriverSampleDxe / NVDataStruc.h
index 1c93d33df933c55069555acd7cf0d8f81802042d..bdc4a46147d3ffb82ebad3bbda946fbbc8ce9663 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
@@ -22,20 +22,22 @@ Revision History:
 \r
 **/\r
 \r
-#ifndef _NVDATASTRUC_H\r
-#define _NVDATASTRUC_H\r
+#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
+    0xA04A27f4, 0xDF00, 0x4D42, {0xB5, 0x52, 0x39, 0x51, 0x13, 0x02, 0x11, 0x3D} \\r
   }\r
 \r
 #define INVENTORY_GUID \\r
   { \\r
-    0xb3f56470, 0x6141, 0x4621, 0x8f, 0x19, 0x70, 0x4e, 0x57, 0x7a, 0xa9, 0xe8 \\r
+    0xb3f56470, 0x6141, 0x4621, {0x8f, 0x19, 0x70, 0x4e, 0x57, 0x7a, 0xa9, 0xe8} \\r
   }\r
 \r
-#define VAR_EQ_TEST_NAME  0x100\r
+#define CONFIGURATION_VARSTORE_ID    0x1234\r
 \r
 #pragma pack(1)\r
 typedef struct {\r
@@ -55,9 +57,11 @@ typedef struct {
   UINT8   ChooseToActivateNuclearWeaponry;\r
   UINT8   SuppressGrayOutSomething;\r
   UINT8   OrderedList[8];\r
-  UINT  BootOrder[8];\r
+  UINT16  BootOrder[8];\r
   UINT8   BootOrderLarge;\r
-  UINT8   DynamicCheck;\r
+  UINT8   DynamicRefresh;\r
+  UINT8   DynamicOneof;\r
+  UINT8   DynamicOrderedList[5];\r
 } DRIVER_SAMPLE_CONFIGURATION;\r
 \r
 //\r
@@ -69,6 +73,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