diff options
author | Laszlo Ersek <lersek@redhat.com> | 2018-07-18 14:00:25 +0200 |
---|---|---|
committer | Laszlo Ersek <lersek@redhat.com> | 2018-07-19 16:54:24 +0200 |
commit | a3fffb4f5e1535e8e542669925eed489fdce6b62 (patch) | |
tree | 5a3599fb520565949e9f92cd627283936a870e91 /OvmfPkg | |
parent | 58942277bcbf41abda5f6e3a1c89d571105d5983 (diff) | |
download | edk2-a3fffb4f5e1535e8e542669925eed489fdce6b62.zip edk2-a3fffb4f5e1535e8e542669925eed489fdce6b62.tar.gz edk2-a3fffb4f5e1535e8e542669925eed489fdce6b62.tar.bz2 |
OvmfPkg/AcpiPlatformDxe: clean up libs and protos in "AcpiPlatformDxe.inf"
None of the source files referenced by "AcpiPlatformDxe.inf" #include
"MdePkg/Include/Library/DxeServicesLib.h" or use interfaces declared
therein, so drop DxeServicesLib from [LibraryClasses].
"AcpiPlatformDxe.inf" references "AcpiPlatform.c", which installs ACPI
tables built into the firmware image from under "OvmfPkg/AcpiTables/", in
case dynamically generated ACPI tables are not available from Xen or QEMU.
For this, the driver consumes gEfiFirmwareVolume2ProtocolGuid. Account for
that in [Protocols].
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Steven Shi <steven.shi@intel.com>
Reported-by: Steven Shi <steven.shi@intel.com>
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=1014
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Diffstat (limited to 'OvmfPkg')
-rw-r--r-- | OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf b/OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf index edc192e..8440e7b 100644 --- a/OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf +++ b/OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf @@ -46,7 +46,6 @@ [LibraryClasses]
UefiLib
- DxeServicesLib
PcdLib
BaseMemoryLib
DebugLib
@@ -62,6 +61,7 @@ [Protocols]
gEfiAcpiTableProtocolGuid # PROTOCOL ALWAYS_CONSUMED
+ gEfiFirmwareVolume2ProtocolGuid # PROTOCOL SOMETIMES_CONSUMED
gEfiPciIoProtocolGuid # PROTOCOL SOMETIMES_CONSUMED
[Guids]
|