From: Jeff Fan Date: Mon, 24 Apr 2017 02:06:31 +0000 (+0800) Subject: PeCoffGetEntryPointLib: Fix spelling issue X-Git-Tag: edk2-stable201903~4112 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=9e981317be20ab85bb68a670e79735f9685a3348 PeCoffGetEntryPointLib: Fix spelling issue *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 --- diff --git a/MdePkg/Include/Library/PeCoffGetEntryPointLib.h b/MdePkg/Include/Library/PeCoffGetEntryPointLib.h index 647503bec6..f211cf5426 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 ); diff --git a/MdePkg/Library/BasePeCoffGetEntryPointLib/PeCoffGetEntryPoint.c b/MdePkg/Library/BasePeCoffGetEntryPointLib/PeCoffGetEntryPoint.c index 00f6d7df11..e1ddc8bafa 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/DebugAgent.c b/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugAgent.c index 6f3c41933d..f156fe24db 100644 --- a/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugAgent.c +++ b/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugAgent.c @@ -206,7 +206,7 @@ FindAndReportModuleImageInfo ( // // Find Image Base // - Pe32Data = PeCoffSerachImageBase ((UINTN) mErrorMsgVersionAlert); + Pe32Data = PeCoffSearchImageBase ((UINTN) mErrorMsgVersionAlert); if (Pe32Data != 0) { ImageContext.ImageAddress = Pe32Data; ImageContext.PdbPointer = PeCoffLoaderGetPdbPointer ((VOID*) (UINTN) ImageContext.ImageAddress); diff --git a/UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.c b/UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.c index 78ee182e8d..dbfaae1d30 100644 --- a/UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.c +++ b/UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.c @@ -120,7 +120,7 @@ DumpModuleImageInfo ( VOID *PdbPointer; VOID *EntryPoint; - Pe32Data = PeCoffSerachImageBase (CurrentEip); + Pe32Data = PeCoffSearchImageBase (CurrentEip); if (Pe32Data == 0) { InternalPrintMessage ("!!!! Can't find image information. !!!!\n"); } else { diff --git a/UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.c b/UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.c index 2cb0bbcff6..2d6b572b4e 100755 --- a/UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.c +++ b/UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.c @@ -178,7 +178,7 @@ DumpModuleInfoByIp ( // // Find Image Base // - Pe32Data = PeCoffSerachImageBase (CallerIpAddress); + Pe32Data = PeCoffSearchImageBase (CallerIpAddress); if (Pe32Data != 0) { DEBUG ((DEBUG_ERROR, "It is invoked from the instruction before IP(0x%p)", (VOID *) CallerIpAddress)); PdbPointer = PeCoffLoaderGetPdbPointer ((VOID *) Pe32Data);