Add fatal_signal_pending
[linux-2.6/mini2440.git] / include / asm-x86 / e820_64.h
blob0bd4787a5d575cf3675103ef114f3ce0ea0e9c8a
1 /*
2 * structures and definitions for the int 15, ax=e820 memory map
3 * scheme.
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.
11 #ifndef __E820_HEADER
12 #define __E820_HEADER
14 #ifndef __ASSEMBLY__
15 extern unsigned long find_e820_area(unsigned long start, unsigned long end,
16 unsigned size);
17 extern void add_memory_region(unsigned long start, unsigned long size,
18 int type);
19 extern void setup_memory_region(void);
20 extern void contig_e820_setup(void);
21 extern unsigned long e820_end_of_ram(void);
22 extern void e820_reserve_resources(void);
23 extern void e820_mark_nosave_regions(void);
24 extern void e820_print_map(char *who);
25 extern int e820_any_mapped(unsigned long start, unsigned long end, unsigned type);
26 extern int e820_all_mapped(unsigned long start, unsigned long end, unsigned type);
27 extern unsigned long e820_hole_size(unsigned long start, unsigned long end);
29 extern void e820_setup_gap(void);
30 extern void e820_register_active_regions(int nid,
31 unsigned long start_pfn, unsigned long end_pfn);
33 extern void finish_e820_parsing(void);
35 extern struct e820map e820;
37 extern unsigned ebda_addr, ebda_size;
38 extern unsigned long nodemap_addr, nodemap_size;
39 #endif/*!__ASSEMBLY__*/
41 #endif/*__E820_HEADER*/