24 /* This struct is used to hold certain information about the image.
25 * Basically, it replicates in user space what would be certain
26 * task_struct fields in the kernel
29 unsigned long start_code;
30 unsigned long end_code;
31 unsigned long end_data;
32 unsigned long start_brk;
34 unsigned long start_mmap;
37 unsigned long start_stack;
38 unsigned long arg_start;
39 unsigned long arg_end;
40 unsigned long env_start;
41 unsigned long env_end;
46 int elf_exec(const char * filename, char ** argv, char ** envp,
47 struct pt_regs * regs, struct image_info *infop);
49 void target_set_brk(char *new_brk);
50 void syscall_init(void);
51 long do_syscall(int num, long arg1, long arg2, long arg3,
52 long arg4, long arg5, long arg6);
53 void gemu_log(const char *fmt, ...) __attribute__((format(printf,1,2)));