Karg
v0.2.0
The kernel of CargOS
|
#include <elf.h>
#include <errno.h>
#include <init.h>
#include <math.h>
#include <mm/page_alloc.h>
#include <mm/vm.h>
#include <utils/mem.h>
Classes | |
struct | elf_hdr_t |
struct | prog_hdr_t |
Macros | |
#define | PF_X 0x1 |
#define | PF_W 0x2 |
#define | PF_R 0x4 |
Enumerations | |
enum | { EI_MAG0 , EI_MAG1 , EI_MAG2 , EI_MAG3 , EI_CLASS , EI_DATA , EI_VERSION } |
enum | { PT_LOAD = 1 } |
Functions | |
i32 | elf_load (elf_load_res_t *load_res) |
#define PF_R 0x4 |
#define PF_W 0x2 |
#define PF_X 0x1 |
i32 elf_load | ( | elf_load_res_t * | load_res | ) |