audk/MdeModulePkg/Universal/Disk/RamDiskDxe
Hao Wu 09abc63675 MdeModulePkg RamDiskDxe: Fix wrong HII behavior for more than 8 RAM disks
The RamDiskDxe driver originally uses a variable-length HII varstore to
retrieve the HII checkbox status of each registered RAM disk.

However, HII does not support the variable-length varstore feature.
Therefore, only the checkbox status for the first 8 RAM disks are tracked
for the following definition of HII varstore structure considering the
alignment:

typedef struct {
  UINT64    Size;
  UINT8     RamDiskList[0];
  } RAM_DISK_CONFIGURATION;

This commit uses the private data of each registered RAM disks to track
the HII checkbox status instead to resolve the issue.

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>
2016-05-10 11:08:57 +08:00
..
RamDisk.asl MdeModulePkg RamDiskDxe: Report ACPI NFIT for reserved memory RAM disks 2016-05-10 08:45:11 +08:00
RamDiskBlockIo.c MdeModulePkg RamDiskDxe: Install Block I/O 2 Protocol on RAM disk devices 2016-02-29 13:51:19 +08:00
RamDiskDriver.c MdeModulePkg RamDiskDxe: Fix wrong HII behavior for more than 8 RAM disks 2016-05-10 11:08:57 +08:00
RamDiskDxe.inf MdeModulePkg RamDiskDxe: Report ACPI NFIT for reserved memory RAM disks 2016-05-10 08:45:11 +08:00
RamDiskDxe.uni MdeModulePkg: Add RamDiskDxe driver implementation 2016-02-29 13:51:08 +08:00
RamDiskFileExplorer.c MdeModulePkg: Add RamDiskDxe driver implementation 2016-02-29 13:51:08 +08:00
RamDiskHii.vfr MdeModulePkg: Add RamDiskDxe driver implementation 2016-02-29 13:51:08 +08:00
RamDiskHiiStrings.uni MdeModulePkg/RamDiskDxe: Fix typo in HII message 2016-03-24 20:48:40 +08:00
RamDiskImpl.c MdeModulePkg RamDiskDxe: Fix wrong HII behavior for more than 8 RAM disks 2016-05-10 11:08:57 +08:00
RamDiskImpl.h MdeModulePkg RamDiskDxe: Fix wrong HII behavior for more than 8 RAM disks 2016-05-10 11:08:57 +08:00
RamDiskNVData.h MdeModulePkg RamDiskDxe: Fix wrong HII behavior for more than 8 RAM disks 2016-05-10 11:08:57 +08:00
RamDiskProtocol.c MdeModulePkg RamDiskDxe: Fix wrong HII behavior for more than 8 RAM disks 2016-05-10 11:08:57 +08:00