From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) (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 4F3BC20083165 for ; Thu, 6 Apr 2017 18:21:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=intel; t=1491528065; x=1523064065; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=ZCQ1HscL8TILyyGY3Owz/IJSTt/iqt18vhHlP1vl230=; b=nIQ4VeVu036xotlwgjWkxTQtedjRBnAXjWSfZ8EbuS73vR6wUyBzShQs 4EkXQVPRVNofSoStPUPI2A05vJDVPw==; Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Apr 2017 18:21:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.37,162,1488873600"; d="scan'208";a="1116652091" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga001.jf.intel.com with ESMTP; 06 Apr 2017 18:21:04 -0700 Received: from fmsmsx151.amr.corp.intel.com (10.18.125.4) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 6 Apr 2017 18:21:04 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by FMSMSX151.amr.corp.intel.com (10.18.125.4) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 6 Apr 2017 18:20:58 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.246]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.117]) with mapi id 14.03.0319.002; Fri, 7 Apr 2017 09:20:56 +0800 From: "Yao, Jiewen" To: "Fan, Jeff" , "edk2-devel@lists.01.org" CC: "Kinney, Michael D" , "Tian, Feng" Thread-Topic: [PATCH v2 0/5] Export Dump CPU Context service Thread-Index: AQHSrzzka1qChaLR/UGZgGrYJ1ubdaG5G+OA Date: Fri, 7 Apr 2017 01:20:55 +0000 Message-ID: <74D8A39837DF1E4DA445A8C0B3885C503A928B3E@shsmsx102.ccr.corp.intel.com> References: <20170407011823.12664-1-jeff.fan@intel.com> In-Reply-To: <20170407011823.12664-1-jeff.fan@intel.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: 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 Subject: Re: [PATCH v2 0/5] Export Dump CPU Context service 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, 07 Apr 2017 01:21:05 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: jiewen.yao@intel.com > -----Original Message----- > From: Fan, Jeff > Sent: Friday, April 7, 2017 9:18 AM > To: edk2-devel@lists.01.org > Cc: Yao, Jiewen ; Kinney, Michael D > ; Tian, Feng > Subject: [PATCH v2 0/5] Export Dump CPU Context service >=20 > This serial of patches are: > 1. Export PeCoffSerachImageBase() that could serach PE/COFF image base. > 2. Export DumpCpuContext that could dump CPU context when exception > happened. >=20 > https://bugzilla.tianocore.org/show_bug.cgi?id=3D242 >=20 > v2: > Combine v1's patch 3-6 to v2's patch 3. > Combine v1's patch 7, 8 to v2's patch 4. >=20 > Cc: Jiewen Yao > Cc: Michael Kinney > Cc: Feng Tian > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Jeff Fan >=20 > Jeff Fan (5): > MdePkg/PeCoffGetEntryPointLib: Add PeCoffSerachImageBase() > MdeModulePkg/CpuExceptionHandlerLib: Add DumpCpuContext() > UefiCpuPkg/CpuExceptionHandlerLib: Add DumpCpuContext() > implementation > UefiCpuPkg/PiSmmCpuDxeSmm: Consume new APIs > SourceLevelDebugPkg/DebugAgent.c: Consume PeCoffSerachImageBase() >=20 > .../Include/Library/CpuExceptionHandlerLib.h | 15 +++- > .../CpuExceptionHandlerLibNull.c | 16 ++++- > MdePkg/Include/Library/PeCoffGetEntryPointLib.h | 20 +++++- > .../PeCoffGetEntryPoint.c | 72 > ++++++++++++++++++- > .../DebugAgent/DebugAgentCommon/DebugAgent.c | 50 ++----------- > .../CpuExceptionHandlerLib/CpuExceptionCommon.c | 82 > ++++++---------------- > .../CpuExceptionHandlerLib/CpuExceptionCommon.h | 27 ++++--- > .../Library/CpuExceptionHandlerLib/DxeException.c | 7 +- > .../Ia32/ArchExceptionHandler.c | 65 ++++++++++------= - > .../CpuExceptionHandlerLib/PeiCpuException.c | 6 +- > .../CpuExceptionHandlerLib/PeiDxeSmmCpuException.c | 4 +- > .../CpuExceptionHandlerLib/SecPeiCpuException.c | 8 +-- > .../Library/CpuExceptionHandlerLib/SmmException.c | 7 +- > .../X64/ArchExceptionHandler.c | 59 ++++++++++------ > UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/PageTbl.c | 18 ++--- > UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.c | 37 +--------- > UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h | 4 +- > UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfileInternal.h | 6 +- > UefiCpuPkg/PiSmmCpuDxeSmm/X64/PageTbl.c | 18 ++--- > 19 files changed, 268 insertions(+), 253 deletions(-) >=20 > -- > 2.9.3.windows.2