diff options
Diffstat (limited to 'arch/um/include')
-rw-r--r-- | arch/um/include/as-layout.h | 35 | ||||
-rw-r--r-- | arch/um/include/user_util.h | 23 |
2 files changed, 35 insertions, 23 deletions
diff --git a/arch/um/include/as-layout.h b/arch/um/include/as-layout.h new file mode 100644 index 000000000000..fccf187bf4e1 --- /dev/null +++ b/arch/um/include/as-layout.h | |||
@@ -0,0 +1,35 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) | ||
3 | * Licensed under the GPL | ||
4 | */ | ||
5 | |||
6 | #ifndef __START_H__ | ||
7 | #define __START_H__ | ||
8 | |||
9 | #include "sysdep/ptrace.h" | ||
10 | |||
11 | struct cpu_task { | ||
12 | int pid; | ||
13 | void *task; | ||
14 | }; | ||
15 | |||
16 | extern struct cpu_task cpu_tasks[]; | ||
17 | |||
18 | extern unsigned long low_physmem; | ||
19 | extern unsigned long high_physmem; | ||
20 | extern unsigned long uml_physmem; | ||
21 | extern unsigned long uml_reserved; | ||
22 | extern unsigned long end_vm; | ||
23 | extern unsigned long start_vm; | ||
24 | extern unsigned long long highmem; | ||
25 | |||
26 | extern unsigned long _stext, _etext, _sdata, _edata, __bss_start, _end; | ||
27 | extern unsigned long _unprotected_end; | ||
28 | extern unsigned long brk_start; | ||
29 | |||
30 | extern int linux_main(int argc, char **argv); | ||
31 | extern void set_cmdline(char *cmd); | ||
32 | |||
33 | extern void (*sig_info[])(int, union uml_pt_regs *); | ||
34 | |||
35 | #endif | ||
diff --git a/arch/um/include/user_util.h b/arch/um/include/user_util.h index fabad2372af0..f04776e2436f 100644 --- a/arch/um/include/user_util.h +++ b/arch/um/include/user_util.h | |||
@@ -30,30 +30,7 @@ extern int grantpt(int __fd); | |||
30 | extern int unlockpt(int __fd); | 30 | extern int unlockpt(int __fd); |
31 | extern char *ptsname(int __fd); | 31 | extern char *ptsname(int __fd); |
32 | 32 | ||
33 | struct cpu_task { | ||
34 | int pid; | ||
35 | void *task; | ||
36 | }; | ||
37 | |||
38 | extern struct cpu_task cpu_tasks[]; | ||
39 | |||
40 | extern void (*sig_info[])(int, union uml_pt_regs *); | ||
41 | |||
42 | extern unsigned long low_physmem; | ||
43 | extern unsigned long high_physmem; | ||
44 | extern unsigned long uml_physmem; | ||
45 | extern unsigned long uml_reserved; | ||
46 | extern unsigned long end_vm; | ||
47 | extern unsigned long start_vm; | ||
48 | extern unsigned long long highmem; | ||
49 | |||
50 | extern unsigned long _stext, _etext, _sdata, _edata, __bss_start, _end; | ||
51 | extern unsigned long _unprotected_end; | ||
52 | extern unsigned long brk_start; | ||
53 | |||
54 | extern void *add_signal_handler(int sig, void (*handler)(int)); | 33 | extern void *add_signal_handler(int sig, void (*handler)(int)); |
55 | extern int linux_main(int argc, char **argv); | ||
56 | extern void set_cmdline(char *cmd); | ||
57 | extern void input_cb(void (*proc)(void *), void *arg, int arg_len); | 34 | extern void input_cb(void (*proc)(void *), void *arg, int arg_len); |
58 | extern int get_pty(void); | 35 | extern int get_pty(void); |
59 | extern int switcheroo(int fd, int prot, void *from, void *to, int size); | 36 | extern int switcheroo(int fd, int prot, void *from, void *to, int size); |