]>
Commit | Line | Data |
---|---|---|
a678c2be YL |
1 | #ifndef _ASM_X86_EARLY_RES_H |
2 | #define _ASM_X86_EARLY_RES_H | |
3 | #ifdef __KERNEL__ | |
4 | ||
5 | extern u64 find_e820_area(u64 start, u64 end, u64 size, u64 align); | |
6 | extern u64 find_e820_area_size(u64 start, u64 *sizep, u64 align); | |
7 | extern void reserve_early(u64 start, u64 end, char *name); | |
8 | extern void reserve_early_overlap_ok(u64 start, u64 end, char *name); | |
9 | extern void free_early(u64 start, u64 end); | |
10 | extern void early_res_to_bootmem(u64 start, u64 end); | |
11 | ||
12 | void reserve_early_without_check(u64 start, u64 end, char *name); | |
13 | u64 find_early_area(u64 ei_start, u64 ei_last, u64 start, u64 end, | |
14 | u64 size, u64 align); | |
15 | #include <linux/range.h> | |
16 | int get_free_all_memory_range(struct range **rangep, int nodeid); | |
17 | ||
18 | #endif /* __KERNEL__ */ | |
19 | ||
20 | #endif /* _ASM_X86_EARLY_RES_H */ |