From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=104.47.38.116; helo=nam02-bl2-obe.outbound.protection.outlook.com; envelope-from=bret.barkelew@microsoft.com; receiver=edk2-devel@lists.01.org Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0116.outbound.protection.outlook.com [104.47.38.116]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 670D1223DB7B7 for ; Sat, 10 Feb 2018 16:11:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=9yUiW5UlK/iM1IcXgha8e1bZljjrDTNtu7K7yyMPGWc=; b=DFVlPX1vXawkPlju0jU+XSRlyUEvW1jZFXwxrf6oMQ4RrdTjqGgHAvACwnbZ6nWKp6fm/rHVfSqkjSwR86hb6J5Xhh9SdxDwd4C9IL4f+XuaR4yGYd0kDMQnUpbKJ82z0JVZjaG4ntytwHS4QWuxMLrZSqM5BLmvgmMEQQACrVo= Received: from MW2SPR01MB06.namprd21.prod.outlook.com (52.132.152.33) by MW2PR2101MB0921.namprd21.prod.outlook.com (52.132.152.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.527.2; Sun, 11 Feb 2018 00:17:39 +0000 Received: from MW2SPR01MB06.namprd21.prod.outlook.com ([fe80::4177:24b6:7ea1:48d7]) by MW2SPR01MB06.namprd21.prod.outlook.com ([fe80::4177:24b6:7ea1:48d7%4]) with mapi id 15.20.0527.002; Sun, 11 Feb 2018 00:17:39 +0000 From: Bret Barkelew To: "Zeng, Star" , "Kinney, Michael D" , "edk2-devel@lists.01.org" CC: "Kinney, Michael D" , "Yao, Jiewen" , "Zeng, Star" , "Gao, Liming" Thread-Topic: [edk2] [Patch V2 0/3] MdePkg/UefiLib: Add EfiLocateProtocolBuffer() Thread-Index: AQHTnItGU3patg/eTUSpcHoFiq6qpaOT096AgAqOeso= Date: Sun, 11 Feb 2018 00:17:39 +0000 Message-ID: References: <20180203010638.22220-1-michael.d.kinney@intel.com>, <0C09AFA07DD0434D9E2A0C6AEB0483103BA308F7@shsmsx102.ccr.corp.intel.com> In-Reply-To: <0C09AFA07DD0434D9E2A0C6AEB0483103BA308F7@shsmsx102.ccr.corp.intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [71.212.3.235] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; MW2PR2101MB0921; 7:nrsNInBF315NlYzS/qZGGrgrJmXEmlrNPT88LGQ/keAUAbzqEKJZN141syQ3V23OZIjcf6pl3vwuEevw5jKzW+XCaUtxwh/3vlRG/mtZzsOBqEcROSOK9EDTdKnjJvv4Y8leiCQZ5X0QiLYIyiwbRN6oOc73saP32fAcUeuMzhGaaRmduT0lXz0ozobK3zlgqjtX/zuc55ErTOi7fPljk7MSQK2MT9hRVkobIBYNzBQv8dgTCXQmv++tWZpTxsMR x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 26f66580-bada-455d-b9e8-08d570e4dc45 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603307)(7193020); SRVR:MW2PR2101MB0921; x-ms-traffictypediagnostic: MW2PR2101MB0921: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(89211679590171)(189930954265078)(162533806227266)(219752817060721)(21748063052155)(228905959029699); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(61425038)(6040501)(2401047)(5005006)(8121501046)(3002001)(10201501046)(93006095)(93001095)(3231101)(944501161)(6055026)(61426038)(61427038)(6041288)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123558120)(6072148)(201708071742011); SRVR:MW2PR2101MB0921; BCL:0; PCL:0; RULEID:; SRVR:MW2PR2101MB0921; x-forefront-prvs: 058043A388 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(346002)(39380400002)(396003)(376002)(366004)(39860400002)(13464003)(199004)(189003)(966005)(33656002)(66066001)(74316002)(106356001)(99286004)(4326008)(25786009)(8990500004)(10290500003)(478600001)(72206003)(97736004)(105586002)(76176011)(229853002)(6116002)(7696005)(3846002)(3280700002)(2906002)(3660700001)(68736007)(2900100001)(6246003)(22452003)(81156014)(110136005)(2950100002)(8936002)(6506007)(10090500001)(7736002)(2501003)(53546011)(5250100002)(54906003)(316002)(55016002)(8676002)(6436002)(53936002)(81166006)(186003)(5660300001)(102836004)(236005)(6346003)(6306002)(54896002)(9686003)(575784001)(26005)(86362001)(86612001)(606006)(14454004)(19627235001); DIR:OUT; SFP:1102; SCL:1; SRVR:MW2PR2101MB0921; H:MW2SPR01MB06.namprd21.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Bret.Barkelew@microsoft.com; x-microsoft-antispam-message-info: HMzJBzZw0Cr0YIQabz03hn5aX8/9Iq+QnYQPoCZIaJbywpFV3qrwsrbfVTrMdXYaWPtduR/KboGk5I+rTHa1yA== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 26f66580-bada-455d-b9e8-08d570e4dc45 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Feb 2018 00:17:39.2424 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW2PR2101MB0921 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 Subject: Re: [Patch V2 0/3] MdePkg/UefiLib: Add EfiLocateProtocolBuffer() X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Feb 2018 00:11:54 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Approved. Reviewd-By: Bret Barkelew Bret.Barkelew@microsoft.com - Bret From: Zeng, Star Sent: Saturday, February 3, 2018 11:05 PM To: Kinney, Michael D; edk2-devel@lists.= 01.org Cc: Kinney, Michael D; Yao, Jiewen; Zeng, Star; Gao, Limin= g Subject: Re: [edk2] [Patch V2 0/3] MdePkg/UefiLib: Add EfiLocateProtocolBuf= fer() Reviewed-by: Star Zeng to the patch series. Thanks, Star -----Original Message----- From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Kinn= ey, Michael D Sent: Saturday, February 3, 2018 9:07 AM To: edk2-devel@lists.01.org Cc: Kinney, Michael D ; Yao, Jiewen ; Gao, Liming Subject: [edk2] [Patch V2 0/3] MdePkg/UefiLib: Add EfiLocateProtocolBuffer(= ) V2: * Use gBS->AllocatePool() instead of AllocatePool() * Use gBS->FreePool() instead of FreePool() * Add EfiLocateProtocolBuffer() to IntelFrameworkPkg/FrameworkUefiLib * Add GetVariable2() to IntelFrameworkPkg/FrameworkUefiLib * Add GetEfiGlobalVariable2 to IntelFrameworkPkg/FrameworkUefiLib https://na01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fbugzilla= .tianocore.org%2Fshow_bug.cgi%3Fid%3D838&data=3D02%7C01%7CBret.Barkelew%40m= icrosoft.com%7Cf7010dc9f4544f4b151008d56b9da29e%7Cee3303d7fb734b0c8589bcd84= 7f1c277%7C1%7C1%7C636533247176865805&sdata=3DGyqRTPAngLULHtzB0M%2FCp9lVbAar= xSzLTwKUgCvoCQU%3D&reserved=3D0 Add new API to the UefiLib that locates and returns an array of protocols i= nstances that match a given protocol. Branch for review: https://na01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgithub.c= om%2Fmdkinney%2Fedk2%2Ftree%2FBug_838_EfiLocateProtocolBuffer_V4&data=3D02%= 7C01%7CBret.Barkelew%40microsoft.com%7Cf7010dc9f4544f4b151008d56b9da29e%7Ce= e3303d7fb734b0c8589bcd847f1c277%7C1%7C1%7C636533247176865805&sdata=3DaS5Jw3= 2IzIf6B%2FLt%2BN6IsvbA%2B60YnsQT%2FgYiy%2BA5AVQ%3D&reserved=3D0 Cc: Sean Brogan Cc: Jiewen Yao Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Michael D Kinney Kinney, Michael D (2): IntelFrameworkPkg/FrameworkUefiLib: Add EfiLocateProtocolBuffer() IntelFrameworkPkg/FrameworkUefiLib: Sync with MdePkg/UefiLib Michael D Kinney (1): MdePkg/UefiLib: Add EfiLocateProtocolBuffer() .../Library/FrameworkUefiLib/UefiLib.c | 214 +++++++++++++++++= +++- MdePkg/Include/Library/UefiLib.h | 32 ++- MdePkg/Library/UefiLib/UefiLib.c | 112 ++++++++++- 3 files changed, 355 insertions(+), 3 deletions(-) -- 2.14.2.windows.3 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://na01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Flists.01= .org%2Fmailman%2Flistinfo%2Fedk2-devel&data=3D02%7C01%7CBret.Barkelew%40mic= rosoft.com%7Cf7010dc9f4544f4b151008d56b9da29e%7Cee3303d7fb734b0c8589bcd847f= 1c277%7C1%7C1%7C636533247176865805&sdata=3DpYocyCMvStgafQBnGHy0bWPZ%2B9y4ZC= IZ%2BaYG7q%2FfpZU%3D&reserved=3D0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://na01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Flists.01= .org%2Fmailman%2Flistinfo%2Fedk2-devel&data=3D02%7C01%7CBret.Barkelew%40mic= rosoft.com%7Cf7010dc9f4544f4b151008d56b9da29e%7Cee3303d7fb734b0c8589bcd847f= 1c277%7C1%7C1%7C636533247176865805&sdata=3DpYocyCMvStgafQBnGHy0bWPZ%2B9y4ZC= IZ%2BaYG7q%2FfpZU%3D&reserved=3D0