x86: Add find_fw_memmap_area
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / arch / x86 / include / asm / early_res.h
blob9758f3df9dad9cf5934bab14ac438c8fb57fa1a3
1 #ifndef _ASM_X86_EARLY_RES_H
2 #define _ASM_X86_EARLY_RES_H
3 #ifdef __KERNEL__
5 extern void reserve_early(u64 start, u64 end, char *name);
6 extern void reserve_early_overlap_ok(u64 start, u64 end, char *name);
7 extern void free_early(u64 start, u64 end);
8 extern void early_res_to_bootmem(u64 start, u64 end);
10 void reserve_early_without_check(u64 start, u64 end, char *name);
11 u64 find_early_area(u64 ei_start, u64 ei_last, u64 start, u64 end,
12 u64 size, u64 align);
13 u64 find_early_area_size(u64 ei_start, u64 ei_last, u64 start,
14 u64 *sizep, u64 align);
15 u64 find_fw_memmap_area(u64 start, u64 end, u64 size, u64 align);
16 #include <linux/range.h>
17 int get_free_all_memory_range(struct range **rangep, int nodeid);
19 #endif /* __KERNEL__ */
21 #endif /* _ASM_X86_EARLY_RES_H */