From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.24; helo=mga09.intel.com; envelope-from=jiewen.yao@intel.com; receiver=edk2-devel@lists.01.org Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) (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 C865D22280C27 for ; Wed, 27 Dec 2017 04:40:12 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Dec 2017 04:45:06 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,464,1508828400"; d="scan'208";a="5545542" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga008.fm.intel.com with ESMTP; 27 Dec 2017 04:45:07 -0800 Received: from fmsmsx118.amr.corp.intel.com (10.18.116.18) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 27 Dec 2017 04:45:07 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx118.amr.corp.intel.com (10.18.116.18) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 27 Dec 2017 04:45:06 -0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.152]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.218]) with mapi id 14.03.0319.002; Wed, 27 Dec 2017 20:45:04 +0800 From: "Yao, Jiewen" To: "Zeng, Star" CC: "edk2-devel@lists.01.org" , "Dong, Eric" , Laszlo Ersek Thread-Topic: [PATCH] UefiCpuPkg CpuExceptionHandlerLib: Enhance DumpModuleImageInfo() Thread-Index: AQHTfwLjgolaHYSMk0mDbAaNwU5W9qNXIwLJ Date: Wed, 27 Dec 2017 12:45:04 +0000 Message-ID: References: <1514372823-13116-1-git-send-email-star.zeng@intel.com> In-Reply-To: <1514372823-13116-1-git-send-email-star.zeng@intel.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: MIME-Version: 1.0 Subject: Re: [PATCH] UefiCpuPkg CpuExceptionHandlerLib: Enhance DumpModuleImageInfo() X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Dec 2017 12:40:13 -0000 Content-Language: zh-CN Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 cmV2aWV3ZWQgYnkgamlld2VuLnlhb0BpbnRlbC5jb20NCg0KdGhhbmsgeW91IQ0KWWFvLCBKaWV3 ZW4NCg0KDQo+INTaIDIwMTfE6jEy1MIyN8jVo6zPws7nNzowN6OsWmVuZywgU3RhciA8c3Rhci56 ZW5nQGludGVsLmNvbT4g0LS1wKO6DQo+IA0KPiBFbmhhbmNlIER1bXBNb2R1bGVJbWFnZUluZm8o KSBmb3IgcGFnZSBmYXVsdCB3aXRoIEkvRCBzZXQuDQo+IA0KPiBJZiBpdCBpcyBwYWdlIGZhdWx0 IHdpdGggSS9EIHNldCwgdGhlIChFL1IpSVAgaW4gU3lzdGVtQ29udGV4dA0KPiBjb3VsZCBub3Qg YmUgdXNlZCBmb3IgRHVtcE1vZHVsZUltYWdlSW5mbygpLCBpbnN0ZWFkIG9mLCB0aGUgbmV4dA0K PiBJUCBvZiB0aGUgSVAgdHJpZ2dlcmluZyB0aGlzIHBhZ2UgZmF1bHQgY291bGQgYmUgZm91bmQg ZnJvbSBzdGFjaw0KPiBieSAoRS9SKVNQIGluIFN5c3RlbUNvbnRleHQuDQo+IA0KPiBJQTMyIFNE TToNCj4goaogSS9EIGZsYWcgKGJpdCA0KS4NCj4gVGhpcyBmbGFnIGlzIDEgaWYgdGh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