]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg/PlatformBootManagerLib: use PcdAcpiS3Enable to detect S3 support
authorLin, Gary (HPS OE-Linux) <gary.lin@hpe.com>
Tue, 31 Aug 2021 01:31:14 +0000 (09:31 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 31 Aug 2021 11:07:16 +0000 (11:07 +0000)
commit52e2dabc0f8d3af09c213072ce8ba734302f585d
tree887490830ea82ef7b4f9c09f86ba7dd3f097199f
parent28152333bccb778b62e6e97446b28bfa0e92ef82
OvmfPkg/PlatformBootManagerLib: use PcdAcpiS3Enable to detect S3 support

To avoid the potential inconsistency between PcdAcpiS3Enable and
QemuFwCfgS3Enabled(), this commit modifies PlatformBootManagerLib to
detect S3 support by PcdAcpiS3Enable as modules in MdeModulePkg do.

Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3573
Signed-off-by: Gary Lin <gary.lin@hpe.com>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Jiewen Yao <Jiewen.yao@intel.com>
Tested-by: Jim Fehlig <jfehlig@suse.com>
OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c
OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf