From 78c2b9a33478ee0cb7e39466fb12191dde56b210 Mon Sep 17 00:00:00 2001 From: ydong10 Date: Tue, 30 Aug 2011 12:39:53 +0000 Subject: Add new op-code samples, includes efi varstore, refresh guid group and ref op-code. Signed-off-by:ydong10 Reviewed-by:lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12232 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Universal/DriverSampleDxe/NVDataStruc.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'MdeModulePkg/Universal/DriverSampleDxe/NVDataStruc.h') diff --git a/MdeModulePkg/Universal/DriverSampleDxe/NVDataStruc.h b/MdeModulePkg/Universal/DriverSampleDxe/NVDataStruc.h index f0240301f0..06953ca6cb 100644 --- a/MdeModulePkg/Universal/DriverSampleDxe/NVDataStruc.h +++ b/MdeModulePkg/Universal/DriverSampleDxe/NVDataStruc.h @@ -46,6 +46,11 @@ Revision History: 0xF5E655D9, 0x02A6, 0x46f2, {0x9E, 0x76, 0xB8, 0xBE, 0x8E, 0x60, 0xAB, 0x22} \ } +#define ZERO_GUID \ + { \ + 0x0, 0x0, 0x0, {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0} \ + } + #define CONFIGURATION_VARSTORE_ID 0x1234 #pragma pack(1) @@ -72,6 +77,7 @@ typedef struct { UINT8 DynamicOneof; UINT8 DynamicOrderedList[5]; UINT8 Reserved; + EFI_HII_REF RefData; UINT8 NameValueVar0; UINT16 NameValueVar1; UINT16 NameValueVar2[20]; @@ -92,7 +98,7 @@ typedef struct { UINT8 Field8; UINT16 Field16; UINT8 OrderedList[3]; -} MY_DATA2; +} MY_EFI_VARSTORE_DATA; // // Labels definition -- cgit v1.2.3