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
This commit is contained in:
ydong10
2011-08-30 12:39:53 +00:00
parent da58863885
commit 78c2b9a334
5 changed files with 182 additions and 62 deletions

View File

@@ -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