2 * structures and definitions for the int 15, ax=e820 memory map
5 * In a nutshell, arch/i386/boot/setup.S populates a scratch table
6 * in the empty_zero_block that contains a list of usable address/size
7 * duples. In arch/i386/kernel/setup.c, this information is
8 * transferred into the e820map, and in arch/i386/mm/init.c, that
9 * new information is used to mark pages reserved or not.
15 #include <linux/ioport.h>
17 #define HIGH_MEMORY (1024*1024)
21 extern struct e820map e820;
22 extern void update_e820(void);
24 extern int e820_all_mapped(unsigned long start, unsigned long end,
26 extern int e820_any_mapped(u64 start, u64 end, unsigned type);
27 extern void find_max_pfn(void);
28 extern void register_bootmem_low_pages(unsigned long max_low_pfn);
29 extern void add_memory_region(unsigned long long start,
30 unsigned long long size, int type);
31 extern void e820_register_memory(void);
32 extern void limit_regions(unsigned long long size);
33 extern void print_memory_map(char *who);
34 extern void init_iomem_resources(struct resource *code_resource,
35 struct resource *data_resource,
36 struct resource *bss_resource);
38 #if defined(CONFIG_PM) && defined(CONFIG_HIBERNATION)
39 extern void e820_mark_nosave_regions(void);
41 static inline void e820_mark_nosave_regions(void)
47 #endif/*!__ASSEMBLY__*/
48 #endif/*__E820_HEADER*/