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>
This commit is contained in:
Jeff Fan 2017-04-24 10:06:31 +08:00
parent 59a119f0fc
commit 9e981317be
5 changed files with 5 additions and 5 deletions

View File

@ -115,7 +115,7 @@ PeCoffGetSizeOfHeaders (
**/ **/
UINTN UINTN
EFIAPI EFIAPI
PeCoffSerachImageBase ( PeCoffSearchImageBase (
IN UINTN Address IN UINTN Address
); );

View File

@ -332,7 +332,7 @@ PeCoffGetSizeOfHeaders (
**/ **/
UINTN UINTN
EFIAPI EFIAPI
PeCoffSerachImageBase ( PeCoffSearchImageBase (
IN UINTN Address IN UINTN Address
) )
{ {

View File

@ -206,7 +206,7 @@ FindAndReportModuleImageInfo (
// //
// Find Image Base // Find Image Base
// //
Pe32Data = PeCoffSerachImageBase ((UINTN) mErrorMsgVersionAlert); Pe32Data = PeCoffSearchImageBase ((UINTN) mErrorMsgVersionAlert);
if (Pe32Data != 0) { if (Pe32Data != 0) {
ImageContext.ImageAddress = Pe32Data; ImageContext.ImageAddress = Pe32Data;
ImageContext.PdbPointer = PeCoffLoaderGetPdbPointer ((VOID*) (UINTN) ImageContext.ImageAddress); ImageContext.PdbPointer = PeCoffLoaderGetPdbPointer ((VOID*) (UINTN) ImageContext.ImageAddress);

View File

@ -120,7 +120,7 @@ DumpModuleImageInfo (
VOID *PdbPointer; VOID *PdbPointer;
VOID *EntryPoint; VOID *EntryPoint;
Pe32Data = PeCoffSerachImageBase (CurrentEip); Pe32Data = PeCoffSearchImageBase (CurrentEip);
if (Pe32Data == 0) { if (Pe32Data == 0) {
InternalPrintMessage ("!!!! Can't find image information. !!!!\n"); InternalPrintMessage ("!!!! Can't find image information. !!!!\n");
} else { } else {

View File

@ -178,7 +178,7 @@ DumpModuleInfoByIp (
// //
// Find Image Base // Find Image Base
// //
Pe32Data = PeCoffSerachImageBase (CallerIpAddress); Pe32Data = PeCoffSearchImageBase (CallerIpAddress);
if (Pe32Data != 0) { if (Pe32Data != 0) {
DEBUG ((DEBUG_ERROR, "It is invoked from the instruction before IP(0x%p)", (VOID *) CallerIpAddress)); DEBUG ((DEBUG_ERROR, "It is invoked from the instruction before IP(0x%p)", (VOID *) CallerIpAddress));
PdbPointer = PeCoffLoaderGetPdbPointer ((VOID *) Pe32Data); PdbPointer = PeCoffLoaderGetPdbPointer ((VOID *) Pe32Data);