OvmfPkg/MemEncryptSevLib: find pages of initial SMRAM save state map
[mirror_edk2.git] / OvmfPkg / Library / BaseMemEncryptSevLib / BaseMemEncryptSevLib.inf
CommitLineData
a1f22614
BS
1## @file\r
2# Library provides the helper functions for SEV guest\r
3#\r
4# Copyright (c) 2017 Advanced Micro Devices. All rights reserved.<BR>\r
5#\r
6# This program and the accompanying materials\r
7# are licensed and made available under the terms and conditions of the BSD\r
8# License which accompanies this distribution. The full text of the license\r
9# may be found at http://opensource.org/licenses/bsd-license.php\r
4bd6bf31 10#\r
a1f22614 11# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
4bd6bf31
LE
12# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR\r
13# IMPLIED.\r
a1f22614
BS
14#\r
15#\r
16##\r
17\r
18[Defines]\r
19 INF_VERSION = 1.25\r
20 BASE_NAME = MemEncryptSevLib\r
21 FILE_GUID = c1594631-3888-4be4-949f-9c630dbc842b\r
22 MODULE_TYPE = BASE\r
23 VERSION_STRING = 1.0\r
24 LIBRARY_CLASS = MemEncryptSevLib|PEIM DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SMM_DRIVER UEFI_DRIVER\r
25\r
26#\r
4bd6bf31
LE
27# The following information is for reference only and not required by the build\r
28# tools.\r
a1f22614
BS
29#\r
30# VALID_ARCHITECTURES = IA32 X64\r
31#\r
32\r
33[Packages]\r
a1f22614 34 MdeModulePkg/MdeModulePkg.dec\r
bd13ecf3 35 MdePkg/MdePkg.dec\r
a1f22614
BS
36 OvmfPkg/OvmfPkg.dec\r
37 UefiCpuPkg/UefiCpuPkg.dec\r
38\r
39[Sources.X64]\r
40 MemEncryptSevLibInternal.c\r
41 X64/MemEncryptSevLib.c\r
42 X64/VirtualMemory.c\r
43\r
44[Sources.IA32]\r
a1f22614 45 Ia32/MemEncryptSevLib.c\r
bd13ecf3 46 MemEncryptSevLibInternal.c\r
a1f22614
BS
47\r
48[LibraryClasses]\r
49 BaseLib\r
a1f22614 50 CacheMaintenanceLib\r
bd13ecf3 51 CpuLib\r
a1f22614
BS
52 DebugLib\r
53 MemoryAllocationLib\r
61a044c6
LE
54 PcdLib\r
55\r
56[FeaturePcd]\r
57 gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire\r