From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 0A5ECD800D7 for ; Fri, 27 Oct 2023 05:43:20 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=UURj0QdE6nD+Fm5eduq+1LVG7ybb3qHWh0G5GALgS/4=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1698385399; v=1; b=MAwdolPMO3qY2uL6TienzrWKlno4FGMZLb+lXABVNaOEsrPWvMHoEXuptRMb12Mq4P5YWm1+ DC9l8uLBOqw8nWCi3NRoFz8s0/W80oYo1pWUpPEWYceKurknBQ7bAQt4CpTTwPOwGmH+869VUk1 8Ee8NiRwvoJRZAEH0g/cRR50= X-Received: by 127.0.0.2 with SMTP id CL41YY7687511x4Tv3RVGY4g; Thu, 26 Oct 2023 22:43:19 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.65]) by mx.groups.io with SMTP id smtpd.web10.894.1698385395579600088 for ; Thu, 26 Oct 2023 22:43:19 -0700 X-IronPort-AV: E=McAfee;i="6600,9927,10875"; a="391587812" X-IronPort-AV: E=Sophos;i="6.03,255,1694761200"; d="scan'208";a="391587812" X-Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Oct 2023 22:43:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10875"; a="763089386" X-IronPort-AV: E=Sophos;i="6.03,255,1694761200"; d="scan'208";a="763089386" X-Received: from shwdeopenlab702.ccr.corp.intel.com ([10.239.55.43]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Oct 2023 22:43:17 -0700 From: "duntan" To: devel@edk2.groups.io Cc: Michael D Kinney , Liming Gao , Zhiguang Liu , Ray Ni Subject: [edk2-devel] [PATCH 1/7] MdePkg: Create TdxLibNull.inf instance Date: Fri, 27 Oct 2023 13:42:54 +0800 Message-Id: <20231027054300.1382-2-dun.tan@intel.com> In-Reply-To: <20231027054300.1382-1-dun.tan@intel.com> References: <20231027054300.1382-1-dun.tan@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,dun.tan@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: TEYsAPrKqvHXJs74dPap00NPx7686176AA= Content-Transfer-Encoding: 8bit X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=MAwdolPM; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none) Create null instance for TdxLib. The IoLib instance BaseIoLibIntrinsic.inf will consume the TdxLibNull to pass build. Signed-off-by: Dun Tan Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu Cc: Ray Ni --- MdePkg/Library/TdxLib/TdxLibNull.inf | 21 +++++++++++++++++++++ MdePkg/MdePkg.dsc | 1 + 2 files changed, 22 insertions(+) diff --git a/MdePkg/Library/TdxLib/TdxLibNull.inf b/MdePkg/Library/TdxLib/TdxLibNull.inf new file mode 100644 index 0000000000..ecf20e12e1 --- /dev/null +++ b/MdePkg/Library/TdxLib/TdxLibNull.inf @@ -0,0 +1,21 @@ +## @file +# Tdx null instance. +# +# Copyright (c) 2023, Intel Corporation. All rights reserved.
+# SPDX-License-Identifier: BSD-2-Clause-Patent +# +## + +[Defines] + INF_VERSION = 0x00010005 + BASE_NAME = TdxLibNull + FILE_GUID = AA75759C-24E0-42FE-B5A4-83678548FCEF + MODULE_TYPE = BASE + VERSION_STRING = 1.0 + LIBRARY_CLASS = TdxLib + +[Sources] + TdxLibNull.c + +[Packages] + MdePkg/MdePkg.dec diff --git a/MdePkg/MdePkg.dsc b/MdePkg/MdePkg.dsc index 3abd1a1e23..a1be123d80 100644 --- a/MdePkg/MdePkg.dsc +++ b/MdePkg/MdePkg.dsc @@ -184,6 +184,7 @@ MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf MdePkg/Library/MmUnblockMemoryLib/MmUnblockMemoryLibNull.inf MdePkg/Library/TdxLib/TdxLib.inf + MdePkg/Library/TdxLib/TdxLibNull.inf MdePkg/Library/MipiSysTLib/MipiSysTLib.inf MdePkg/Library/TraceHubDebugSysTLibNull/TraceHubDebugSysTLibNull.inf -- 2.31.1.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#110182): https://edk2.groups.io/g/devel/message/110182 Mute This Topic: https://groups.io/mt/102215662/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-