diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-06-03 22:34:00 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-06-04 06:01:57 -0400 |
commit | ee0c80fadfa56bf4f9d90c1c023429a6bd8edd69 (patch) | |
tree | 74139bd2a4437a327fc65a00cafb42549d601670 /include/asm-x86/e820.h | |
parent | 84b56fa46b36c2df508e7d421feab514fad30f81 (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.h | 11 |
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 | ||
82 | extern unsigned long end_user_pfn; | ||
83 | |||
82 | extern u64 find_e820_area(u64 start, u64 end, u64 size, u64 align); | 84 | extern u64 find_e820_area(u64 start, u64 end, u64 size, u64 align); |
83 | extern u64 find_e820_area_size(u64 start, u64 *sizep, u64 align); | 85 | extern u64 find_e820_area_size(u64 start, u64 *sizep, u64 align); |
84 | extern void reserve_early(u64 start, u64 end, char *name); | 86 | extern void reserve_early(u64 start, u64 end, char *name); |
@@ -86,6 +88,15 @@ extern void free_early(u64 start, u64 end); | |||
86 | extern void early_res_to_bootmem(u64 start, u64 end); | 88 | extern void early_res_to_bootmem(u64 start, u64 end); |
87 | extern u64 early_reserve_e820(u64 startt, u64 sizet, u64 align); | 89 | extern u64 early_reserve_e820(u64 startt, u64 sizet, u64 align); |
88 | 90 | ||
91 | extern unsigned long e820_end_of_ram(void); | ||
92 | extern 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); | ||
97 | extern void e820_register_active_regions(int nid, unsigned long start_pfn, | ||
98 | unsigned long end_pfn); | ||
99 | extern 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 |