mirror of https://github.com/acidanthera/audk.git
Ovmfpkg: Prepare OvmfPkg to use the AmdSvsmLib library
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4654 The MpInitLib library will be updated to use the new AmdSvsmLib library. To prevent any build breakage, update the OvmfPkg DSCs file to include the AmdSvsmLib NULL library. Cc: Anatol Belski <anbelski@linux.microsoft.com> Cc: Anthony Perard <anthony.perard@citrix.com> Cc: Ard Biesheuvel <ardb+tianocore@kernel.org> Cc: Corvin Köhne <corvink@freebsd.org> Cc: Erdem Aktas <erdemaktas@google.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: Jianyong Wu <jianyong.wu@arm.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Laszlo Ersek <lersek@redhat.com> Cc: Michael Roth <michael.roth@amd.com> Cc: Min Xu <min.m.xu@intel.com> Cc: Rebecca Cran <rebecca@bsdio.com> Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com> Acked-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
d2b18e6bc2
commit
789727ccf3
|
@ -204,6 +204,7 @@
|
||||||
!include OvmfPkg/Include/Dsc/ShellLibs.dsc.inc
|
!include OvmfPkg/Include/Dsc/ShellLibs.dsc.inc
|
||||||
|
|
||||||
[LibraryClasses.common]
|
[LibraryClasses.common]
|
||||||
|
AmdSvsmLib|UefiCpuPkg/Library/AmdSvsmLibNull/AmdSvsmLibNull.inf
|
||||||
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
|
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
|
||||||
CcExitLib|OvmfPkg/Library/CcExitLib/CcExitLib.inf
|
CcExitLib|OvmfPkg/Library/CcExitLib/CcExitLib.inf
|
||||||
TdxLib|MdePkg/Library/TdxLib/TdxLib.inf
|
TdxLib|MdePkg/Library/TdxLib/TdxLib.inf
|
||||||
|
|
|
@ -232,6 +232,7 @@
|
||||||
!include OvmfPkg/Include/Dsc/OvmfTpmLibs.dsc.inc
|
!include OvmfPkg/Include/Dsc/OvmfTpmLibs.dsc.inc
|
||||||
|
|
||||||
[LibraryClasses.common]
|
[LibraryClasses.common]
|
||||||
|
AmdSvsmLib|UefiCpuPkg/Library/AmdSvsmLibNull/AmdSvsmLibNull.inf
|
||||||
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
|
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
|
||||||
CcExitLib|UefiCpuPkg/Library/CcExitLibNull/CcExitLibNull.inf
|
CcExitLib|UefiCpuPkg/Library/CcExitLibNull/CcExitLibNull.inf
|
||||||
TdxLib|MdePkg/Library/TdxLib/TdxLib.inf
|
TdxLib|MdePkg/Library/TdxLib/TdxLib.inf
|
||||||
|
|
|
@ -242,6 +242,7 @@
|
||||||
!include OvmfPkg/Include/Dsc/OvmfTpmLibs.dsc.inc
|
!include OvmfPkg/Include/Dsc/OvmfTpmLibs.dsc.inc
|
||||||
|
|
||||||
[LibraryClasses.common]
|
[LibraryClasses.common]
|
||||||
|
AmdSvsmLib|UefiCpuPkg/Library/AmdSvsmLibNull/AmdSvsmLibNull.inf
|
||||||
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
|
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
|
||||||
CcExitLib|OvmfPkg/Library/CcExitLib/CcExitLib.inf
|
CcExitLib|OvmfPkg/Library/CcExitLib/CcExitLib.inf
|
||||||
TdxLib|MdePkg/Library/TdxLib/TdxLib.inf
|
TdxLib|MdePkg/Library/TdxLib/TdxLib.inf
|
||||||
|
|
|
@ -212,6 +212,7 @@
|
||||||
!include OvmfPkg/Include/Dsc/ShellLibs.dsc.inc
|
!include OvmfPkg/Include/Dsc/ShellLibs.dsc.inc
|
||||||
|
|
||||||
[LibraryClasses.common]
|
[LibraryClasses.common]
|
||||||
|
AmdSvsmLib|UefiCpuPkg/Library/AmdSvsmLibNull/AmdSvsmLibNull.inf
|
||||||
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
|
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
|
||||||
CcExitLib|OvmfPkg/Library/CcExitLib/CcExitLib.inf
|
CcExitLib|OvmfPkg/Library/CcExitLib/CcExitLib.inf
|
||||||
TdxLib|MdePkg/Library/TdxLib/TdxLib.inf
|
TdxLib|MdePkg/Library/TdxLib/TdxLib.inf
|
||||||
|
|
|
@ -246,6 +246,7 @@
|
||||||
!include OvmfPkg/Include/Dsc/ShellLibs.dsc.inc
|
!include OvmfPkg/Include/Dsc/ShellLibs.dsc.inc
|
||||||
|
|
||||||
[LibraryClasses.common]
|
[LibraryClasses.common]
|
||||||
|
AmdSvsmLib|UefiCpuPkg/Library/AmdSvsmLibNull/AmdSvsmLibNull.inf
|
||||||
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
|
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
|
||||||
CcExitLib|OvmfPkg/Library/CcExitLib/CcExitLib.inf
|
CcExitLib|OvmfPkg/Library/CcExitLib/CcExitLib.inf
|
||||||
SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
|
SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
|
||||||
|
|
|
@ -247,6 +247,7 @@
|
||||||
!include OvmfPkg/Include/Dsc/ShellLibs.dsc.inc
|
!include OvmfPkg/Include/Dsc/ShellLibs.dsc.inc
|
||||||
|
|
||||||
[LibraryClasses.common]
|
[LibraryClasses.common]
|
||||||
|
AmdSvsmLib|UefiCpuPkg/Library/AmdSvsmLibNull/AmdSvsmLibNull.inf
|
||||||
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
|
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
|
||||||
CcExitLib|UefiCpuPkg/Library/CcExitLibNull/CcExitLibNull.inf
|
CcExitLib|UefiCpuPkg/Library/CcExitLibNull/CcExitLibNull.inf
|
||||||
TdxMailboxLib|OvmfPkg/Library/TdxMailboxLib/TdxMailboxLibNull.inf
|
TdxMailboxLib|OvmfPkg/Library/TdxMailboxLib/TdxMailboxLibNull.inf
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Copyright (c) 2006 - 2023, Intel Corporation. All rights reserved.<BR>
|
# Copyright (c) 2006 - 2023, Intel Corporation. All rights reserved.<BR>
|
||||||
# (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
|
# (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
|
||||||
# Copyright (c) Microsoft Corporation.
|
# Copyright (c) Microsoft Corporation.
|
||||||
# Copyright (C) 2023 Advanced Micro Devices, Inc. All rights reserved.<BR>
|
# Copyright (C) 2023 - 2024, Advanced Micro Devices, Inc. All rights reserved.<BR>
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||||
#
|
#
|
||||||
|
@ -252,6 +252,7 @@
|
||||||
!include OvmfPkg/Include/Dsc/ShellLibs.dsc.inc
|
!include OvmfPkg/Include/Dsc/ShellLibs.dsc.inc
|
||||||
|
|
||||||
[LibraryClasses.common]
|
[LibraryClasses.common]
|
||||||
|
AmdSvsmLib|UefiCpuPkg/Library/AmdSvsmLibNull/AmdSvsmLibNull.inf
|
||||||
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
|
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
|
||||||
CcExitLib|UefiCpuPkg/Library/CcExitLibNull/CcExitLibNull.inf
|
CcExitLib|UefiCpuPkg/Library/CcExitLibNull/CcExitLibNull.inf
|
||||||
TdxLib|MdePkg/Library/TdxLib/TdxLib.inf
|
TdxLib|MdePkg/Library/TdxLib/TdxLib.inf
|
||||||
|
|
|
@ -268,6 +268,7 @@
|
||||||
!include OvmfPkg/Include/Dsc/ShellLibs.dsc.inc
|
!include OvmfPkg/Include/Dsc/ShellLibs.dsc.inc
|
||||||
|
|
||||||
[LibraryClasses.common]
|
[LibraryClasses.common]
|
||||||
|
AmdSvsmLib|UefiCpuPkg/Library/AmdSvsmLibNull/AmdSvsmLibNull.inf
|
||||||
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
|
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
|
||||||
CcExitLib|OvmfPkg/Library/CcExitLib/CcExitLib.inf
|
CcExitLib|OvmfPkg/Library/CcExitLib/CcExitLib.inf
|
||||||
TdxLib|MdePkg/Library/TdxLib/TdxLib.inf
|
TdxLib|MdePkg/Library/TdxLib/TdxLib.inf
|
||||||
|
|
|
@ -233,6 +233,7 @@
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
[LibraryClasses.common]
|
[LibraryClasses.common]
|
||||||
|
AmdSvsmLib|UefiCpuPkg/Library/AmdSvsmLibNull/AmdSvsmLibNull.inf
|
||||||
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
|
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
|
||||||
CcExitLib|UefiCpuPkg/Library/CcExitLibNull/CcExitLibNull.inf
|
CcExitLib|UefiCpuPkg/Library/CcExitLibNull/CcExitLibNull.inf
|
||||||
TdxLib|MdePkg/Library/TdxLib/TdxLib.inf
|
TdxLib|MdePkg/Library/TdxLib/TdxLib.inf
|
||||||
|
|
Loading…
Reference in New Issue