]>
Commit | Line | Data |
---|---|---|
786f4763 LE |
1 | /** @file\r |
2 | A hook-in library for MdeModulePkg/Universal/Acpi/AcpiTableDxe.\r | |
3 | \r | |
4 | Plugging this library instance into AcpiTableDxe makes\r | |
5 | EFI_ACPI_TABLE_PROTOCOL and (if enabled) EFI_ACPI_SDT_PROTOCOL depend on the\r | |
6 | platform's dynamic decision whether to expose an ACPI-based hardware\r | |
7 | description to the operating system.\r | |
8 | \r | |
9 | Universal and platform specific DXE drivers that produce ACPI tables depend\r | |
10 | on EFI_ACPI_TABLE_PROTOCOL / EFI_ACPI_SDT_PROTOCOL in turn.\r | |
11 | \r | |
12 | Copyright (C) 2017, Red Hat, Inc.\r | |
13 | \r | |
878b807a | 14 | SPDX-License-Identifier: BSD-2-Clause-Patent\r |
786f4763 LE |
15 | **/\r |
16 | \r | |
17 | #include <Base.h>\r | |
18 | \r | |
19 | RETURN_STATUS\r | |
20 | EFIAPI\r | |
21 | PlatformHasAcpiInitialize (\r | |
22 | VOID\r | |
23 | )\r | |
24 | {\r | |
25 | //\r | |
26 | // Do nothing, just imbue AcpiTableDxe with a protocol dependency on\r | |
27 | // EDKII_PLATFORM_HAS_ACPI_GUID.\r | |
28 | //\r | |
29 | return RETURN_SUCCESS;\r | |
30 | }\r |