diff options
author | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-05-22 09:30:18 +0000 |
---|---|---|
committer | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-05-22 09:30:18 +0000 |
commit | 03836d005d57957f0aeb1244bd16e2dd1d1547f6 (patch) | |
tree | 7550625052a57ea45cdbbe357a5f22312e9c0041 /MdeModulePkg/Universal/DriverSampleDxe/Vfr.vfr | |
parent | 6960e9ae7a4e63838da7628f60ef886ae3e77315 (diff) | |
download | edk2-platforms-03836d005d57957f0aeb1244bd16e2dd1d1547f6.tar.xz |
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
Diffstat (limited to 'MdeModulePkg/Universal/DriverSampleDxe/Vfr.vfr')
-rw-r--r-- | MdeModulePkg/Universal/DriverSampleDxe/Vfr.vfr | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/MdeModulePkg/Universal/DriverSampleDxe/Vfr.vfr b/MdeModulePkg/Universal/DriverSampleDxe/Vfr.vfr index 799cdf2d3a..ed431a5e72 100644 --- a/MdeModulePkg/Universal/DriverSampleDxe/Vfr.vfr +++ b/MdeModulePkg/Universal/DriverSampleDxe/Vfr.vfr @@ -44,15 +44,6 @@ #define EFI_VARIABLE_READ_ONLY 0x00000008
//
-// NV data structure definition
-//
-typedef struct {
- UINT8 Field8;
- UINT16 Field16;
- UINT8 OrderedList[3];
-} MY_DATA2;
-
-//
// Labels definition
//
#define LABEL_1_VALUE 0x01
@@ -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;
|