From e0b0bb4224550e3c15f1008d5475fee9de26f84a Mon Sep 17 00:00:00 2001 From: Jeff Fan Date: Mon, 24 Apr 2017 10:06:31 +0800 Subject: 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 (cherry picked from commit 9e981317be20ab85bb68a670e79735f9685a3348) --- Core/UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.c | 2 +- Core/UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'Core/UefiCpuPkg') diff --git a/Core/UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.c b/Core/UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.c index 78ee182e8d..dbfaae1d30 100644 --- a/Core/UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.c +++ b/Core/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/Core/UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.c b/Core/UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.c index 2cb0bbcff6..2d6b572b4e 100755 --- a/Core/UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.c +++ b/Core/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); -- cgit v1.2.3