]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg RamDiskDxe: Report ACPI NFIT for reserved memory RAM disks
authorHao Wu <hao.a.wu@intel.com>
Tue, 29 Mar 2016 08:33:11 +0000 (16:33 +0800)
committerHao Wu <hao.a.wu@intel.com>
Tue, 10 May 2016 00:45:11 +0000 (08:45 +0800)
commit07a3fecd4c7906d1ec669e3ba9ca8af98ea48f62
treed21147228f57a2655214395f16c105cef133fe94
parent9f64a83484ed99f1d98df1487ba39776d30d24d8
MdeModulePkg RamDiskDxe: Report ACPI NFIT for reserved memory RAM disks

The RamDiskDxe now will report RAM disks with reserved memory type to NFIT
in the ACPI table.

This commit will also make sure that an NVDIMM root device exists in the
\SB scope before reporting any RAM disk to NFIT.

To properly report the NVDIMM root device, one will need to append the
following content in the [Rule.Common.DXE_DRIVER] field in platform FDF
files:

RAW ACPI  Optional                |.acpi
RAW ASL   Optional                |.aml

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: Samer El-Haj-Mahmoud <elhaj@hpe.com>
MdeModulePkg/Universal/Disk/RamDiskDxe/RamDisk.asl [new file with mode: 0644]
MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDriver.c
MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskImpl.h
MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskProtocol.c