OvmfPkg: move QemuFwCfgAcpi into AcpiPlatformLib
This makes the InstallQemuFwcfgTables function reusable by bhyve. Signed-off-by: Corvin Köhne <corvink@FreeBSD.org> Acked-by: Peter Grehan <grehan@freebsd.org>
This commit is contained in:
committed by
mergify[bot]
parent
0f612c1443
commit
5a118a61d1
@@ -9,6 +9,9 @@
|
||||
|
||||
#include <OvmfPlatforms.h> // CLOUDHV_DEVICE_ID
|
||||
#include <ConfidentialComputingGuestAttr.h>
|
||||
|
||||
#include <Library/AcpiPlatformLib.h>
|
||||
|
||||
#include "AcpiPlatform.h"
|
||||
|
||||
/**
|
||||
|
@@ -23,12 +23,6 @@ InstallCloudHvTables (
|
||||
IN EFI_ACPI_TABLE_PROTOCOL *AcpiProtocol
|
||||
);
|
||||
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
InstallQemuFwCfgTables (
|
||||
IN EFI_ACPI_TABLE_PROTOCOL *AcpiProtocol
|
||||
);
|
||||
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
InstallAcpiTables (
|
||||
|
@@ -25,7 +25,6 @@
|
||||
AcpiPlatform.h
|
||||
CloudHvAcpi.c
|
||||
EntryPoint.c
|
||||
QemuFwCfgAcpi.c
|
||||
|
||||
[Packages]
|
||||
MdeModulePkg/MdeModulePkg.dec
|
||||
@@ -41,12 +40,10 @@
|
||||
QemuFwCfgLib
|
||||
UefiDriverEntryPoint
|
||||
HobLib
|
||||
TpmMeasurementLib
|
||||
|
||||
[Protocols]
|
||||
gEfiAcpiTableProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
||||
gEfiPciIoProtocolGuid # PROTOCOL SOMETIMES_CONSUMED
|
||||
gQemuAcpiTableNotifyProtocolGuid # PROTOCOL PRODUCES
|
||||
|
||||
[Guids]
|
||||
gRootBridgesConnectedEventGroupGuid
|
||||
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user