]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/TdxLib/TdxLib.inf
MdePkg: Add TdxLib to wrap Tdx operations
[mirror_edk2.git] / MdePkg / Library / TdxLib / TdxLib.inf
diff --git a/MdePkg/Library/TdxLib/TdxLib.inf b/MdePkg/Library/TdxLib/TdxLib.inf
new file mode 100644 (file)
index 0000000..442e63d
--- /dev/null
@@ -0,0 +1,37 @@
+## @file\r
+# Tdx library\r
+#\r
+#  Copyright (c) 2020 - 2021, Intel Corporation. All rights reserved.<BR>\r
+#  SPDX-License-Identifier: BSD-2-Clause-Patent\r
+#\r
+##\r
+\r
+[Defines]\r
+  INF_VERSION                    = 0x00010005\r
+  BASE_NAME                      = TdxLib\r
+  FILE_GUID                      = 032A8E0D-0C27-40C0-9CAA-23B731C1B223\r
+  MODULE_TYPE                    = BASE\r
+  VERSION_STRING                 = 1.0\r
+  LIBRARY_CLASS                  = TdxLib\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
+[Sources.IA32]\r
+  TdxLibNull.c\r
+\r
+[Sources.X64]\r
+  AcceptPages.c\r
+  Rtmr.c\r
+  TdInfo.c\r
+\r
+[Packages]\r
+  MdePkg/MdePkg.dec\r
+\r
+[LibraryClasses]\r
+  BaseLib\r
+  BaseMemoryLib\r
+  DebugLib\r