]> git.proxmox.com Git - mirror_edk2.git/blob - EmbeddedPkg/Library/PlatformHasAcpiLib/PlatformHasAcpiLib.inf
EmbeddedPkg: introduce PlatformHasAcpiLib
[mirror_edk2.git] / EmbeddedPkg / Library / PlatformHasAcpiLib / PlatformHasAcpiLib.inf
1 ## @file
2 # A hook-in library for MdeModulePkg/Universal/Acpi/AcpiTableDxe.
3 #
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.
8 #
9 # Universal and platform specific DXE drivers that produce ACPI tables depend
10 # on EFI_ACPI_TABLE_PROTOCOL / EFI_ACPI_SDT_PROTOCOL in turn.
11 #
12 # Copyright (C) 2017, Red Hat, Inc.
13 #
14 # This program and the accompanying materials are licensed and made available
15 # under the terms and conditions of the BSD License which accompanies this
16 # distribution. The full text of the license may be found at
17 # http://opensource.org/licenses/bsd-license.php
18 #
19 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT
20 # WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
21 ##
22
23 [Defines]
24 INF_VERSION = 1.25
25 BASE_NAME = PlatformHasAcpiLib
26 FILE_GUID = 29beb028-0958-447b-be0a-12229235d77d
27 MODULE_TYPE = BASE
28 VERSION_STRING = 1.0
29 LIBRARY_CLASS = PlatformHasAcpiLib|DXE_DRIVER
30 CONSTRUCTOR = PlatformHasAcpiInitialize
31
32 [Sources]
33 PlatformHasAcpiLib.c
34
35 [Packages]
36 EmbeddedPkg/EmbeddedPkg.dec
37 MdePkg/MdePkg.dec
38
39 [Depex]
40 gEdkiiPlatformHasAcpiGuid