From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 5B34F81C85 for ; Wed, 9 Nov 2016 17:53:48 -0800 (PST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga104.jf.intel.com with ESMTP; 09 Nov 2016 17:53:51 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,616,1473145200"; d="scan'208,217";a="784636943" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by FMSMGA003.fm.intel.com with ESMTP; 09 Nov 2016 17:53:51 -0800 Received: from fmsmsx123.amr.corp.intel.com (10.18.125.38) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 9 Nov 2016 17:53:51 -0800 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by fmsmsx123.amr.corp.intel.com (10.18.125.38) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 9 Nov 2016 17:53:45 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.239]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.142]) with mapi id 14.03.0248.002; Thu, 10 Nov 2016 09:53:43 +0800 From: "Yao, Jiewen" To: Felix Poludov , "edk2-devel@lists.01.org" Thread-Topic: [PATCH 0/2] MdePkg: UiLib library Thread-Index: AdI6m0xU2GzkXpsESA6bOeJKPIUocQAWQyag Date: Thu, 10 Nov 2016 01:53:43 +0000 Message-ID: <74D8A39837DF1E4DA445A8C0B3885C50386CDB6E@shsmsx102.ccr.corp.intel.com> References: <9333E191E0D52B4999CE63A99BA663A00270FF997D@atlms1.us.megatrends.com> In-Reply-To: <9333E191E0D52B4999CE63A99BA663A00270FF997D@atlms1.us.megatrends.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 Subject: Re: [PATCH 0/2] MdePkg: UiLib library X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Nov 2016 01:53:48 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable HI Poludov It is a good idea to have a new UiLib. Both Mike and I give the suggestion to "You could define new lib and updat= e all the code that uses the old API to use the new API." IMHO, I do not think it is right way to let UefiLib depend on a UiLib. We have plan to resolve it, but since you already have proposal to add UiLi= b. I hope it can be resolved here. There is no real need to put UiLib into MdePkg. MdePkg is designed to hold = EFI/PI speciation or industry standard. In this case, I believe MdeModulePkg is a better place. Thank you Yao Jiewen > -----Original Message----- > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of > Felix Poludov > Sent: Wednesday, November 9, 2016 11:44 PM > To: edk2-devel@lists.01.org > Subject: [edk2] [PATCH 0/2] MdePkg: UiLib library > > This series of two patches introduces new UiLib library. > 1. New UiLib library class is added to MdePkg. > The library is intended for functions that produce UI elements. > The patch introduces two functions that produce a popup window: > UiCreatePopUp and UiCreatePopUpVaList. > 2. An instance of UiLib library class is added to MdePkg. > Popup implementation is copied from UefiLib > (CreatePopUp function in UefiLib/Console.c). > 3. MdePkg/UefiLib library is updated to implement CreatePopUp > by calling UiCreatePopUpVaList. > 4. Platform DSC files are updated to add UiLib instance. > > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Felix Polyudov > > AppPkg/AppPkg.dsc | 1 + > ArmPkg/ArmPkg.dsc | 1 + > BeagleBoardPkg/BeagleBoardPkg.dsc | 1 + > CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc | 1 + > CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc | 1 + > CryptoPkg/CryptoPkg.dsc | 1 + > DuetPkg/DuetPkgIa32.dsc | 1 + > DuetPkg/DuetPkgX64.dsc | 1 + > EdkCompatibilityPkg/EdkCompatibilityPkg.dsc | 1 + > EmbeddedPkg/EmbeddedPkg.dsc | 1 + > EmulatorPkg/EmulatorPkg.dsc | 1 + > FatPkg/FatPkg.dsc | 1 + > .../IntelFrameworkModulePkg.dsc | 1 + > IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dsc | 1 + > IntelFspWrapperPkg/IntelFspWrapperPkg.dsc | 1 + > MdeModulePkg/MdeModulePkg.dsc | 1 + > MdePkg/Include/Library/UiLib.h | 71 +++++ > MdePkg/Library/UefiLib/Console.c | 252 > +--------------- > MdePkg/Library/UefiLib/UefiLib.inf | 1 + > MdePkg/Library/UefiLib/UefiLibInternal.h | 1 + > MdePkg/Library/UiLib/UiLib.c | 334 > +++++++++++++++++++++ > MdePkg/Library/UiLib/UiLib.inf | 38 +++ > MdePkg/Library/UiLib/UiLib.uni | 21 ++ > MdePkg/MdePkg.dec | 3 + > NetworkPkg/NetworkPkg.dsc | 1 + > Nt32Pkg/Nt32Pkg.dsc | 1 + > Omap35xxPkg/Omap35xxPkg.dsc | 1 + > OptionRomPkg/OptionRomPkg.dsc | 1 + > OvmfPkg/OvmfPkgIa32.dsc | 1 + > OvmfPkg/OvmfPkgIa32X64.dsc | 1 + > OvmfPkg/OvmfPkgX64.dsc | 1 + > PcAtChipsetPkg/PcAtChipsetPkg.dsc | 1 + > PerformancePkg/PerformancePkg.dsc | 1 + > QuarkPlatformPkg/Quark.dsc | 1 + > QuarkPlatformPkg/QuarkMin.dsc | 1 + > QuarkSocPkg/QuarkSocPkg.dsc | 1 + > SecurityPkg/SecurityPkg.dsc | 1 + > ShellPkg/ShellPkg.dsc | 1 + > SourceLevelDebugPkg/SourceLevelDebugPkg.dsc | 1 + > StdLib/StdLib.dsc | 1 + > UefiCpuPkg/UefiCpuPkg.dsc | 1 + > Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc | 1 + > Vlv2TbltDevicePkg/PlatformPkgIA32.dsc | 1 + > Vlv2TbltDevicePkg/PlatformPkgX64.dsc | 1 + > 44 files changed, 506 insertions(+), 251 deletions(-) > create mode 100644 MdePkg/Include/Library/UiLib.h > create mode 100644 MdePkg/Library/UiLib/UiLib.c > create mode 100644 MdePkg/Library/UiLib/UiLib.inf > create mode 100644 MdePkg/Library/UiLib/UiLib.uni > > Please consider the environment before printing this email. > > The information contained in this message may be confidential and > proprietary to American Megatrends, Inc. This communication is intended > to be read only by the individual or entity to whom it is addressed or by= their > designee. If the reader of this message is not the intended recipient, yo= u are > on notice that any distribution of this message, in any form, is strictly > prohibited. Please promptly notify the sender by reply e-mail or by > telephone at 770-246-8600, and then delete or destroy all copies of the > transmission. > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel