MentOS  0.8.0
The Mentoring Operating System
Public Attributes | List of all members
elf_program_header Struct Reference

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
 

Detailed Description

The elf program header, holding program layout information.

Member Data Documentation

◆ align

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.

◆ paddr

uint32_t elf_program_header::paddr

On systems where physical address is relevant, reserved for segment's physical address.


The documentation for this struct was generated from the following file: