mirror of
https://github.com/acidanthera/audk.git
synced 2025-09-24 10:17:45 +02:00
BaseUefiImageLib: Fix segment logging
This commit is contained in:
parent
2304aa1fd3
commit
4a02e8a807
@ -239,7 +239,7 @@ UefiImageDebugPrintImageRecord (
|
|||||||
DEBUG ((
|
DEBUG ((
|
||||||
DEBUG_VERBOSE,
|
DEBUG_VERBOSE,
|
||||||
" RecordSegment\n"
|
" RecordSegment\n"
|
||||||
" Address - 0x%16xll\n"
|
" Address - 0x%016llx\n"
|
||||||
" Size - 0x%08x\n"
|
" Size - 0x%08x\n"
|
||||||
" Attributes - 0x%08x\n",
|
" Attributes - 0x%08x\n",
|
||||||
(UINT64) SegmentAddress,
|
(UINT64) SegmentAddress,
|
||||||
|
@ -480,21 +480,24 @@ UefiImageDebugPrintSegmentsPeCoff (
|
|||||||
Name = Sections[SectionIndex].Name;
|
Name = Sections[SectionIndex].Name;
|
||||||
DEBUG ((
|
DEBUG ((
|
||||||
DEBUG_VERBOSE,
|
DEBUG_VERBOSE,
|
||||||
" Section - '%c%c%c%c%c%c%c%c'\n",
|
" Section - '%c%c%c%c%c%c%c%c'\n"
|
||||||
" VirtualSize - 0x%08x\n"
|
" VirtualSize - 0x%08x\n"
|
||||||
" VirtualAddress - 0x%08x\n"
|
" VirtualAddress - 0x%08x\n"
|
||||||
" SizeOfRawData - 0x%08x\n"
|
" SizeOfRawData - 0x%08x\n"
|
||||||
" PointerToRawData - 0x%08x\n"
|
" PointerToRawData - 0x%08x\n",
|
||||||
|
Name[0], Name[1], Name[2], Name[3], Name[4], Name[5], Name[6], Name[7],
|
||||||
|
Sections[SectionIndex].VirtualSize,
|
||||||
|
Sections[SectionIndex].VirtualAddress,
|
||||||
|
Sections[SectionIndex].SizeOfRawData,
|
||||||
|
Sections[SectionIndex].PointerToRawData
|
||||||
|
));
|
||||||
|
DEBUG ((
|
||||||
|
DEBUG_VERBOSE,
|
||||||
" PointerToRelocations - 0x%08x\n"
|
" PointerToRelocations - 0x%08x\n"
|
||||||
" PointerToLinenumbers - 0x%08x\n"
|
" PointerToLinenumbers - 0x%08x\n"
|
||||||
" NumberOfRelocations - 0x%08x\n"
|
" NumberOfRelocations - 0x%08x\n"
|
||||||
" NumberOfLinenumbers - 0x%08x\n"
|
" NumberOfLinenumbers - 0x%08x\n"
|
||||||
" Characteristics - 0x%08x\n",
|
" Characteristics - 0x%08x\n",
|
||||||
Name[0], Name[1], Name[2], Name[3], Name[4], Name[5], Name[6], Name[7],
|
|
||||||
Sections[SectionIndex].VirtualSize,
|
|
||||||
Sections[SectionIndex].VirtualAddress,
|
|
||||||
Sections[SectionIndex].SizeOfRawData,
|
|
||||||
Sections[SectionIndex].PointerToRawData,
|
|
||||||
Sections[SectionIndex].PointerToRelocations,
|
Sections[SectionIndex].PointerToRelocations,
|
||||||
Sections[SectionIndex].PointerToLinenumbers,
|
Sections[SectionIndex].PointerToLinenumbers,
|
||||||
Sections[SectionIndex].NumberOfRelocations,
|
Sections[SectionIndex].NumberOfRelocations,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user