xen: cleancache shim to Xen Transcendent Memory
[linux-2.6/next.git] / arch / x86 / include / asm / memblock.h
blob19ae14ba69780c38defd3fbcfe7fdcb05859f9c0
1 #ifndef _X86_MEMBLOCK_H
2 #define _X86_MEMBLOCK_H
4 #define ARCH_DISCARD_MEMBLOCK
6 u64 memblock_x86_find_in_range_size(u64 start, u64 *sizep, u64 align);
7 void memblock_x86_to_bootmem(u64 start, u64 end);
9 void memblock_x86_reserve_range(u64 start, u64 end, char *name);
10 void memblock_x86_free_range(u64 start, u64 end);
11 struct range;
12 int __get_free_all_memory_range(struct range **range, int nodeid,
13 unsigned long start_pfn, unsigned long end_pfn);
14 int get_free_all_memory_range(struct range **rangep, int nodeid);
16 void memblock_x86_register_active_regions(int nid, unsigned long start_pfn,
17 unsigned long last_pfn);
18 u64 memblock_x86_hole_size(u64 start, u64 end);
19 u64 memblock_x86_find_in_range_node(int nid, u64 start, u64 end, u64 size, u64 align);
20 u64 memblock_x86_free_memory_in_range(u64 addr, u64 limit);
21 u64 memblock_x86_memory_in_range(u64 addr, u64 limit);
23 #endif