aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/e820.h
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-06-03 22:34:00 -0400
committerIngo Molnar <mingo@elte.hu>2008-06-04 06:01:57 -0400
commitee0c80fadfa56bf4f9d90c1c023429a6bd8edd69 (patch)
tree74139bd2a4437a327fc65a00cafb42549d601670 /include/asm-x86/e820.h
parent84b56fa46b36c2df508e7d421feab514fad30f81 (diff)
x86: move e820_register_active() to e820.c
to prepare 32-bit to use it. Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/e820.h')
-rw-r--r--include/asm-x86/e820.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/asm-x86/e820.h b/include/asm-x86/e820.h
index ee8fe4c5da41..44ed9c0a4dfd 100644
--- a/include/asm-x86/e820.h
+++ b/include/asm-x86/e820.h
@@ -79,6 +79,8 @@ static inline void e820_mark_nosave_regions(unsigned long limit_pfn)
79} 79}
80#endif 80#endif
81 81
82extern unsigned long end_user_pfn;
83
82extern u64 find_e820_area(u64 start, u64 end, u64 size, u64 align); 84extern u64 find_e820_area(u64 start, u64 end, u64 size, u64 align);
83extern u64 find_e820_area_size(u64 start, u64 *sizep, u64 align); 85extern u64 find_e820_area_size(u64 start, u64 *sizep, u64 align);
84extern void reserve_early(u64 start, u64 end, char *name); 86extern void reserve_early(u64 start, u64 end, char *name);
@@ -86,6 +88,15 @@ extern void free_early(u64 start, u64 end);
86extern void early_res_to_bootmem(u64 start, u64 end); 88extern void early_res_to_bootmem(u64 start, u64 end);
87extern u64 early_reserve_e820(u64 startt, u64 sizet, u64 align); 89extern u64 early_reserve_e820(u64 startt, u64 sizet, u64 align);
88 90
91extern unsigned long e820_end_of_ram(void);
92extern int e820_find_active_region(const struct e820entry *ei,
93 unsigned long start_pfn,
94 unsigned long last_pfn,
95 unsigned long *ei_startpfn,
96 unsigned long *ei_endpfn);
97extern void e820_register_active_regions(int nid, unsigned long start_pfn,
98 unsigned long end_pfn);
99extern u64 e820_hole_size(u64 start, u64 end);
89#endif /* __ASSEMBLY__ */ 100#endif /* __ASSEMBLY__ */
90 101
91#define ISA_START_ADDRESS 0xa0000 102#define ISA_START_ADDRESS 0xa0000