]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg RamDiskDxe: Do not save 'Size' numeric value by varstore
authorHao Wu <hao.a.wu@intel.com>
Mon, 6 Jun 2016 05:02:52 +0000 (13:02 +0800)
committerHao Wu <hao.a.wu@intel.com>
Sun, 12 Jun 2016 03:11:25 +0000 (11:11 +0800)
commit5cf8a917bdfce84a98821886792a6a40f6273270
tree09a667a4359639dfd95195969d8e02f308aebfa4
parentcd64301398876d0b3700f882b3eea12657510a70
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>
MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskHii.vfr
MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskImpl.c
MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskImpl.h
MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskNVData.h