diff options
author | Aaron Li <aaron.li@intel.com> | 2024-03-26 15:57:33 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-04-09 07:03:08 +0000 |
commit | 932db9df0caa26daca4edf133fb2aed7b4a9193e (patch) | |
tree | b238909ec78271f2e3426374685f147789e68c1c /IntelFsp2Pkg/Include/Library/FspPlatformLib.h | |
parent | b7f8779fe1f60113fdaab3b2f3f17c9f900b0456 (diff) | |
download | edk2-932db9df0caa26daca4edf133fb2aed7b4a9193e.zip edk2-932db9df0caa26daca4edf133fb2aed7b4a9193e.tar.gz edk2-932db9df0caa26daca4edf133fb2aed7b4a9193e.tar.bz2 |
MdeModulePkg/AcpiTableDxe: PCD switch to avoid using ACPI reclaim memory
UEFI spec defined ACPI Tables at boot time can be contained in memory of
type EfiACPIReclaimMemory or EfiAcpiMemoryNVS, although InstallAcpiTable
with AcpiTableProtocol will only allocate memory with type
EfiACPIReclaimMemory (Except FACS).
This patch provides an optional method controlled by PCD to avoid using
EfiACPIReclaimMemory, by setting the PCD PcdNoACPIReclaimMemory to TRUE,
all ACPI allocated memory will use EfiAcpiMemoryNVS instead.
Cc: Zhiguang Liu <zhiguang.liu@intel.com>
Cc: Dandan Bi <dandan.bi@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Liu Yun <yun.y.liu@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Signed-off-by: Aaron Li <aaron.li@intel.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Reviewed-by: Zhiguang Liu <zhiguang.liu@intel.com>
Diffstat (limited to 'IntelFsp2Pkg/Include/Library/FspPlatformLib.h')
0 files changed, 0 insertions, 0 deletions