2021-01-07 19:48:23 +01:00
|
|
|
## @file
|
|
|
|
# VMGEXIT Support Library.
|
|
|
|
#
|
|
|
|
# Copyright (C) 2020, Advanced Micro Devices, Inc. All rights reserved.<BR>
|
|
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
|
|
#
|
|
|
|
##
|
|
|
|
|
|
|
|
[Defines]
|
|
|
|
INF_VERSION = 0x00010005
|
2022-11-07 07:30:26 +01:00
|
|
|
BASE_NAME = SecCcExitLib
|
2021-01-07 19:48:23 +01:00
|
|
|
FILE_GUID = dafff819-f86c-4cff-a70e-83161e5bcf9a
|
|
|
|
MODULE_TYPE = BASE
|
|
|
|
VERSION_STRING = 1.0
|
2022-11-07 07:30:26 +01:00
|
|
|
LIBRARY_CLASS = CcExitLib|SEC
|
2021-01-07 19:48:23 +01:00
|
|
|
|
|
|
|
#
|
|
|
|
# The following information is for reference only and not required by the build tools.
|
|
|
|
#
|
|
|
|
# VALID_ARCHITECTURES = X64
|
|
|
|
#
|
|
|
|
|
|
|
|
[Sources.common]
|
2022-11-07 07:30:26 +01:00
|
|
|
CcExitLib.c
|
|
|
|
CcExitVcHandler.c
|
|
|
|
CcExitVcHandler.h
|
2023-01-17 08:43:29 +01:00
|
|
|
CcInstruction.c
|
2022-11-07 07:30:26 +01:00
|
|
|
SecCcExitVcHandler.c
|
|
|
|
CcExitVeHandler.c
|
2021-10-30 08:30:15 +02:00
|
|
|
X64/TdVmcallCpuid.nasm
|
2021-01-07 19:48:23 +01:00
|
|
|
|
|
|
|
[Packages]
|
|
|
|
MdePkg/MdePkg.dec
|
|
|
|
OvmfPkg/OvmfPkg.dec
|
|
|
|
UefiCpuPkg/UefiCpuPkg.dec
|
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
BaseLib
|
|
|
|
BaseMemoryLib
|
|
|
|
DebugLib
|
2021-01-07 19:48:25 +01:00
|
|
|
LocalApicLib
|
|
|
|
MemEncryptSevLib
|
2021-01-07 19:48:23 +01:00
|
|
|
PcdLib
|
|
|
|
|
|
|
|
[FixedPcd]
|
|
|
|
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecGhcbBackupBase
|
|
|
|
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecGhcbBackupSize
|
2021-12-09 04:27:39 +01:00
|
|
|
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfCpuidBase
|
|
|
|
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfCpuidSize
|