Commit | Line | Data |
---|---|---|
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 | |
c02a2f25 | 43 | X64/VirtualMemory.h\r |
a1f22614 BS |
44 | \r |
45 | [Sources.IA32]\r | |
a1f22614 | 46 | Ia32/MemEncryptSevLib.c\r |
bd13ecf3 | 47 | MemEncryptSevLibInternal.c\r |
a1f22614 BS |
48 | \r |
49 | [LibraryClasses]\r | |
50 | BaseLib\r | |
a1f22614 | 51 | CacheMaintenanceLib\r |
bd13ecf3 | 52 | CpuLib\r |
a1f22614 BS |
53 | DebugLib\r |
54 | MemoryAllocationLib\r | |
61a044c6 LE |
55 | PcdLib\r |
56 | \r | |
57 | [FeaturePcd]\r | |
58 | gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire\r |