mirror of
				https://git.proxmox.com/git/mirror_edk2
				synced 2025-10-31 15:06:49 +00:00 
			
		
		
		
	 761329ee27
			
		
	
	
		761329ee27
		
	
	
	
	
		
			
			If HOB contains APCI table information, entry point of AcpiTableDxe.inf should parse the APCI table from HOB, and install these tables. We assume the whole ACPI table (starting with EFI_ACPI_2_0_ROOT_SYSTEM_DESCRIPTION_POINTER) is contained by a single gEfiAcpiTableGuid HOB. If error happens when installing ACPI table, stop installing and removing all the tables that are already added. Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Hao A Wu <hao.a.wu@intel.com> Cc: Dandan Bi <dandan.bi@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Ray Ni <ray.ni@intel.com> Reviewed-by: Hao A Wu <hao.a.wu@intel.com> Tested-by: Patrick Rudolph <patrick.rudolph@9elements.com> Signed-off-by: Zhiguang Liu <zhiguang.liu@intel.com>
		
			
				
	
	
		
			81 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
			
		
		
	
	
			81 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
| ## @file
 | |
| #  ACPI Table Protocol Driver
 | |
| #
 | |
| #  This driver initializes ACPI tables (Rsdp, Rsdt and Xsdt) and produces UEFI/PI
 | |
| #  services to install/uninstall/manage ACPI tables.
 | |
| #
 | |
| #  Copyright (c) 2006 - 2021, Intel Corporation. All rights reserved.<BR>
 | |
| #  Copyright (c) 2016, Linaro Ltd. All rights reserved.<BR>
 | |
| #  SPDX-License-Identifier: BSD-2-Clause-Patent
 | |
| #
 | |
| ##
 | |
| 
 | |
| [Defines]
 | |
|   INF_VERSION                    = 0x00010005
 | |
|   BASE_NAME                      = AcpiTableDxe
 | |
|   MODULE_UNI_FILE                = AcpiTableDxe.uni
 | |
|   FILE_GUID                      = 9622E42C-8E38-4a08-9E8F-54F784652F6B
 | |
|   MODULE_TYPE                    = DXE_DRIVER
 | |
|   VERSION_STRING                 = 1.0
 | |
| 
 | |
|   ENTRY_POINT                    = InitializeAcpiTableDxe
 | |
| 
 | |
| #
 | |
| # The following information is for reference only and not required by the build tools.
 | |
| #
 | |
| #  VALID_ARCHITECTURES           = IA32 X64 EBC
 | |
| #
 | |
| 
 | |
| [Sources]
 | |
|   AcpiTableProtocol.c
 | |
|   AcpiTable.h
 | |
|   AcpiTable.c
 | |
|   AcpiSdt.h
 | |
|   AcpiSdt.c
 | |
|   Aml.c
 | |
|   AmlString.c
 | |
|   AmlOption.c
 | |
|   AmlChild.c
 | |
|   AmlNamespace.c
 | |
| 
 | |
| [Packages]
 | |
|   MdePkg/MdePkg.dec
 | |
|   MdeModulePkg/MdeModulePkg.dec
 | |
| 
 | |
| [LibraryClasses]
 | |
|   UefiBootServicesTableLib
 | |
|   MemoryAllocationLib
 | |
|   UefiDriverEntryPoint
 | |
|   BaseMemoryLib
 | |
|   UefiLib
 | |
|   DebugLib
 | |
|   BaseLib
 | |
|   PcdLib
 | |
|   HobLib
 | |
| 
 | |
| [Guids]
 | |
|   gEfiAcpi10TableGuid                           ## PRODUCES           ## SystemTable
 | |
|   gEfiAcpiTableGuid                             ## PRODUCES           ## SystemTable
 | |
|   gUniversalPayloadAcpiTableGuid                ## SOMETIMES_CONSUMES ## HOB
 | |
| 
 | |
| [FeaturePcd]
 | |
|   gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol  ## CONSUMES
 | |
| 
 | |
| [Pcd]
 | |
|   gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemId            ## CONSUMES
 | |
|   gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemTableId       ## CONSUMES
 | |
|   gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemRevision      ## CONSUMES
 | |
|   gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultCreatorId        ## CONSUMES
 | |
|   gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultCreatorRevision  ## CONSUMES
 | |
|   gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiExposedTableVersions    ## CONSUMES
 | |
| 
 | |
| [Protocols]
 | |
|   gEfiAcpiTableProtocolGuid                     ## PRODUCES
 | |
|   gEfiAcpiSdtProtocolGuid                       ## PRODUCES
 | |
| 
 | |
| [Depex]
 | |
|   TRUE
 | |
| 
 | |
| [UserExtensions.TianoCore."ExtraFiles"]
 | |
|   AcpiTableDxeExtra.uni
 |