Since the RamDiskDxe part in MdeModulePkg has not been changed, this
series only contains the patch for changes made in OvmfPkg.
Changes compared with V3:
1. Set Pcd 'PcdInstallAcpiSdtProtocol' to TURE in OVMF DSC files.
Changes compared with V2:
1. RamDiskDxe driver now will register an EFI event in the Ready To Boot
Event Group to a). detect whether EFI_ACPI_TABLE_PROTOCOL and
EFI_ACPI_SDT_PROTOCOL are both produced; b). publish all the reserved
memory type RAM disks registered at this point to the NFIT if both
protocols are produced.
2. The RamDiskUnpublishNfit() now will uninstall NFIT and SSDT that is
used to report the NVDIMM root device from the ACPI table when there is
no NFIT structure in NFIT after removing a RAM disk.
3. Instead of adding a new rule in OvmfPkg FDF files, the patch now lists
the asl and aml options in the main [Rule.Common.DXE_DRIVER] field.
Changes compared with V1:
1. Instead of creating a new NFIT for each registered reserved memory RAM
disk, new cotent of the NFIT is appended to the existing one.
2. Report an NVDIMM root device in the \SB scope if there is no NFIT in
the ACPI table.
3. Modify FDF files in OvmfPkg to make sure the report of the NVDIMM root
device will be done correctly.
Hao Wu (2):
MdeModulePkg RamDiskDxe: Report ACPI NFIT for reserved memory RAM
disks
OvmfPkg: Modify FDF/DSC files for RamDiskDxe's adding NFIT report
feature
MdeModulePkg/Universal/Disk/RamDiskDxe/RamDisk.asl | 44 ++
.../Universal/Disk/RamDiskDxe/RamDiskDriver.c | 80 ++++
.../Universal/Disk/RamDiskDxe/RamDiskDxe.inf | 12 +
.../Universal/Disk/RamDiskDxe/RamDiskImpl.h | 28 ++
.../Universal/Disk/RamDiskDxe/RamDiskProtocol.c | 494 +++++++++++++++++++++
OvmfPkg/OvmfPkgIa32.dsc | 1 +
OvmfPkg/OvmfPkgIa32.fdf | 2 +
OvmfPkg/OvmfPkgIa32X64.dsc | 1 +
OvmfPkg/OvmfPkgIa32X64.fdf | 2 +
OvmfPkg/OvmfPkgX64.dsc | 1 +
OvmfPkg/OvmfPkgX64.fdf | 2 +
11 files changed, 667 insertions(+)
create mode 100644 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDisk.asl
--
1.9.5.msysgit.0
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel