]> pilppa.org Git - linux-2.6-omap-h63xx.git/blob - include/asm-x86/e820_64.h
8d992109969bc0ece2ab2fa058a8daae5610807f
[linux-2.6-omap-h63xx.git] / include / asm-x86 / e820_64.h
1 /*
2  * structures and definitions for the int 15, ax=e820 memory map
3  * scheme.
4  *
5  * In a nutshell, setup.S populates a scratch table in the
6  * empty_zero_block that contains a list of usable address/size
7  * duples.  setup.c, this information is transferred into the e820map,
8  * and in init.c/numa.c, that new information is used to mark pages
9  * reserved or not.
10  */
11 #ifndef __E820_HEADER
12 #define __E820_HEADER
13
14 #include <linux/ioport.h>
15
16 #ifndef __ASSEMBLY__
17 extern void setup_memory_region(void);
18 extern void contig_e820_setup(void);
19 extern int e820_any_non_reserved(unsigned long start, unsigned long end);
20 extern int is_memory_any_valid(unsigned long start, unsigned long end);
21 extern int e820_all_non_reserved(unsigned long start, unsigned long end);
22 extern int is_memory_all_valid(unsigned long start, unsigned long end);
23
24 #endif/*!__ASSEMBLY__*/
25
26 #endif/*__E820_HEADER*/