From nobody Tue Apr 23 20:14:15 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+96886+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+96886+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1669962320; cv=none; d=zohomail.com; s=zohoarc; b=Nr0WYYW6dVxlhj0v5ued0LZC/zImryb3y86KfsS5TiIGZhfWOrYnWvBdCxXWgjPmJV1jFgyGsxVlskZXOG0fjGlbCp5tKSNqnHqhFpGFpUyPzVKT6hMwmjmKNrjukL8ug3N9GpvfyCSMsamlIjjO6irdgBP17ioYsXlwBflCVyk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1669962320; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=epwnt5eALE6AL8avrutx8pBB4f6NAzW+WOqYu7M2DYY=; b=kmlAYwTRTmps60nubTgb/yWpEGYEpddFzl+vB/yfX7IbjKHxIaDsqfhMF9BIBKFde+6Do4QQnHutrBY8VdXbsJOZhQ9S78YkcRwXc2k6UWxcNgbtZ6f5QbvjNTDz3+Wvqr0+VKYvkxPuglCGaaysna6LZLfmxmNH+yEp/W2xOms= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+96886+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1669962320934760.9842270917457; Thu, 1 Dec 2022 22:25:20 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id gzMKYY1788612xTFjLGCMb2h; Thu, 01 Dec 2022 22:25:20 -0800 X-Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mx.groups.io with SMTP id smtpd.web11.68805.1669962314921437954 for ; Thu, 01 Dec 2022 22:25:20 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10548"; a="314585016" X-IronPort-AV: E=Sophos;i="5.96,210,1665471600"; d="scan'208";a="314585016" X-Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Dec 2022 22:25:20 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10548"; a="890035442" X-IronPort-AV: E=Sophos;i="5.96,210,1665471600"; d="scan'208";a="890035442" X-Received: from shwdesfp01.ccr.corp.intel.com ([10.239.158.151]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Dec 2022 22:25:18 -0800 From: "Zhiguang Liu" To: devel@edk2.groups.io Cc: Zhiguang Liu , Michael D Kinney , Liming Gao , Ray Ni Subject: [edk2-devel] [PATCH] MdePkg/UnitTestHostBaseLib: Remove HOST_APPLICATION limitation Date: Fri, 2 Dec 2022 14:25:02 +0800 Message-Id: <20221202062502.4429-2-zhiguang.liu@intel.com> In-Reply-To: <20221202062502.4429-1-zhiguang.liu@intel.com> References: <20221202062502.4429-1-zhiguang.liu@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: 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,zhiguang.liu@intel.com X-Gm-Message-State: dsz9Csth9XE8cIHI0gujl773x1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1669962320; bh=UPW+Yx4EPIgYBxVIch7HOq/lku7dxtjAEK1JpuJn370=; h=Cc:Date:From:Reply-To:Subject:To; b=n5NGok6Bkq2+LmFV2hPQPsaa5flfDh7boDjAEQH66mV4Nz2puYQERmBvGWj2fsrLyQW vdpwbQ3P8kEzt5swgVb+TF54iul8E2Ymwjckl4sMVm5Xq1MOWDWRaRUeOC2U/1ecnI50R 0QLzH7f4NF2vzIGGUQn1qecZZoj7PgnFqR8= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1669962321455100002 Content-Type: text/plain; charset="utf-8" Remove HOST_APPLICATION limitation for UnitTestHostBaseLib, so that this library can be used as BaseLib by Emulator. Also, add some missing files Cc: Michael D Kinney Cc: Liming Gao Signed-off-by: Ray Ni --- MdePkg/Library/BaseLib/UnitTestHostBaseLib.inf | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/MdePkg/Library/BaseLib/UnitTestHostBaseLib.inf b/MdePkg/Librar= y/BaseLib/UnitTestHostBaseLib.inf index 09a610c31c..fefa2e79f6 100644 --- a/MdePkg/Library/BaseLib/UnitTestHostBaseLib.inf +++ b/MdePkg/Library/BaseLib/UnitTestHostBaseLib.inf @@ -1,7 +1,7 @@ ## @file # Base Library implementation for use with host based unit tests. # -# Copyright (c) 2007 - 2021, Intel Corporation. All rights reserved.
+# Copyright (c) 2007 - 2022, Intel Corporation. All rights reserved.
# Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.
# Portions copyright (c) 2011 - 2013, ARM Ltd. All rights reserved.
# Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All righ= ts reserved.
@@ -18,7 +18,7 @@ FILE_GUID =3D 9555A0D3-09BA-46C4-A51A-45198E3C765E MODULE_TYPE =3D BASE VERSION_STRING =3D 1.1 - LIBRARY_CLASS =3D BaseLib|HOST_APPLICATION + LIBRARY_CLASS =3D BaseLib LIBRARY_CLASS =3D UnitTestHostBaseLib|HOST_APPLICATION =20 # @@ -128,6 +128,7 @@ X86RdRand.c X86SpeculationBarrier.c X86UnitTestHost.c + IntelTdxNull.c =20 [Sources.X64] X64/LongJump.nasm @@ -168,6 +169,7 @@ X64/RdRand.nasm ChkStkGcc.c | GCC X86UnitTestHost.c + IntelTdxNull.c =20 [Sources.EBC] Ebc/CpuBreakpoint.c --=20 2.31.1.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#96886): https://edk2.groups.io/g/devel/message/96886 Mute This Topic: https://groups.io/mt/95401265/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-