Turn the "QemuLoader.h" header into a public (IndustryStandard) one. The QEMU ACPI linker-loader interface is stable between QEMU and multiple guest firmwares.
Cc: Ard Biesheuvel <ardb+tianoc...@kernel.org> Cc: Jordan Justen <jordan.l.jus...@intel.com> Cc: Philippe Mathieu-Daudé <phi...@redhat.com> Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2122 Signed-off-by: Laszlo Ersek <ler...@redhat.com> --- OvmfPkg/{AcpiPlatformDxe => Include/IndustryStandard}/QemuLoader.h | 0 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf | 1 - OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpiPlatformDxe.inf | 1 - OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpi.c | 2 +- 4 files changed, 1 insertion(+), 3 deletions(-) diff --git a/OvmfPkg/AcpiPlatformDxe/QemuLoader.h b/OvmfPkg/Include/IndustryStandard/QemuLoader.h similarity index 100% rename from OvmfPkg/AcpiPlatformDxe/QemuLoader.h rename to OvmfPkg/Include/IndustryStandard/QemuLoader.h diff --git a/OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf b/OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf index 4522d7f6110c..3daeb2ee42d2 100644 --- a/OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf +++ b/OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf @@ -25,13 +25,12 @@ [Sources] AcpiPlatform.h BootScript.c EntryPoint.c PciDecoding.c Qemu.c QemuFwCfgAcpi.c - QemuLoader.h Xen.c [Packages] MdeModulePkg/MdeModulePkg.dec MdePkg/MdePkg.dec OvmfPkg/OvmfPkg.dec diff --git a/OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpiPlatformDxe.inf b/OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpiPlatformDxe.inf index cc24f35bd83a..48c8269a8b6f 100644 --- a/OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpiPlatformDxe.inf +++ b/OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpiPlatformDxe.inf @@ -24,13 +24,12 @@ [Sources] AcpiPlatform.h BootScript.c EntryPoint.c PciDecoding.c QemuFwCfgAcpi.c QemuFwCfgAcpiPlatform.c - QemuLoader.h [Packages] MdeModulePkg/MdeModulePkg.dec MdePkg/MdePkg.dec OvmfPkg/OvmfPkg.dec diff --git a/OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpi.c b/OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpi.c index c07b84a21385..621e69410da9 100644 --- a/OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpi.c +++ b/OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpi.c @@ -6,22 +6,22 @@ SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <IndustryStandard/Acpi.h> +#include <IndustryStandard/QemuLoader.h> #include <Library/BaseMemoryLib.h> #include <Library/DxeServicesTableLib.h> #include <Library/MemoryAllocationLib.h> #include <Library/OrderedCollectionLib.h> #include <Library/PcdLib.h> #include <Library/QemuFwCfgLib.h> #include <Library/QemuFwCfgS3Lib.h> #include "AcpiPlatform.h" -#include "QemuLoader.h" // // The user structure for the ordered collection that will track the fw_cfg // blobs under processing. // typedef struct { -- 2.19.1.3.g30247aa5d201 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#75678): https://edk2.groups.io/g/devel/message/75678 Mute This Topic: https://groups.io/mt/83110447/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-