3#ifndef __ELF_LOADER_H__
4#define __ELF_LOADER_H__
u64_t uint64_t
Definition stdint.h:16
u32_t uint32_t
Definition stdint.h:13
struct vaddr_range vaddr_range_t
The structure vaddr_range_t represents the mapping between a virtual address range and the starting p...
struct vaddr_map vaddr_map_t
The structure vaddr_map_t represents the mapping between a virtual address range and the starting phy...
phys_addr_t elf32_get_entry_addr(phys_addr_t base)
Extracts the entry address from an ELF32 image loaded at 'base'.
Definition elf32.c:46
int load_elf32_image(phys_addr_t img_addr)
Loads an ELF32 image into memory starting at 'img_addr'.
Definition elf32.c:71
int load_elf32_image_remap(phys_addr_t img_addr, vaddr_map_t *map)
Loads an ELF32 image into memory starting at 'img_addr', with remap va to pa.
Definition elf32.c:75
phys_addr_t elf64_get_entry_addr(phys_addr_t base)
Extracts the entry address from an ELF64 image loaded at 'base'.
Definition elf64.c:34
int load_elf64_image(phys_addr_t img_addr)
Loads an ELF64 image into memory starting at 'img_addr'.
Definition elf64.c:42
unsigned long phys_addr_t
Definition types.h:58
The structure vaddr_map_t represents the mapping between a virtual address range and the starting phy...
Definition elf_loader.h:22
uint32_t range_size
Definition elf_loader.h:24
vaddr_range_t * range
Definition elf_loader.h:23
The structure vaddr_range_t represents the mapping between a virtual address range and the starting p...
Definition elf_loader.h:13
uint64_t pstart
The starting position of the corresponding physical address.
Definition elf_loader.h:16
uint64_t vstart
The starting address of the virtual address range.
Definition elf_loader.h:14
uint64_t vend
The ending address of the virtual address range.
Definition elf_loader.h:15