mirror of https://github.com/acidanthera/audk.git
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:
parent
6960e9ae7a
commit
03836d005d
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue