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 9e981317be
)
This commit is contained in:
@ -115,7 +115,7 @@ PeCoffGetSizeOfHeaders (
|
||||
**/
|
||||
UINTN
|
||||
EFIAPI
|
||||
PeCoffSerachImageBase (
|
||||
PeCoffSearchImageBase (
|
||||
IN UINTN Address
|
||||
);
|
||||
|
||||
|
@ -332,7 +332,7 @@ PeCoffGetSizeOfHeaders (
|
||||
**/
|
||||
UINTN
|
||||
EFIAPI
|
||||
PeCoffSerachImageBase (
|
||||
PeCoffSearchImageBase (
|
||||
IN UINTN Address
|
||||
)
|
||||
{
|
||||
|
@ -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);
|
||||
|
@ -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 {
|
||||
|
@ -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);
|
||||
|
Reference in New Issue
Block a user