Add a reference of 2nd buffer storage in a formset.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5271 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qwang12 2008-05-22 09:30:18 +00:00
parent 6960e9ae7a
commit 03836d005d
3 changed files with 21 additions and 9 deletions

View File

@ -59,6 +59,17 @@ typedef struct {
UINT8 BootOrderLarge;
UINT8 DynamicCheck;
} DRIVER_SAMPLE_CONFIGURATION;
//
// 2nd NV data structure definition
//
typedef struct {
UINT8 Field8;
UINT16 Field16;
UINT8 OrderedList[3];
} MY_DATA2;
#pragma pack()
#endif

View File

@ -43,15 +43,6 @@
#define EFI_VARIABLE_RUNTIME_ACCESS 0x00000004
#define EFI_VARIABLE_READ_ONLY 0x00000008
//
// NV data structure definition
//
typedef struct {
UINT8 Field8;
UINT16 Field16;
UINT8 OrderedList[3];
} MY_DATA2;
//
// Labels definition
//
@ -331,6 +322,16 @@ formset
endnumeric;
numeric varid = MyIfrNVData2.Field8, // Reference of MyIfrNVData2 storage
prompt = STRING_TOKEN(STR_MYIFRNVDATA2_HEX_PROMPT),
help = STRING_TOKEN(STR_MYIFRNVDATA2_HEX_HELP),
flags = DISPLAY_UINT_HEX, // Display in HEX format (if not specified, default is in decimal format)
minimum = 0,
maximum = 250,
default = 175,
endnumeric;
label LABEL_1_VALUE;
label LABEL_2_VALUE;