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
6d772a4b8e
commit
8ab268389f
@ -239,7 +239,7 @@ UefiImageDebugPrintImageRecord (
|
||||
DEBUG ((
|
||||
DEBUG_VERBOSE,
|
||||
" RecordSegment\n"
|
||||
" Address - 0x%16xll\n"
|
||||
" Address - 0x%016llx\n"
|
||||
" Size - 0x%08x\n"
|
||||
" Attributes - 0x%08x\n",
|
||||
(UINT64) SegmentAddress,
|
||||
|
@ -480,21 +480,24 @@ UefiImageDebugPrintSegmentsPeCoff (
|
||||
Name = Sections[SectionIndex].Name;
|
||||
DEBUG ((
|
||||
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"
|
||||
" VirtualAddress - 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"
|
||||
" PointerToLinenumbers - 0x%08x\n"
|
||||
" NumberOfRelocations - 0x%08x\n"
|
||||
" NumberOfLinenumbers - 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].PointerToLinenumbers,
|
||||
Sections[SectionIndex].NumberOfRelocations,
|
||||
|
Loading…
x
Reference in New Issue
Block a user