From nobody Sat May 4 00:51:58 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Authentication-Results: mx.zoho.com; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org; Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1493001000027672.3567289567374; Sun, 23 Apr 2017 19:30:00 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id A678F21954090; Sun, 23 Apr 2017 19:29:56 -0700 (PDT) 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 3F7B921954088 for ; Sun, 23 Apr 2017 19:29:56 -0700 (PDT) Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga105.fm.intel.com with ESMTP; 23 Apr 2017 19:29:56 -0700 Received: from jfan12-desk.ccr.corp.intel.com ([10.239.158.57]) by orsmga004.jf.intel.com with ESMTP; 23 Apr 2017 19:29:53 -0700 X-Original-To: edk2-devel@lists.01.org X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.37,242,1488873600"; d="scan'208";a="80159265" From: Jeff Fan To: edk2-devel@lists.01.org Date: Mon, 24 Apr 2017 10:29:28 +0800 Message-Id: <20170424022928.8160-2-jeff.fan@intel.com> X-Mailer: git-send-email 2.9.3.windows.2 In-Reply-To: <20170424022928.8160-1-jeff.fan@intel.com> References: <20170424022928.8160-1-jeff.fan@intel.com> Subject: [edk2] [PATCH] PeCoffGetEntryPointLib: Fix spelling issue 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: , Cc: Michael Kinney , Feng Tian , Liming Gao MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail: RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" *Serach* should be *Search* Cc: Liming Gao Cc: Feng Tian Cc: Michael Kinney Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan Reviewed-by: Liming Gao --- MdePkg/Include/Library/PeCoffGetEntryPointLib.h | 2 +- MdePkg/Library/BasePeCoffGetEntryPointLib/PeCoffGetEntryPoint.c | 2 +- SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugAgent.c | 2 +- UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.c | 2 +- UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/MdePkg/Include/Library/PeCoffGetEntryPointLib.h b/MdePkg/Inclu= de/Library/PeCoffGetEntryPointLib.h index 647503b..f211cf5 100644 --- a/MdePkg/Include/Library/PeCoffGetEntryPointLib.h +++ b/MdePkg/Include/Library/PeCoffGetEntryPointLib.h @@ -115,7 +115,7 @@ PeCoffGetSizeOfHeaders ( **/ UINTN EFIAPI -PeCoffSerachImageBase ( +PeCoffSearchImageBase ( IN UINTN Address ); =20 diff --git a/MdePkg/Library/BasePeCoffGetEntryPointLib/PeCoffGetEntryPoint.= c b/MdePkg/Library/BasePeCoffGetEntryPointLib/PeCoffGetEntryPoint.c index 00f6d7d..e1ddc8b 100644 --- a/MdePkg/Library/BasePeCoffGetEntryPointLib/PeCoffGetEntryPoint.c +++ b/MdePkg/Library/BasePeCoffGetEntryPointLib/PeCoffGetEntryPoint.c @@ -332,7 +332,7 @@ PeCoffGetSizeOfHeaders ( **/ UINTN EFIAPI -PeCoffSerachImageBase ( +PeCoffSearchImageBase ( IN UINTN Address ) { diff --git a/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugA= gent.c b/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugAgent= .c index 6f3c419..f156fe2 100644 --- a/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugAgent.c +++ b/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugAgent.c @@ -206,7 +206,7 @@ FindAndReportModuleImageInfo ( // // Find Image Base // - Pe32Data =3D PeCoffSerachImageBase ((UINTN) mErrorMsgVersionAlert); + Pe32Data =3D PeCoffSearchImageBase ((UINTN) mErrorMsgVersionAlert); if (Pe32Data !=3D 0) { ImageContext.ImageAddress =3D Pe32Data; ImageContext.PdbPointer =3D PeCoffLoaderGetPdbPointer ((VOID*) (UINTN)= ImageContext.ImageAddress); diff --git a/UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.c= b/UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.c index 78ee182..dbfaae1 100644 --- a/UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.c +++ b/UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.c @@ -120,7 +120,7 @@ DumpModuleImageInfo ( VOID *PdbPointer; VOID *EntryPoint; =20 - Pe32Data =3D PeCoffSerachImageBase (CurrentEip); + Pe32Data =3D PeCoffSearchImageBase (CurrentEip); if (Pe32Data =3D=3D 0) { InternalPrintMessage ("!!!! Can't find image information. !!!!\n"); } else { diff --git a/UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.c b/UefiCpuPkg/PiSmmC= puDxeSmm/PiSmmCpuDxeSmm.c index 2cb0bbc..2d6b572 100755 --- a/UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.c +++ b/UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.c @@ -178,7 +178,7 @@ DumpModuleInfoByIp ( // // Find Image Base // - Pe32Data =3D PeCoffSerachImageBase (CallerIpAddress); + Pe32Data =3D PeCoffSearchImageBase (CallerIpAddress); if (Pe32Data !=3D 0) { DEBUG ((DEBUG_ERROR, "It is invoked from the instruction before IP(0x%= p)", (VOID *) CallerIpAddress)); PdbPointer =3D PeCoffLoaderGetPdbPointer ((VOID *) Pe32Data); --=20 2.9.3.windows.2 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel