]>
git.proxmox.com Git - mirror_edk2.git/blob - EmbeddedPkg/Library/PlatformHasAcpiLib/PlatformHasAcpiLib.c
2 A hook-in library for MdeModulePkg/Universal/Acpi/AcpiTableDxe.
4 Plugging this library instance into AcpiTableDxe makes
5 EFI_ACPI_TABLE_PROTOCOL and (if enabled) EFI_ACPI_SDT_PROTOCOL depend on the
6 platform's dynamic decision whether to expose an ACPI-based hardware
7 description to the operating system.
9 Universal and platform specific DXE drivers that produce ACPI tables depend
10 on EFI_ACPI_TABLE_PROTOCOL / EFI_ACPI_SDT_PROTOCOL in turn.
12 Copyright (C) 2017, Red Hat, Inc.
14 SPDX-License-Identifier: BSD-2-Clause-Patent
21 PlatformHasAcpiInitialize (
26 // Do nothing, just imbue AcpiTableDxe with a protocol dependency on
27 // EDKII_PLATFORM_HAS_ACPI_GUID.
29 return RETURN_SUCCESS
;