mirror of
https://github.com/acidanthera/audk.git
synced 2025-08-25 03:28:08 +02:00
Kvmtool is a virtual machine manager that enables hosting KVM guests. It essentially provides a virtual hardware platform for guest operating systems. Kvmtool hands of a device tree containing the current hardware configuration to the firmware. A standards-based operating system would use ACPI to consume the platform hardware information, while some operating systems may prefer to use Device Tree. The KvmtoolPlatformDxe performs the platform actions like determining if the firmware should expose ACPI or the Device Tree based hardware description to the operating system. Signed-off-by: Sami Mujawar <sami.mujawar@arm.com> Acked-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
44 lines
1.1 KiB
INI
44 lines
1.1 KiB
INI
## @file
|
|
# The KvmtoolPlatformDxe performs the platform specific initialization like:
|
|
# - It decides if the firmware should expose ACPI or Device Tree-based
|
|
# hardware description to the operating system.
|
|
#
|
|
# Copyright (c) 2018 - 2020, ARM Limited. All rights reserved.
|
|
#
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
#
|
|
##
|
|
|
|
[Defines]
|
|
INF_VERSION = 0x0001001B
|
|
BASE_NAME = KvmtoolPlatformDxe
|
|
FILE_GUID = 7479CCCD-D721-442A-8C73-A72DBB886669
|
|
MODULE_TYPE = DXE_DRIVER
|
|
VERSION_STRING = 1.0
|
|
ENTRY_POINT = KvmtoolPlatformDxeEntryPoint
|
|
|
|
[Sources]
|
|
KvmtoolPlatformDxe.c
|
|
|
|
[Packages]
|
|
ArmVirtPkg/ArmVirtPkg.dec
|
|
EmbeddedPkg/EmbeddedPkg.dec
|
|
MdePkg/MdePkg.dec
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
|
|
[LibraryClasses]
|
|
BaseLib
|
|
DebugLib
|
|
UefiBootServicesTableLib
|
|
UefiDriverEntryPoint
|
|
|
|
[Guids]
|
|
gEdkiiPlatformHasAcpiGuid ## SOMETIMES_PRODUCES ## PROTOCOL
|
|
gEdkiiPlatformHasDeviceTreeGuid ## SOMETIMES_PRODUCES ## PROTOCOL
|
|
|
|
[Pcd]
|
|
gArmVirtTokenSpaceGuid.PcdForceNoAcpi
|
|
|
|
[Depex]
|
|
TRUE
|