Go to the source code of this file.
|
| struct | vaddr_range |
| | The structure vaddr_range_t represents the mapping between a virtual address range and the starting physical address. More...
|
| |
| struct | vaddr_map |
| | The structure vaddr_map_t represents the mapping between a virtual address range and the starting physical address and size of this table. More...
|
| |
|
| typedef struct vaddr_range | vaddr_range_t |
| | The structure vaddr_range_t represents the mapping between a virtual address range and the starting physical address.
|
| |
| typedef struct vaddr_map | vaddr_map_t |
| | The structure vaddr_map_t represents the mapping between a virtual address range and the starting physical address and size of this table.
|
| |
◆ vaddr_map_t
The structure vaddr_map_t represents the mapping between a virtual address range and the starting physical address and size of this table.
◆ vaddr_range_t
The structure vaddr_range_t represents the mapping between a virtual address range and the starting physical address.
◆ elf32_get_entry_addr()
Extracts the entry address from an ELF32 image loaded at 'base'.
- Parameters
-
| base | The base address of the ELF32 image. |
- Returns
- The entry address of the ELF32 image.
Extracts the entry address from an ELF32 image loaded at 'base'.
- Parameters
-
| base | Base address of the ELF32 file |
- Returns
- Entry address
◆ elf64_get_entry_addr()
Extracts the entry address from an ELF64 image loaded at 'base'.
- Parameters
-
| base | The base address of the ELF64 image. |
- Returns
- The entry address of the ELF64 image.
◆ load_elf32_image()
Loads an ELF32 image into memory starting at 'img_addr'.
- Parameters
-
| img_addr | The starting address to load the ELF32 image. |
- Returns
- 0 if successful, -1 otherwise.
◆ load_elf32_image_remap()
Loads an ELF32 image into memory starting at 'img_addr', with remap va to pa.
- Parameters
-
| img_addr | The starting address to load the ELF32 image. |
| map | The address mapping table. |
- Returns
- 0 if successful, -1 otherwise.
◆ load_elf64_image()
Loads an ELF64 image into memory starting at 'img_addr'.
- Parameters
-
| img_addr | The starting address to load the ELF64 image. |
- Returns
- 0 if successful, -1 otherwise.