]> git.proxmox.com Git - mirror_edk2.git/blame - OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptSevLib.inf
OvmfPkg/MemEncryptSevLib: add support to validate system RAM
[mirror_edk2.git] / OvmfPkg / Library / BaseMemEncryptSevLib / SecMemEncryptSevLib.inf
CommitLineData
a746ca5b
TL
1## @file\r
2# Library provides the helper functions for SEV guest\r
3#\r
4# Copyright (c) 2020 Advanced Micro Devices. All rights reserved.<BR>\r
5#\r
6# SPDX-License-Identifier: BSD-2-Clause-Patent\r
7#\r
8#\r
9##\r
10\r
11[Defines]\r
12 INF_VERSION = 1.25\r
13 BASE_NAME = SecMemEncryptSevLib\r
14 FILE_GUID = 046388b4-430e-4e61-88f6-51ea21db2632\r
15 MODULE_TYPE = BASE\r
16 VERSION_STRING = 1.0\r
17 LIBRARY_CLASS = MemEncryptSevLib|SEC\r
18\r
19#\r
20# The following information is for reference only and not required by the build\r
21# tools.\r
22#\r
23# VALID_ARCHITECTURES = IA32 X64\r
24#\r
25\r
26[Packages]\r
27 MdeModulePkg/MdeModulePkg.dec\r
28 MdePkg/MdePkg.dec\r
29 OvmfPkg/OvmfPkg.dec\r
30 UefiCpuPkg/UefiCpuPkg.dec\r
31\r
32[Sources]\r
33 SecMemEncryptSevLibInternal.c\r
34\r
35[Sources.X64]\r
36 X64/MemEncryptSevLib.c\r
37 X64/SecVirtualMemory.c\r
ade62c18
BS
38 X64/SecSnpSystemRamValidate.c\r
39 X64/SnpPageStateChangeInternal.c\r
c330af02 40 X64/VirtualMemory.c\r
a746ca5b
TL
41 X64/VirtualMemory.h\r
42\r
43[Sources.IA32]\r
44 Ia32/MemEncryptSevLib.c\r
45\r
46[LibraryClasses]\r
47 BaseLib\r
48 CpuLib\r
49 DebugLib\r
50 PcdLib\r
ade62c18 51 VmgExitLib\r
a746ca5b
TL
52\r
53[FixedPcd]\r
54 gUefiCpuPkgTokenSpaceGuid.PcdSevEsWorkAreaBase\r