From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) (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 DFC6B21C943C9 for ; Thu, 22 Jun 2017 06:06:18 -0700 (PDT) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga105.fm.intel.com with ESMTP; 22 Jun 2017 06:07:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.39,373,1493708400"; d="png'150?scan'150,208,217,150";a="117529147" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga005.fm.intel.com with ESMTP; 22 Jun 2017 06:07:43 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 22 Jun 2017 06:07:42 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.146]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.56]) with mapi id 14.03.0319.002; Thu, 22 Jun 2017 21:07:38 +0800 From: "Zeng, Star" To: "amit.ak@samsung.com" , "edk2-devel@lists.01.org" , "Gao, Liming" , "Kinney, Michael D" CC: "Zeng, Star" Thread-Topic: RE: [edk2] [PATCH V3] MdeModulePkg/DxeCore: Fixed Interface returned by CoreOpenProtocol Thread-Index: AQHS6PbWz0whFdszkk6K/kyrKC4wcKIthOlwgALQX4CAAIfnMA== Date: Thu, 22 Jun 2017 13:07:37 +0000 Message-ID: <0C09AFA07DD0434D9E2A0C6AEB0483103B8EC647@shsmsx102.ccr.corp.intel.com> References: <0C09AFA07DD0434D9E2A0C6AEB0483103B8EA8C0@shsmsx102.ccr.corp.intel.com> <7741fb0a1a1c12f94eb6756745bc39a9bcc58135.1497874973.git.amit.ak@samsung.com> <20170622125419epcms5p3849260b8c26f233522e160c9a346933e@epcms5p3> In-Reply-To: <20170622125419epcms5p3849260b8c26f233522e160c9a346933e@epcms5p3> Accept-Language: zh-CN, en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 10.0.102.7 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 Subject: Re: [PATCH V3] 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: Thu, 22 Jun 2017 13:06:19 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 QW1pdCwNCg0KSWYgY29uc3VtZXIgY2FsbHMgT3BlblByb3RvY29sIHdpdGggQXR0cmlidXRlcyA9 IEVGSV9PUEVOX1BST1RPQ09MX1RFU1RfUFJPVE9DT0wgYW5kIEludGVyZmFjZSA9IE5VTEwsIGFu ZCB0aGUgcHJvdG9jb2wgY291bGQgbm90IGJlIGZvdW5kLCBob3cgY291bGQgdGhlIGNvZGUgd2l0 aCB0aGUgcGF0Y2ggd29yayB0byBhc3NpZ24gKkludGVyZmFjZSA9IE5VTEw/DQoNCkFuZCBhbHNv IFVFRkkgc3BlYyBoYXMgd29yZHMgSW50ZXJmYWNlIHdpbGwgYmUgaWdub3JlZCBpZiBBdHRyaWJ1 dGVzIGlzIEVGSV9PUEVOX1BST1RPQ09MX1RFU1RfUFJPVE9DT0wuDQrigJxJbnRlcmZhY2VTdXBw bGllcyB0aGUgYWRkcmVzcyB3aGVyZSBhIHBvaW50ZXIgdG8gdGhlIGNvcnJlc3BvbmRpbmcgUHJv dG9jb2wgSW50ZXJmYWNlIGlzIHJldHVybmVkLiBOVUxMIHdpbGwgYmUgcmV0dXJuZWQgaW4gKklu dGVyZmFjZSBpZiBhIHN0cnVjdHVyZSBpc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