MentOS
0.8.0
The Mentoring Operating System
|
The elf program header, holding program layout information. More...
Public Attributes | |
uint32_t | type |
Identifies the type of the segment. | |
uint32_t | offset |
Offset of the segment in the file image. | |
uint32_t | vaddr |
Virtual address of the segment in memory. | |
uint32_t | paddr |
uint32_t | filesz |
Size in bytes of the segment in the file image. May be 0. | |
uint32_t | memsz |
Size in bytes of the segment in memory. May be 0. | |
uint32_t | flags |
Segment-dependent flags. | |
uint32_t | align |
The elf program header, holding program layout information.
uint32_t elf_program_header::align |
Values of 0 or 1 specify no alignment. Otherwise should be a positive, integral power of 2, with p_vaddr equating p_offset modulus p_align.
uint32_t elf_program_header::paddr |
On systems where physical address is relevant, reserved for segment's physical address.