diff options
author | Jeff Dike <jdike@addtoit.com> | 2007-05-06 17:51:08 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-07 15:13:01 -0400 |
commit | 4ff83ce1114827f707b7f1f4f2e5f69de9df94ac (patch) | |
tree | c810839d94475729bd235fe1b39c03298b667fb4 /arch/um/include/as-layout.h | |
parent | eb8307595baa729a12db0fec9a80910b13bd6fc8 (diff) |
uml: create as-layout.h
This patch moves all the the symbols defined in um_arch.c, which are mostly
boundaries between different parts of the UML kernel address space, to a new
header, as-layout.h. There are also a few things here which aren't really
related to address space layout, but which don't really have a better place to
go.
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/include/as-layout.h')
-rw-r--r-- | arch/um/include/as-layout.h | 35 |
1 files changed, 35 insertions, 0 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 | ||