diff options
author | Hao Wu <hao.a.wu@intel.com> | 2016-06-06 13:02:52 +0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2016-06-12 11:11:25 +0800 |
commit | 5cf8a917bdfce84a98821886792a6a40f6273270 (patch) | |
tree | 09a667a4359639dfd95195969d8e02f308aebfa4 /MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskNVData.h | |
parent | cd64301398876d0b3700f882b3eea12657510a70 (diff) | |
download | edk2-platforms-5cf8a917bdfce84a98821886792a6a40f6273270.tar.xz |
MdeModulePkg RamDiskDxe: Do not save 'Size' numeric value by varstore
The 'Size' numeric value used when creating a raw RAM disk does not
require a varstore to save its previous value in the create raw RAM disk
HII page.
The expecting behavior is that after a user created a raw RAM disk, the
next time when the create raw RAM disk page is entered, the 'Size' numeric
will be the default value (EFI_PAGE_SIZE).
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Tapan Shah <tapandshah@hpe.com>
Diffstat (limited to 'MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskNVData.h')
-rw-r--r-- | MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskNVData.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskNVData.h b/MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskNVData.h index 1426320121..89d1d5a786 100644 --- a/MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskNVData.h +++ b/MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskNVData.h @@ -18,8 +18,6 @@ #include <Guid/HiiPlatformSetupFormset.h>
#include <Guid/RamDiskHii.h>
-#define RAM_DISK_CONFIGURATION_VARSTORE_ID 0x0001
-
#define MAIN_FORM_ID 0x1000
#define MAIN_GOTO_FILE_EXPLORER_ID 0x1001
#define MAIN_REMOVE_RD_QUESTION_ID 0x1002
|