mirror of https://github.com/acidanthera/audk.git
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:
parent
59a119f0fc
commit
9e981317be
|
@ -115,7 +115,7 @@ PeCoffGetSizeOfHeaders (
|
||||||
**/
|
**/
|
||||||
UINTN
|
UINTN
|
||||||
EFIAPI
|
EFIAPI
|
||||||
PeCoffSerachImageBase (
|
PeCoffSearchImageBase (
|
||||||
IN UINTN Address
|
IN UINTN Address
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -332,7 +332,7 @@ PeCoffGetSizeOfHeaders (
|
||||||
**/
|
**/
|
||||||
UINTN
|
UINTN
|
||||||
EFIAPI
|
EFIAPI
|
||||||
PeCoffSerachImageBase (
|
PeCoffSearchImageBase (
|
||||||
IN UINTN Address
|
IN UINTN Address
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue