ArmVirtPkg/Kvmtool: Add Configuration Manager
Add Configuration Manager to enable ACPI tables for Kvmtool firmware. The Configuration Manager for Kvmtool uses the DT Hardware Information Parser module (FdtHwInfoParser) to parse the DT provided by Kvmtool. The FdtHwInfoParser parses the DT and invokes the callback function HW_INFO_ADD_OBJECT to add the Configuration Manager objects to the Platform Information repository. The information for some Configuration Manager objects may not be available in the DT. Such objects are initialised locally by the Configuration Manager. Support for the following ACPI tables is provided: - DBG2 - DSDT (Empty stub) - FADT - GTDT - MADT - SPCR - SSDT (Cpu Hierarchy) - SSDT (Pcie bus) Signed-off-by: Sami Mujawar <sami.mujawar@arm.com> Signed-off-by: Pierre Gondois <Pierre.Gondois@arm.com> Acked-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
This commit is contained in:
committed by
mergify[bot]
parent
0dbd356983
commit
312ef7a0a4
54
ArmVirtPkg/KvmtoolCfgMgrDxe/ConfigurationManagerDxe.inf
Normal file
54
ArmVirtPkg/KvmtoolCfgMgrDxe/ConfigurationManagerDxe.inf
Normal file
@@ -0,0 +1,54 @@
|
||||
## @file
|
||||
# Configuration Manager Dxe
|
||||
#
|
||||
# Copyright (c) 2021 - 2022, Arm Limited. All rights reserved.<BR>
|
||||
#
|
||||
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
##
|
||||
|
||||
[Defines]
|
||||
INF_VERSION = 0x0001001B
|
||||
BASE_NAME = ConfigurationManagerDxe
|
||||
FILE_GUID = 3C80D366-510C-4154-BB3A-E12439AD337C
|
||||
MODULE_TYPE = DXE_DRIVER
|
||||
VERSION_STRING = 1.0
|
||||
ENTRY_POINT = ConfigurationManagerDxeInitialize
|
||||
UNLOAD_IMAGE = ConfigurationManagerDxeUnloadImage
|
||||
|
||||
#
|
||||
# The following information is for reference only and not required by the build tools.
|
||||
#
|
||||
# VALID_ARCHITECTURES = AARCH64
|
||||
#
|
||||
|
||||
[Sources]
|
||||
AslTables/Dsdt.asl
|
||||
ConfigurationManager.c
|
||||
ConfigurationManager.h
|
||||
ConfigurationManagerDxe.inf
|
||||
|
||||
[Packages]
|
||||
ArmVirtPkg/ArmVirtPkg.dec
|
||||
DynamicTablesPkg/DynamicTablesPkg.dec
|
||||
EmbeddedPkg/EmbeddedPkg.dec
|
||||
MdeModulePkg/MdeModulePkg.dec
|
||||
MdePkg/MdePkg.dec
|
||||
|
||||
[LibraryClasses]
|
||||
DynamicPlatRepoLib
|
||||
HobLib
|
||||
HwInfoParserLib
|
||||
PrintLib
|
||||
TableHelperLib
|
||||
UefiBootServicesTableLib
|
||||
UefiDriverEntryPoint
|
||||
UefiRuntimeServicesTableLib
|
||||
|
||||
[Protocols]
|
||||
gEdkiiConfigurationManagerProtocolGuid
|
||||
|
||||
[Guids]
|
||||
gFdtHobGuid
|
||||
|
||||
[Depex]
|
||||
gEdkiiPlatformHasAcpiGuid
|
Reference in New Issue
Block a user