1 #ifndef __LUNAIX_LOADER_H
2 #define __LUNAIX_LOADER_H
4 #include <lunaix/elf.h>
5 #include <lunaix/process.h>
6 #include <lunaix/types.h>
8 #define LD_STAT_FKUP 0x1U
10 #define MAX_VAR_PAGES 8
11 #define DEFAULT_HEAP_PAGES 16
15 struct elf32_ehdr ehdr_out;
23 struct proc_info* proc;
39 #ifndef __USR_WRAPPER__
41 elf_load(struct ld_param* ldparam, struct v_file* elfile);
44 ld_create_param(struct ld_param* param, struct proc_info* proc, ptr_t vms);
47 #endif /* __LUNAIX_LOADER_H */