From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from walk.intel-email.com (walk.intel-email.com [101.227.64.242]) by mx.groups.io with SMTP id smtpd.web10.71263.1669974565217896100 for ; Fri, 02 Dec 2022 01:49:27 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@byosoft.com.cn header.s=cloud-union header.b=OUXxzn0n; spf=pass (domain: byosoft.com.cn, ip: 101.227.64.242, mailfrom: gaoliming@byosoft.com.cn) Received: from walk.intel-email.com (localhost [127.0.0.1]) by walk.intel-email.com (Postfix) with ESMTP id 7B5BFCD1F89B for ; Fri, 2 Dec 2022 17:48:01 +0800 (CST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=byosoft.com.cn; s=cloud-union; t=1669974481; bh=FyqP1ln6kA/hbdC2Br9P7mWsskhjEFALvN7j6ykX5tA=; h=From:To:Cc:References:In-Reply-To:Subject:Date; b=OUXxzn0naWkwa4kUD8qT3UOvzkNqNozKWH+FF98Do2vU4huf32OE4j5AzaumLUz0j ZlD5P19nfMlrHx1G2O0JZa4D1CDCj+3b8eLBL1qJLEOWog7GFEtGp20aR/HXai1rjW Ww8EAvjowL7FhevTUYKu0JtZO+S2Xly0yQndpz0c= Received: from localhost (localhost [127.0.0.1]) by walk.intel-email.com (Postfix) with ESMTP id 76017CD1F8BF for ; Fri, 2 Dec 2022 17:48:01 +0800 (CST) Received: from walk.intel-email.com (localhost [127.0.0.1]) by walk.intel-email.com (Postfix) with ESMTP id 460F3CD1F8BE for ; Fri, 2 Dec 2022 17:48:01 +0800 (CST) Authentication-Results: walk.intel-email.com; none Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by walk.intel-email.com (Postfix) with SMTP id D684DCD1F8B5 for ; Fri, 2 Dec 2022 17:47:57 +0800 (CST) Received: from DESKTOPS6D0PVI ([58.246.60.130]) (envelope-sender ) by 192.168.6.13 with ESMTP for ; Fri, 02 Dec 2022 17:47:55 +0800 X-WM-Sender: gaoliming@byosoft.com.cn X-Originating-IP: 58.246.60.130 X-WM-AuthFlag: YES X-WM-AuthUser: gaoliming@byosoft.com.cn From: "gaoliming" To: , Cc: "'Michael D Kinney'" , "'Ray Ni'" References: <20221202062502.4429-1-zhiguang.liu@intel.com> <20221202062502.4429-2-zhiguang.liu@intel.com> In-Reply-To: <20221202062502.4429-2-zhiguang.liu@intel.com> Subject: =?UTF-8?B?5Zue5aSNOiBbZWRrMi1kZXZlbF0gW1BBVENIXSBNZGVQa2cvVW5pdFRlc3RIb3N0QmFzZUxpYjogUmVtb3ZlIEhPU1RfQVBQTElDQVRJT04gbGltaXRhdGlvbg==?= Date: Fri, 2 Dec 2022 17:47:58 +0800 Message-ID: <088e01d90633$29296de0$7b7c49a0$@byosoft.com.cn> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQHBBKmElr8K0HUSg+F8wgU2JmdecAFUOFYUrn+7EzA= Sender: "gaoliming" Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Content-Language: zh-cn Zhiguang: Can you explain more about the emulator usage model for this library? Thanks Liming > -----=D3=CA=BC=FE=D4=AD=BC=FE----- > =B7=A2=BC=FE=C8=CB: devel@edk2.groups.io =B4=FA=B1= =ED Zhiguang Liu > =B7=A2=CB=CD=CA=B1=BC=E4: 2022=C4=EA12=D4=C22=C8=D5 14:25 > =CA=D5=BC=FE=C8=CB: devel@edk2.groups.io > =B3=AD=CB=CD: Zhiguang Liu ; Michael D Kinney > ; Liming Gao ; > Ray Ni > =D6=F7=CC=E2: [edk2-devel] [PATCH] MdePkg/UnitTestHostBaseLib: Remove > HOST_APPLICATION limitation >=20 > Remove HOST_APPLICATION limitation for UnitTestHostBaseLib, so that > this library can be used as BaseLib by Emulator. > Also, add some missing files >=20 > 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(-) >=20 > diff --git a/MdePkg/Library/BaseLib/UnitTestHostBaseLib.inf > b/MdePkg/Library/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 > rights 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 > -- > 2.31.1.windows.1 >=20 >=20 >=20 >=20 >=20