From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) (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 E48DE820B6 for ; Thu, 22 Dec 2016 08:56:33 -0800 (PST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP; 22 Dec 2016 08:56:33 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,389,1477983600"; d="scan'208,217";a="1085576640" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga001.fm.intel.com with ESMTP; 22 Dec 2016 08:56:33 -0800 Received: from FMSMSX110.amr.corp.intel.com (10.18.116.10) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 22 Dec 2016 08:56:33 -0800 Received: from fmsmsx103.amr.corp.intel.com ([169.254.2.47]) by FMSMSX110.amr.corp.intel.com ([169.254.14.76]) with mapi id 14.03.0248.002; Thu, 22 Dec 2016 08:56:33 -0800 From: "Carsey, Jaben" To: GN Keshava , "edk2-devel@lists.01.org" CC: "Carsey, Jaben" Thread-Topic: [edk2] LocateHandle for gEfiShellProtocolGuid is failing in my application Thread-Index: AQHSW1xqp2i/R8U88kW9Um+C39/gDKESuezQgAGDA4CAAAjHAP//65ag Date: Thu, 22 Dec 2016 16:56:32 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNGIzYzgyMTYtZTU5Yy00MzI4LTlkNGEtZjVmZTU0YTk1ZWU5IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IjZMbHcrY1dGa29yaERCeDU5b2hJY3JNVVwvVE9SK0lqZW5JbFFLZUhGckxvPSJ9 x-ctpclassification: CTP_IC x-originating-ip: [10.1.200.107] MIME-Version: 1.0 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 Subject: Re: LocateHandle for gEfiShellProtocolGuid is failing in my application 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, 22 Dec 2016 16:56:34 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 VGhhdCBmdW5jdGlvbiBpcyBub3QgaW4gdGhlIHNoZWxsIGxpYnJhcnkuDQoNCkxvY2F0ZUhhbmRs ZSB3b3VsZCBiZSB1c2VmdWwgaXMgeW91IHdhbnRlZCB0byBmaW5kIHRoZSBpbWFnZSBoYW5kbGUg Zm9yIHRoZSBzaGVsbCBiaW5hcnkgd2hlcmVhcyBMb2NhZXRQcm90b2NvbCB3b3VsZCBiZSBqdXN0 IGdldHRpbmcgYSBwb2ludGVyIHRvIHRoZSBwcm90b2NvbC4NCg0KV2hpY2ggdmVyc2lvbiBvZiB0 aGUgVUVGSSBTaGVsbCBhcmUgeW91IHVzaW5nPyAgKHdoYXQgZG9lcyDigJx2ZXLigJ0gY29tbWFu ZCBzYXkpDQoNCi1KYWJlbg0KDQpGcm9tOiBHTiBLZXNoYXZhIFttYWlsdG86a2VzaGF2YS5nbkBn bWFpbC5jb21dDQpTZW50OiBUaHVyc2RheSwgRGVjZW1iZXIgMjIsIDIwMTYgMjowNyBBTQ0KVG86 IENhcnNleSwgSmFiZW4gPGphYmVuLmNh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