![]() |
SyterKit 0.4.0.x
SyterKit is a bare-metal framework
|
#include <stdbool.h>#include <stddef.h>#include <stdint.h>#include <string.h>#include <types.h>#include <elf.h>#include <elf_helpers.h>#include <elf_loader.h>#include <log.h>
Functions | |
| void | print_elf64_ehdr (Elf64_Ehdr *header) |
| phys_addr_t | elf64_get_entry_addr (phys_addr_t base) |
| Extracts the entry address from an ELF64 image loaded at 'base'. | |
| int | load_elf64_image (phys_addr_t img_addr) |
| Loads an ELF64 image into memory starting at 'img_addr'. | |
| static Elf64_Shdr * | elf64_find_segment (phys_addr_t elf_addr, const char *seg_name) |
| void * | elf64_find_segment_offset (phys_addr_t elf_addr, const char *seg_name) |
| void * | elf64_find_segment_addr (phys_addr_t elf_addr, const char *seg_name) |
|
static |
| void * elf64_find_segment_addr | ( | phys_addr_t | elf_addr, |
| const char * | seg_name | ||
| ) |
| void * elf64_find_segment_offset | ( | phys_addr_t | elf_addr, |
| const char * | seg_name | ||
| ) |
| phys_addr_t elf64_get_entry_addr | ( | phys_addr_t | base | ) |
Extracts the entry address from an ELF64 image loaded at 'base'.
| base | The base address of the ELF64 image. |
| int load_elf64_image | ( | phys_addr_t | img_addr | ) |
Loads an ELF64 image into memory starting at 'img_addr'.
| img_addr | The starting address to load the ELF64 image. |
| void print_elf64_ehdr | ( | Elf64_Ehdr * | header | ) |