From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from atlmailgw2.ami.com (atlmailgw2.ami.com [63.147.10.42]) (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 E50BF81C94 for ; Wed, 9 Nov 2016 07:43:55 -0800 (PST) X-AuditID: ac10606f-d93ff70000000890-23-5823443b2b61 Received: from atlms2.us.megatrends.com (atlms2.us.megatrends.com [172.16.96.152]) (using TLS with cipher AES128-SHA (128/128 bits)) (Client did not present a certificate) by (Symantec Messaging Gateway) with SMTP id DF.FD.02192.B3443285; Wed, 9 Nov 2016 10:43:58 -0500 (EST) Received: from ATLMS1.us.megatrends.com ([fe80::8c55:daf0:ef05:5605]) by atlms2.us.megatrends.com ([fe80::29dc:a91e:ea0c:cdeb%12]) with mapi id 14.03.0123.003; Wed, 9 Nov 2016 10:43:55 -0500 From: Felix Poludov To: "edk2-devel@lists.01.org" Thread-Topic: [PATCH 0/2] MdePkg: UiLib library Thread-Index: AdI6m0xU2GzkXpsESA6bOeJKPIUocQ== Date: Wed, 9 Nov 2016 15:43:54 +0000 Message-ID: <9333E191E0D52B4999CE63A99BA663A00270FF997D@atlms1.us.megatrends.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.16.99.93] MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpmleLIzCtJLcpLzFFi42JZI5AwQ9fORTnCoLtb0WLPoaPMDowe3bP/ sQQwRjUw2iTm5eWXJJakKqSkFifbKgUUZZYlJlcqKWSm2CoZKikU5CQmp+am5pXYKiUWFKTm pSjZcSlgABugssw8hdS85PyUzLx0WyXPYH9dCwtTS11DJbuQjFSFzLy0/KLcxJLM/DyF5Py8 EqDq1BSgqEJCF2fGxuXFBTfbGCv6JtxibGDcUdrFyMkhIWAicXDzI5YuRi4OIYHZTBJrOm8z QTiHGCWmtP5gAqliE1CR2HT2AjOILSJgLtE6/wpYXFhAS+L7uy5GiLi+xLIlU9kgbD2Jp++v g9ksQL0He3eC1fMKBEr8PzgdLM4oICbx/dQasDizgLjErSfzmSAuEpBYsuc8M4QtKvHy8T9W CFtBYsv7TnaI+nyJzds3skDMFJQ4OfMJywRGwVlIRs1CUjYLSRlEXEdiwe5PbBC2tsSyha+Z YewzBx4zIYsvYGRfxSiUWJKTm5iZk15upJeYm6mXnJ+7iRES5/k7GD9+ND/EKMDBqMTDO51b OUKINbGsuDIXGHwczEoivHrOQCHelMTKqtSi/Pii0pzU4kOMTsBgmcgsxQ2KI2CkxxsbGEiJ wjiGJmYm5kbmhpYm5sbGSuK80n99w4UE0oGJJzs1tSC1CGYIEwenVAPjgjvMvavcYx69uyS+ /UTAsl/Kx2dalZX2R5kJrji1qrbA6ecBkaamrJNC01NPxK78ElWX+nb3DP+wXg2eJ8sEOy4G NC/gW1Bsbrnz9uIzcdN2tPKWJ7X/Lt5r7qX+0Oxjxf7mgIrQ4ysCLzmdveCzuWpxEds8Z50p yR/F7pwtS5wXUxrkoZmlxFKckWioxVxUnAgA2SjzdxYDAAA= X-Content-Filtered-By: Mailman/MimeDel 2.1.21 Subject: [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: Wed, 09 Nov 2016 15:43:56 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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 proprietar= y to American Megatrends, Inc. This communication is intended to be read on= ly 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, you are on not= ice that any distribution of this message, in any form, is strictly prohibit= ed. Please promptly notify the sender by reply e-mail or by telephone at 77= 0-246-8600, and then delete or destroy all copies of the transmission.