2017-07-06 15:26:45 +02:00
|
|
|
#/** @file
|
|
|
|
#
|
|
|
|
# Driver clears the encryption attribute from MMIO regions when SEV is enabled
|
|
|
|
#
|
2021-01-07 19:48:18 +01:00
|
|
|
# Copyright (c) 2017 - 2020, AMD Inc. All rights reserved.<BR>
|
2017-07-06 15:26:45 +02:00
|
|
|
#
|
2019-04-04 01:06:33 +02:00
|
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
2017-07-06 15:26:45 +02:00
|
|
|
#
|
|
|
|
#**/
|
|
|
|
|
|
|
|
[Defines]
|
|
|
|
INF_VERSION = 1.25
|
|
|
|
BASE_NAME = AmdSevDxe
|
|
|
|
FILE_GUID = 2ec9da37-ee35-4de9-86c5-6d9a81dc38a7
|
|
|
|
MODULE_TYPE = DXE_DRIVER
|
|
|
|
VERSION_STRING = 1.0
|
|
|
|
ENTRY_POINT = AmdSevDxeEntryPoint
|
|
|
|
|
|
|
|
[Sources]
|
|
|
|
AmdSevDxe.c
|
|
|
|
|
|
|
|
[Packages]
|
|
|
|
MdeModulePkg/MdeModulePkg.dec
|
2018-03-01 15:02:11 +01:00
|
|
|
MdePkg/MdePkg.dec
|
2017-07-06 15:26:45 +02:00
|
|
|
OvmfPkg/OvmfPkg.dec
|
|
|
|
|
|
|
|
[LibraryClasses]
|
2018-03-01 22:05:55 +01:00
|
|
|
BaseLib
|
|
|
|
BaseMemoryLib
|
2017-07-06 15:26:45 +02:00
|
|
|
DebugLib
|
2018-03-01 15:02:11 +01:00
|
|
|
DxeServicesTableLib
|
2017-07-06 15:26:45 +02:00
|
|
|
MemEncryptSevLib
|
2018-03-01 21:43:09 +01:00
|
|
|
MemoryAllocationLib
|
2018-03-01 22:05:55 +01:00
|
|
|
PcdLib
|
2018-03-01 15:02:11 +01:00
|
|
|
UefiDriverEntryPoint
|
2017-07-06 15:26:45 +02:00
|
|
|
|
|
|
|
[Depex]
|
|
|
|
TRUE
|
2018-03-01 22:05:55 +01:00
|
|
|
|
|
|
|
[FeaturePcd]
|
|
|
|
gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire
|
2021-01-07 19:48:18 +01:00
|
|
|
|
|
|
|
[FixedPcd]
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress
|
2021-12-09 04:27:59 +01:00
|
|
|
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfCpuidBase
|
|
|
|
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfCpuidSize
|
|
|
|
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSnpSecretsBase
|
|
|
|
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSnpSecretsSize
|
|
|
|
|
2022-11-08 17:46:14 +01:00
|
|
|
[Protocols]
|
|
|
|
gEdkiiMemoryAcceptProtocolGuid
|
2023-01-26 22:17:39 +01:00
|
|
|
gOvmfSevMemoryAcceptanceProtocolGuid
|
2022-11-08 17:46:14 +01:00
|
|
|
|
2021-12-09 04:27:59 +01:00
|
|
|
[Guids]
|
|
|
|
gConfidentialComputingSevSnpBlobGuid
|
2023-01-26 22:17:37 +01:00
|
|
|
gEfiEventBeforeExitBootServicesGuid
|
2021-01-07 19:48:18 +01:00
|
|
|
|
|
|
|
[Pcd]
|
|
|
|
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId
|