]> git.proxmox.com Git - mirror_edk2.git/commit - OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
ArmVirtPkg, OvmfPkg: retire QemuFwCfgS3Enabled() from QemuFwCfgLib
authorLaszlo Ersek <lersek@redhat.com>
Wed, 22 Feb 2017 02:47:18 +0000 (03:47 +0100)
committerLaszlo Ersek <lersek@redhat.com>
Tue, 14 Mar 2017 20:49:16 +0000 (21:49 +0100)
commit687f7521ea03b6c05ec03a8d37f4d7370cfd1016
tree4250d6015318f78ffab65f0e224ebe6eed3281ed
parentb7f2e82c03105467eac284b74964725693ab72d3
ArmVirtPkg, OvmfPkg: retire QemuFwCfgS3Enabled() from QemuFwCfgLib

At this point we're ready to retire QemuFwCfgS3Enabled() from the
QemuFwCfgLib class, together with its implementations in:

- ArmVirtPkg/Library/QemuFwCfgLib/QemuFwCfgLib.c
- OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLib.c

Extend all modules that call the function with a new QemuFwCfgS3Lib class
dependency. Thanks to the previously added library class, instances, and
class resolutions, we can do this switch now as tightly as possible.

Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=394
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
14 files changed:
ArmVirtPkg/Library/QemuFwCfgLib/QemuFwCfgLib.c
OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpi.c
OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpiPlatformDxe.inf
OvmfPkg/Include/Library/QemuFwCfgLib.h
OvmfPkg/Library/LockBoxLib/LockBoxDxe.c
OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.h
OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLib.c
OvmfPkg/PlatformPei/Platform.c
OvmfPkg/PlatformPei/PlatformPei.inf
OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.c
OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf