Follow AcpiPlatformDxe (from which this module is derived) and install all ACPI tables added by board.
Cc: Chasel Chiu <chasel.c...@intel.com> Cc: Nate DeSimone <nathaniel.l.desim...@intel.com> Cc: Liming Gao <gaolim...@byosoft.com.cn> Cc: Eric Dong <eric.d...@intel.com> Signed-off-by: Benjamin Doron <benjamin.doro...@gmail.com> --- Platform/Intel/MinPlatformPkg/Acpi/MinDsdt/MinDsdt.c | 10 ++++++++++ Platform/Intel/MinPlatformPkg/Acpi/MinDsdt/MinDsdt.inf | 3 +++ 2 files changed, 13 insertions(+) diff --git a/Platform/Intel/MinPlatformPkg/Acpi/MinDsdt/MinDsdt.c b/Platform/Intel/MinPlatformPkg/Acpi/MinDsdt/MinDsdt.c index 9bc222453857..ac343afca7d4 100644 --- a/Platform/Intel/MinPlatformPkg/Acpi/MinDsdt/MinDsdt.c +++ b/Platform/Intel/MinPlatformPkg/Acpi/MinDsdt/MinDsdt.c @@ -227,6 +227,16 @@ InstallMinDsdt ( Status = PublishAcpiTablesFromFv (&gEfiCallerIdGuid); ASSERT_EFI_ERROR (Status); + Status = PublishAcpiTablesFromFv (PcdGetPtr (PcdAcpiTableStorageFile)); + if (EFI_ERROR (Status)) { + DEBUG (( + DEBUG_ERROR, + "Error: PublishAcpiTablesFromFv[%g] - %r", + PcdGetPtr (PcdAcpiTableStorageFile), + Status + )); + DEBUG ((DEBUG_INFO, "Does board contain ACPI tables?\n")); + } return EFI_SUCCESS; } diff --git a/Platform/Intel/MinPlatformPkg/Acpi/MinDsdt/MinDsdt.inf b/Platform/Intel/MinPlatformPkg/Acpi/MinDsdt/MinDsdt.inf index 3437bc489cd3..dc32186eb361 100644 --- a/Platform/Intel/MinPlatformPkg/Acpi/MinDsdt/MinDsdt.inf +++ b/Platform/Intel/MinPlatformPkg/Acpi/MinDsdt/MinDsdt.inf @@ -21,6 +21,7 @@ [Packages] MdePkg/MdePkg.dec + MdeModulePkg/MdeModulePkg.dec MinPlatformPkg/MinPlatformPkg.dec [LibraryClasses] @@ -41,6 +42,8 @@ gMinPlatformPkgTokenSpaceGuid.PcdPciReservedMemBase gMinPlatformPkgTokenSpaceGuid.PcdPciReservedMemLimit + gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiTableStorageFile + [Depex] gEfiAcpiTableProtocolGuid AND gEfiFirmwareVolume2ProtocolGuid -- 2.31.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#79917): https://edk2.groups.io/g/devel/message/79917 Mute This Topic: https://groups.io/mt/85216567/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-