2017-07-06 15:21:12 +02:00
|
|
|
## @file
|
|
|
|
# Library provides the helper functions for SEV guest
|
|
|
|
#
|
|
|
|
# Copyright (c) 2017 Advanced Micro Devices. All rights reserved.<BR>
|
|
|
|
#
|
|
|
|
# This program and the accompanying materials
|
|
|
|
# are licensed and made available under the terms and conditions of the BSD
|
|
|
|
# License which accompanies this distribution. The full text of the license
|
|
|
|
# may be found at http://opensource.org/licenses/bsd-license.php
|
2018-03-01 14:32:23 +01:00
|
|
|
#
|
2017-07-06 15:21:12 +02:00
|
|
|
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
2018-03-01 14:32:23 +01:00
|
|
|
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR
|
|
|
|
# IMPLIED.
|
2017-07-06 15:21:12 +02:00
|
|
|
#
|
|
|
|
#
|
|
|
|
##
|
|
|
|
|
|
|
|
[Defines]
|
|
|
|
INF_VERSION = 1.25
|
|
|
|
BASE_NAME = MemEncryptSevLib
|
|
|
|
FILE_GUID = c1594631-3888-4be4-949f-9c630dbc842b
|
|
|
|
MODULE_TYPE = BASE
|
|
|
|
VERSION_STRING = 1.0
|
|
|
|
LIBRARY_CLASS = MemEncryptSevLib|PEIM DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SMM_DRIVER UEFI_DRIVER
|
|
|
|
|
|
|
|
#
|
2018-03-01 14:32:23 +01:00
|
|
|
# The following information is for reference only and not required by the build
|
|
|
|
# tools.
|
2017-07-06 15:21:12 +02:00
|
|
|
#
|
|
|
|
# VALID_ARCHITECTURES = IA32 X64
|
|
|
|
#
|
|
|
|
|
|
|
|
[Packages]
|
|
|
|
MdeModulePkg/MdeModulePkg.dec
|
2018-03-01 15:02:11 +01:00
|
|
|
MdePkg/MdePkg.dec
|
2017-07-06 15:21:12 +02:00
|
|
|
OvmfPkg/OvmfPkg.dec
|
|
|
|
UefiCpuPkg/UefiCpuPkg.dec
|
|
|
|
|
|
|
|
[Sources.X64]
|
|
|
|
MemEncryptSevLibInternal.c
|
|
|
|
X64/MemEncryptSevLib.c
|
|
|
|
X64/VirtualMemory.c
|
2018-03-10 20:20:14 +01:00
|
|
|
X64/VirtualMemory.h
|
2017-07-06 15:21:12 +02:00
|
|
|
|
|
|
|
[Sources.IA32]
|
|
|
|
Ia32/MemEncryptSevLib.c
|
2018-03-01 15:02:11 +01:00
|
|
|
MemEncryptSevLibInternal.c
|
2017-07-06 15:21:12 +02:00
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
BaseLib
|
|
|
|
CacheMaintenanceLib
|
2018-03-01 15:02:11 +01:00
|
|
|
CpuLib
|
2017-07-06 15:21:12 +02:00
|
|
|
DebugLib
|
|
|
|
MemoryAllocationLib
|
2018-03-01 17:31:44 +01:00
|
|
|
PcdLib
|
|
|
|
|
|
|
|
[FeaturePcd]
|
|
|
|
gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire
|