From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on071f.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe44::71f]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 3140D1A1DFF for ; Thu, 6 Oct 2016 13:05:14 -0700 (PDT) Received: from CS1PR84MB0229.NAMPRD84.PROD.OUTLOOK.COM (10.162.190.151) by CS1PR84MB0230.NAMPRD84.PROD.OUTLOOK.COM (10.162.190.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.649.16; Thu, 6 Oct 2016 20:05:12 +0000 Received: from CS1PR84MB0229.NAMPRD84.PROD.OUTLOOK.COM ([10.162.190.151]) by CS1PR84MB0229.NAMPRD84.PROD.OUTLOOK.COM ([10.162.190.151]) with mapi id 15.01.0649.024; Thu, 6 Oct 2016 20:05:12 +0000 From: "Shah, Tapan" To: Vladimir Olovyannikov , "Carsey, Jaben" , "edk2-devel@lists.01.org" Thread-Topic: [edk2] [PATCH] ShellPkg: Move UnicodeCollation2 Protcol locate out of UefiShellLib constructor Thread-Index: AQHSH0s9zQ50iqFz1Uqjb97dHjHVCqCabsEAgAFqboCAAAHeAA== Date: Thu, 6 Oct 2016 20:05:12 +0000 Message-ID: References: <1475701085-11860-1-git-send-email-tapandshah@hpe.com> <68156d3149dc5203babb1b19b2f6ef43@mail.gmail.com> In-Reply-To: <68156d3149dc5203babb1b19b2f6ef43@mail.gmail.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=tapandshah@hpe.com; x-originating-ip: [173.172.190.106] x-ms-office365-filtering-correlation-id: 72015362-2be9-4325-25cd-08d3ee2414bc x-microsoft-exchange-diagnostics: 1; CS1PR84MB0230; 7:ZDrPM2UPVRWXc7xsM2UBoFmm035Xt2Zau3woSVerxLX/VNC3uz9hj8EQs49eUU+A+GpnuEgTMiPMFzqoiJsFB3XYNuIcVIyLbEVrnqM2qmoeTbbIQyHI0WeRqFd2YaGSNm+B3R4Dyi5lhMljo5XZoSYwuhoz5HQJDdYK7ozB1pg+3H0KmkrETxAPGTe8CciLf4mexDlXQSh3fTjtagY84yQcrfUjVhWa/3+IFpUI7uSxekSHWEmwUcWr6qaFc369YY9KlcAqasNVaR5oCV8fUP1j0WFxYSJqvi/wy22TPYnH1r3/3jYIpKDOTgVQxG1Yq6gixitjbRGthvW2c4EePw== x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CS1PR84MB0230; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(227479698468861)(162533806227266)(228905959029699); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6055026); SRVR:CS1PR84MB0230; BCL:0; PCL:0; RULEID:; SRVR:CS1PR84MB0230; x-forefront-prvs: 00872B689F x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(7916002)(199003)(377454003)(189002)(13464003)(99286002)(81156014)(77096005)(2501003)(5001770100001)(81166006)(2900100001)(106356001)(97736004)(3280700002)(305945005)(5660300001)(87936001)(8676002)(15975445007)(105586002)(74316002)(10400500002)(106116001)(3660700001)(189998001)(66066001)(33656002)(19580395003)(19580405001)(2950100002)(2906002)(107886002)(8936002)(92566002)(102836003)(11100500001)(3846002)(6116002)(50986999)(586003)(7736002)(7696004)(54356999)(76176999)(5002640100001)(9686002)(86362001)(7846002)(68736007)(101416001)(122556002)(49343001)(19627235001); DIR:OUT; SFP:1102; SCL:1; SRVR:CS1PR84MB0230; H:CS1PR84MB0229.NAMPRD84.PROD.OUTLOOK.COM; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; received-spf: None (protection.outlook.com: hpe.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: hpe.com X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Oct 2016 20:05:12.2989 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 105b2061-b669-4b31-92ac-24d304d195dc X-MS-Exchange-Transport-CrossTenantHeadersStamped: CS1PR84MB0230 Subject: Re: [PATCH] ShellPkg: Move UnicodeCollation2 Protcol locate out of UefiShellLib constructor 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, 06 Oct 2016 20:05:14 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Q2FuIHlvdSBzZW5kIGEgcGF0Y2ggZmlsZSB3aXRoIHRoaXMgZXJyb3IgY2hlY2sgYWRkZWQgQDcy NiA/DQoNCi0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQpGcm9tOiBWbGFkaW1pciBPbG92eWFu bmlrb3YgW21haWx0bzp2bGFkaW1pci5vbG92eWFubmlrb3ZAYnJvYWRjb20uY29tXSANClNlbnQ6 IFRodXJzZGF5LCBPY3RvYmVyIDA2LCAyMDE2IDI6NTggUE0NClRvOiBDYXJzZXksIEphYmVuIDxq YWJlbi5jYXJzZXlAaW50ZWwuY29tPjsgU2hhaCwgVGFwYW4gPHRhcGFuZHNoYWhAaHBlLmNvbT47 IGVkazItZGV2ZWxAbGlzdHMuMDEub3JnDQpTdWJqZWN0OiBSRTogW2VkazJdIFtQQVRDSF0gU2hl bGxQa2c6IE1vdmUgVW5pY29kZUNvbGxhdGlvbjIgUHJvdGNvbCBsb2NhdGUgb3V0IG9mIFVlZmlT aGVsbExpYiBjb25zdHJ1Y3Rvcg0KDQpIaSBDYXJzZXksIFRhcGFuLA0KDQpUaGlzI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