#\r
# Copyright (c) 2017 Advanced Micro Devices. All rights reserved.<BR>\r
#\r
-# This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD\r
-# License which accompanies this distribution. The full text of the license\r
-# may be found at http://opensource.org/licenses/bsd-license.php\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+# SPDX-License-Identifier: BSD-2-Clause-Patent\r
#\r
#\r
##\r
LIBRARY_CLASS = MemEncryptSevLib|PEIM DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SMM_DRIVER UEFI_DRIVER\r
\r
#\r
-# The following information is for reference only and not required by the build tools.\r
+# The following information is for reference only and not required by the build\r
+# tools.\r
#\r
# VALID_ARCHITECTURES = IA32 X64\r
#\r
\r
[Packages]\r
- MdePkg/MdePkg.dec\r
MdeModulePkg/MdeModulePkg.dec\r
+ MdePkg/MdePkg.dec\r
OvmfPkg/OvmfPkg.dec\r
UefiCpuPkg/UefiCpuPkg.dec\r
\r
MemEncryptSevLibInternal.c\r
X64/MemEncryptSevLib.c\r
X64/VirtualMemory.c\r
+ X64/VirtualMemory.h\r
\r
[Sources.IA32]\r
- MemEncryptSevLibInternal.c\r
Ia32/MemEncryptSevLib.c\r
+ MemEncryptSevLibInternal.c\r
\r
[LibraryClasses]\r
BaseLib\r
- CpuLib\r
CacheMaintenanceLib\r
+ CpuLib\r
DebugLib\r
MemoryAllocationLib\r
+ PcdLib\r
+\r
+[FeaturePcd]\r
+ gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire\r