]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/Library/BaseMemEncryptSevLib/PeiMemEncryptSevLib.inf
0402e49a1028c9fd39ba142d73e1c016ceb4c1fe
[mirror_edk2.git] / OvmfPkg / Library / BaseMemEncryptSevLib / PeiMemEncryptSevLib.inf
1 ## @file
2 # Library provides the helper functions for SEV guest
3 #
4 # Copyright (c) 2020 Advanced Micro Devices. All rights reserved.<BR>
5 #
6 # SPDX-License-Identifier: BSD-2-Clause-Patent
7 #
8 #
9 ##
10
11 [Defines]
12 INF_VERSION = 1.25
13 BASE_NAME = PeiMemEncryptSevLib
14 FILE_GUID = 15d9a694-3d2a-4184-9672-ba55c3070e07
15 MODULE_TYPE = BASE
16 VERSION_STRING = 1.0
17 LIBRARY_CLASS = MemEncryptSevLib|PEIM
18
19 #
20 # The following information is for reference only and not required by the build
21 # tools.
22 #
23 # VALID_ARCHITECTURES = IA32 X64
24 #
25
26 [Packages]
27 MdeModulePkg/MdeModulePkg.dec
28 MdePkg/MdePkg.dec
29 OvmfPkg/OvmfPkg.dec
30 UefiCpuPkg/UefiCpuPkg.dec
31
32 [Sources]
33 PeiDxeMemEncryptSevLibInternal.c
34 PeiMemEncryptSevLibInternal.c
35
36 [Sources.X64]
37 X64/MemEncryptSevLib.c
38 X64/PeiDxeVirtualMemory.c
39 X64/PeiSnpSystemRamValidate.c
40 X64/SnpPageStateChangeInternal.c
41 X64/VirtualMemory.c
42 X64/VirtualMemory.h
43
44 [Sources.IA32]
45 Ia32/MemEncryptSevLib.c
46
47 [LibraryClasses]
48 BaseLib
49 CacheMaintenanceLib
50 CpuLib
51 DebugLib
52 MemoryAllocationLib
53 PcdLib
54 VmgExitLib
55
56 [FeaturePcd]
57 gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire
58
59 [FixedPcd]
60 gUefiCpuPkgTokenSpaceGuid.PcdSevEsWorkAreaBase