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