OvmfPkg/Xen: export search of RSDP into a library function
Xen and bhyve are placing ACPI tables into system memory. So, they can share the same code. Therefore, create a new library which searches and installs ACPI tables from system memory. Signed-off-by: Corvin Köhne <corvink@FreeBSD.org> Reviewed-by: Anthony PERARD <anthony.perard@citrix.com> Acked-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
committed by
mergify[bot]
parent
c1dd400a13
commit
f211292711
26
OvmfPkg/Library/AcpiPlatformLib/DxeAcpiPlatformLib.inf
Normal file
26
OvmfPkg/Library/AcpiPlatformLib/DxeAcpiPlatformLib.inf
Normal file
@@ -0,0 +1,26 @@
|
||||
## @file
|
||||
# ACPI Platform Library Instance.
|
||||
#
|
||||
# Copyright (C) 2023, Corvin Köhne <corvink@FreeBSD.org>
|
||||
#
|
||||
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
##
|
||||
|
||||
[Defines]
|
||||
INF_VERSION = 0x00010005
|
||||
BASE_NAME = DxeAcpiPlatformLib
|
||||
FILE_GUID = 578F441A-4A4C-4D24-B9BE-F783152B46F6
|
||||
MODULE_TYPE = DXE_DRIVER
|
||||
VERSION_STRING = 1.0
|
||||
LIBRARY_CLASS = AcpiPlatformLib
|
||||
|
||||
[Sources]
|
||||
DxeAcpiPlatformLib.c
|
||||
|
||||
[Packages]
|
||||
MdePkg/MdePkg.dec
|
||||
OvmfPkg/OvmfPkg.dec
|
||||
|
||||
[LibraryClasses]
|
||||
BaseLib
|
||||
DebugLib
|
Reference in New Issue
Block a user