aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbibo,mao <bibo.mao@intel.com>2006-12-07 02:14:06 +0100
committerAndi Kleen <andi@basil.nowhere.org>2006-12-07 02:14:06 +0100
commitcef518e88b8ed94ea483c436ef5e5b151a3fabc6 (patch)
treed920944b9d1f9f0c885bce457f12afb92e220245 /include
parentb5b2405706005cc7765f6ecd00965d29e93f090a (diff)
[PATCH] i386: Move memory map printing and other code to e820.c
This patch moves e820 memory map print and memmap boot param parsing function from setup.c to e820.c, also adds limit_regions and print_memory_map declaration in header file. Signed-off-by: bibo,mao <bibo.mao@intel.com> Signed-off-by: Andi Kleen <ak@suse.de> arch/i386/kernel/e820.c | 152 +++++++++++++++++++++++++++ arch/i386/kernel/setup.c | 158 --------------------------------- include/asm-i386/e820.h | 2 arch/i386/kernel/e820.c | 152 ++++++++++++++++++++++++++++++++++++++++++++++ arch/i386/kernel/setup.c | 153 ----------------------------------------------- include/asm-i386/e820.h | 2 3 files changed, 155 insertions(+), 152 deletions(-)
Diffstat (limited to 'include')
-rw-r--r--include/asm-i386/e820.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-i386/e820.h b/include/asm-i386/e820.h
index 8da4175a553..395077aba58 100644
--- a/include/asm-i386/e820.h
+++ b/include/asm-i386/e820.h
@@ -41,6 +41,8 @@ extern int e820_all_mapped(unsigned long start, unsigned long end,
extern void find_max_pfn(void);
extern void register_bootmem_low_pages(unsigned long max_low_pfn);
extern void register_memory(void);
+extern void limit_regions(unsigned long long size);
+extern void print_memory_map(char *who);
#endif/*!__ASSEMBLY__*/