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 3477821CEB11A for ; Tue, 19 Sep 2017 00:10:36 -0700 (PDT) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Sep 2017 00:13:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,416,1500966000"; d="scan'208";a="152915237" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga005.fm.intel.com with ESMTP; 19 Sep 2017 00:13:40 -0700 Received: from fmsmsx156.amr.corp.intel.com (10.18.116.74) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 19 Sep 2017 00:13:39 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx156.amr.corp.intel.com (10.18.116.74) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 19 Sep 2017 00:13:39 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.175]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.98]) with mapi id 14.03.0319.002; Tue, 19 Sep 2017 15:13:38 +0800 From: "Zeng, Star" To: Laszlo Ersek , "edk2-devel@lists.01.org" CC: Amit Kumar , "Kinney, Michael D" , "Gao, Liming" , "Gabriel Somlo" , "Zeng, Star" Thread-Topic: [PATCH V5] MdeModulePkg/DxeCore: Fixed Interface returned by CoreOpenProtocol Thread-Index: AQHS8BjOuxkKCl+yEU+1YLhDhyrgzqK8N//A Date: Tue, 19 Sep 2017 07:13:37 +0000 Message-ID: <0C09AFA07DD0434D9E2A0C6AEB0483103B9741AE@shsmsx102.ccr.corp.intel.com> References: <1498656170-184428-1-git-send-email-star.zeng@intel.com> In-Reply-To: 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 Subject: Re: [PATCH V5] MdeModulePkg/DxeCore: Fixed Interface returned by CoreOpenProtocol X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Sep 2017 07:10:36 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 VGhhbmtzIGFsbCB0aGUgVGVzdGVkLWJ5IGFuZCBSZXZpZXdlZC1ieS4NCg0KVGhlIG5ldyBVRUZJ IHNwZWMgMi43YSBoYXMgYmVlbiBwdWJsaXNoZWQgYXQgaHR0cDovL3d3dy51ZWZpLm9yZy9zaXRl cy9kZWZhdWx0L2ZpbGVzL3Jlc291cmNlcy9VRUZJJTIwU3BlYyUyMDJfN19BJTIwU2VwdCUyMDYu cGRmDQp3aGljaCBpbmNsdWRlcyB0aGUgc3BlYyBjaGFuZ2UgIjE4MTUgT3BlblByb3RvY29sKCkg LyBFRklfQUxSRUFEWV9TVEFSVEVEIHNob3VsZCBvdXRwdXQgZXhpc3RlbnQgSW50ZXJmYWNlIiB0 aGF0IGlzIHJlcXVpcmVkIGZvciB0aGlzIHBhdGNoLg0KDQpJZiBubyBtb3JlIGNvbW1lbnRzLCBJ IHdpbGwgZ28gdG8gcHVzaCB0aGlzIHBhdGNoLiA6KQ0KDQoNClRoYW5rcywNClN0YXINCi0tLS0t T3JpZ2luYWwgTWVzc2FnZS0tLS0tDQpGcm9tOiBMYXN6bG8gRXJzZWsgW21haWx0bzpsZXJzZWtA cmVkaGF0LmNvbV0gDQpTZW50OiBXZWRuZXNkYXksIEp1bmUgMjgsIDIwMTcgMTA6MTQgUE0NClRv OiBaZW5nLCBTdGFyIDxzdGFyLnplbmdAaW50ZWwuY29tPjsgZW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