From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) (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 C21C920945B60 for ; Thu, 21 Sep 2017 19:03:58 -0700 (PDT) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Sep 2017 19:07:06 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,426,1500966000"; d="scan'208";a="314897788" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga004.fm.intel.com with ESMTP; 21 Sep 2017 19:07:05 -0700 Received: from fmsmsx114.amr.corp.intel.com (10.18.116.8) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 21 Sep 2017 19:07:05 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by FMSMSX114.amr.corp.intel.com (10.18.116.8) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 21 Sep 2017 19:07:05 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.175]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.213]) with mapi id 14.03.0319.002; Fri, 22 Sep 2017 10:07:03 +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//AgAR2rsA= Date: Fri, 22 Sep 2017 02:07:02 +0000 Message-ID: <0C09AFA07DD0434D9E2A0C6AEB0483103B97877C@shsmsx102.ccr.corp.intel.com> References: <1498656170-184428-1-git-send-email-star.zeng@intel.com> <0C09AFA07DD0434D9E2A0C6AEB0483103B9741AE@shsmsx102.ccr.corp.intel.com> In-Reply-To: <0C09AFA07DD0434D9E2A0C6AEB0483103B9741AE@shsmsx102.ccr.corp.intel.com> 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: Fri, 22 Sep 2017 02:03:59 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 VGhhbmtzIGFsbC4NClRoZSBwYXRjaCBoYXMgYmVlbiBwdXNoZWQgYXQgODlmN2YyY2RmMDI2NjYx OTk3NmNiNTNiNDViNWRlMWFiYTJmOGZhYy4NCg0KU3Rhcg0KLS0tLS1PcmlnaW5hbCBNZXNzYWdl LS0tLS0NCkZyb206IFplbmcsIFN0YXIgDQpTZW50OiBUdWVzZGF5LCBTZXB0ZW1iZXIgMTksIDIw MTcgMzoxNCBQTQ0KVG86IExhc3psbyBFcnNlayA8bGVyc2VrQHJlZGhhdC5jb20+OyBlZGsyLWRl dmVsQGxpc3RzLjAxLm9yZw0KQ2M6IEFtaXQgS3VtYXIgPGFtaXQuYWtAc2Ftc3VuZy5jb20+OyBL aW5uZXksIE1pY2hhZWwgRCA8bWljaGFlbC5kLmtpbm5leUBpbnRlbC5jb20+OyBHYW8sIExpbWlu ZyA8bGltaW5nLmdhb0BpbnRlbC5jb20+OyBHYWJyaWVsIFNvbWxvIDxnc29tbG9AZ21haWwuY29t PjsgWmVuZywgU3RhciA8c3Rhci56ZW5nQGludGVsLmNvbT4NClN1YmplY3Q6IFJFOiBbUEFUQ0gg VjVdIE1kZU1vZHVsZVBrZy9E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