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;
26 struct proc_info* proc;
42 #ifndef __USR_WRAPPER__
44 elf_load(struct ld_param* ldparam, struct v_file* elfile);
47 exec_load_byname(struct ld_param* param,
53 exec_load(struct ld_param* param,
54 struct v_file* executable,
59 ld_create_param(struct ld_param* param, struct proc_info* proc, ptr_t vms);
62 #endif /* __LUNAIX_LOADER_H */