Hello,
I just need a slight remainder. I read again the ELF wiki page http://wiki.osdev.org/ELF#File_Structure.
Can someone tell me when I need to take care of the physical address provided by the elf header sections on modern Unix systems ?
I guess even DMA is not concerned, since you allocate it at runtime, and make use of the physical allocator.
Is it something to remain compatible with systems that don't have virtual memory / didn't enable it yet (boot, real mode...) ?
Thanks
Julien
ELF physical address. Need a refresh.
-
- Member
- Posts: 97
- Joined: Tue Mar 10, 2015 10:08 am
Re: ELF physical address. Need a refresh.
The specifications are relatively clear:
John.
Regards,ELF Standard wrote:p_paddr: On systems for which physical addressing is relevant, this member is reserved for the segment’s physical address. Because System V ignores physical addressing for application programs, this member has unspecified contents for executable files and shared objects.
John.
-
- Member
- Posts: 97
- Joined: Tue Mar 10, 2015 10:08 am
Re: ELF physical address. Need a refresh.
Thanks jnc,
I massively sucked on this one.
Bye
I massively sucked on this one.
Bye