1 | ## @file
|
---|
2 | # Map TPM MMIO range unencrypted when SEV-ES is active.
|
---|
3 | # Install gOvmfTpmMmioAccessiblePpiGuid unconditionally.
|
---|
4 | #
|
---|
5 | # Copyright (C) 2021, Advanced Micro Devices, Inc.
|
---|
6 | #
|
---|
7 | # SPDX-License-Identifier: BSD-2-Clause-Patent
|
---|
8 | ##
|
---|
9 |
|
---|
10 | [Defines]
|
---|
11 | INF_VERSION = 1.29
|
---|
12 | BASE_NAME = TpmMmioSevDecryptPei
|
---|
13 | FILE_GUID = F12F698A-E506-4A1B-B32E-6920E55DA1C4
|
---|
14 | MODULE_TYPE = PEIM
|
---|
15 | VERSION_STRING = 1.0
|
---|
16 | ENTRY_POINT = TpmMmioSevDecryptPeimEntryPoint
|
---|
17 |
|
---|
18 | [Sources]
|
---|
19 | TpmMmioSevDecryptPeim.c
|
---|
20 |
|
---|
21 | [Packages]
|
---|
22 | MdePkg/MdePkg.dec
|
---|
23 | OvmfPkg/OvmfPkg.dec
|
---|
24 | SecurityPkg/SecurityPkg.dec
|
---|
25 |
|
---|
26 | [LibraryClasses]
|
---|
27 | DebugLib
|
---|
28 | MemEncryptSevLib
|
---|
29 | PcdLib
|
---|
30 | PeimEntryPoint
|
---|
31 | PeiServicesLib
|
---|
32 |
|
---|
33 | [Ppis]
|
---|
34 | gOvmfTpmMmioAccessiblePpiGuid ## PRODUCES
|
---|
35 |
|
---|
36 | [FixedPcd]
|
---|
37 | gEfiSecurityPkgTokenSpaceGuid.PcdTpmBaseAddress ## CONSUMES
|
---|
38 |
|
---|
39 | [Depex]
|
---|
40 | gEfiPeiMemoryDiscoveredPpiGuid
|
---|