summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Fan <jeff.fan@intel.com>2017-04-24 10:06:31 +0800
committerGuo Mang <mang.guo@intel.com>2017-07-12 11:24:28 +0800
commite0b0bb4224550e3c15f1008d5475fee9de26f84a (patch)
tree00ea1e92ac8a359c631bef109d763915a51ac40d
parent55ebbaa92c6e06d769fdaad5514639b6389280a7 (diff)
downloadedk2-platforms-e0b0bb4224550e3c15f1008d5475fee9de26f84a.tar.xz
PeCoffGetEntryPointLib: Fix spelling issue
*Serach* should be *Search* Cc: Liming Gao <liming.gao@intel.com> Cc: Feng Tian <feng.tian@intel.com> Cc: Michael Kinney <michael.d.kinney@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan <jeff.fan@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> (cherry picked from commit 9e981317be20ab85bb68a670e79735f9685a3348)
-rw-r--r--Core/MdePkg/Include/Library/PeCoffGetEntryPointLib.h2
-rw-r--r--Core/MdePkg/Library/BasePeCoffGetEntryPointLib/PeCoffGetEntryPoint.c2
-rw-r--r--Core/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugAgent.c2
-rw-r--r--Core/UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.c2
-rwxr-xr-xCore/UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/Core/MdePkg/Include/Library/PeCoffGetEntryPointLib.h b/Core/MdePkg/Include/Library/PeCoffGetEntryPointLib.h
index 647503bec6..f211cf5426 100644
--- a/Core/MdePkg/Include/Library/PeCoffGetEntryPointLib.h
+++ b/Core/MdePkg/Include/Library/PeCoffGetEntryPointLib.h
@@ -115,7 +115,7 @@ PeCoffGetSizeOfHeaders (
**/
UINTN
EFIAPI
-PeCoffSerachImageBase (
+PeCoffSearchImageBase (
IN UINTN Address
);
diff --git a/Core/MdePkg/Library/BasePeCoffGetEntryPointLib/PeCoffGetEntryPoint.c b/Core/MdePkg/Library/BasePeCoffGetEntryPointLib/PeCoffGetEntryPoint.c
index 00f6d7df11..e1ddc8bafa 100644
--- a/Core/MdePkg/Library/BasePeCoffGetEntryPointLib/PeCoffGetEntryPoint.c
+++ b/Core/MdePkg/Library/BasePeCoffGetEntryPointLib/PeCoffGetEntryPoint.c
@@ -332,7 +332,7 @@ PeCoffGetSizeOfHeaders (
**/
UINTN
EFIAPI
-PeCoffSerachImageBase (
+PeCoffSearchImageBase (
IN UINTN Address
)
{
diff --git a/Core/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugAgent.c b/Core/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugAgent.c
index 6f3c41933d..f156fe24db 100644
--- a/Core/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugAgent.c
+++ b/Core/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/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);