]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/Library/BaseMemEncryptSevLib/BaseMemEncryptSevLib.inf
OvmfPkg/BaseMemcryptSevLib: Add SEV helper library
[mirror_edk2.git] / OvmfPkg / Library / BaseMemEncryptSevLib / BaseMemEncryptSevLib.inf
diff --git a/OvmfPkg/Library/BaseMemEncryptSevLib/BaseMemEncryptSevLib.inf b/OvmfPkg/Library/BaseMemEncryptSevLib/BaseMemEncryptSevLib.inf
new file mode 100644 (file)
index 0000000..3cfd80a
--- /dev/null
@@ -0,0 +1,50 @@
+## @file\r
+#  Library provides the helper functions for SEV guest\r
+#\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
+#\r
+#\r
+##\r
+\r
+[Defines]\r
+  INF_VERSION                    = 1.25\r
+  BASE_NAME                      = MemEncryptSevLib\r
+  FILE_GUID                      = c1594631-3888-4be4-949f-9c630dbc842b\r
+  MODULE_TYPE                    = BASE\r
+  VERSION_STRING                 = 1.0\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
+#\r
+# VALID_ARCHITECTURES           = IA32 X64\r
+#\r
+\r
+[Packages]\r
+  MdePkg/MdePkg.dec\r
+  MdeModulePkg/MdeModulePkg.dec\r
+  OvmfPkg/OvmfPkg.dec\r
+  UefiCpuPkg/UefiCpuPkg.dec\r
+\r
+[Sources.X64]\r
+  MemEncryptSevLibInternal.c\r
+  X64/MemEncryptSevLib.c\r
+  X64/VirtualMemory.c\r
+\r
+[Sources.IA32]\r
+  MemEncryptSevLibInternal.c\r
+  Ia32/MemEncryptSevLib.c\r
+\r
+[LibraryClasses]\r
+  BaseLib\r
+  CpuLib\r
+  CacheMaintenanceLib\r
+  DebugLib\r
+  MemoryAllocationLib\r