mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-25 22:14:37 +00:00
Update debug messages
This commit is contained in:
parent
4293d2a9ac
commit
45da53c843
@ -177,7 +177,7 @@ namespace Execute
|
|||||||
vAddr, pAddr, ProgramHeader.p_memsz);
|
vAddr, pAddr, ProgramHeader.p_memsz);
|
||||||
debug("Segment Offset is %#lx", SegDestOffset);
|
debug("Segment Offset is %#lx", SegDestOffset);
|
||||||
|
|
||||||
debug("Copying segment to p: %#lx-%#lx; v: %#lx-%#lx (%ld file bytes, %ld mem bytes)",
|
debug("Copying PT_LOAD to p: %#lx-%#lx; v: %#lx-%#lx (%ld file bytes, %ld mem bytes)",
|
||||||
uintptr_t(pAddr) + SegDestOffset,
|
uintptr_t(pAddr) + SegDestOffset,
|
||||||
uintptr_t(pAddr) + SegDestOffset + ProgramHeader.p_memsz,
|
uintptr_t(pAddr) + SegDestOffset + ProgramHeader.p_memsz,
|
||||||
ProgramHeader.p_vaddr,
|
ProgramHeader.p_vaddr,
|
||||||
@ -428,7 +428,7 @@ namespace Execute
|
|||||||
if (ProgramHeader.p_memsz == 0)
|
if (ProgramHeader.p_memsz == 0)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
debug("Copying PT_LOAD to %#lx-%#lx (%ld file bytes, %ld mem bytes)",
|
debug("Copying PT_LOAD to %#lx-%#lx (%ld file bytes, %ld mem bytes)",
|
||||||
SegmentDestination, SegmentDestination + ProgramHeader.p_memsz,
|
SegmentDestination, SegmentDestination + ProgramHeader.p_memsz,
|
||||||
ProgramHeader.p_filesz, ProgramHeader.p_memsz);
|
ProgramHeader.p_filesz, ProgramHeader.p_memsz);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user