Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v2.6.25-rc2 49 lines 1.9 kB view raw
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__ 17extern unsigned long find_e820_area(unsigned long start, unsigned long end, 18 unsigned size, unsigned long align); 19extern void add_memory_region(unsigned long start, unsigned long size, 20 int type); 21extern void setup_memory_region(void); 22extern void contig_e820_setup(void); 23extern unsigned long e820_end_of_ram(void); 24extern void e820_reserve_resources(struct resource *code_resource, 25 struct resource *data_resource, struct resource *bss_resource); 26extern void e820_mark_nosave_regions(void); 27extern int e820_any_mapped(unsigned long start, unsigned long end, unsigned type); 28extern int e820_all_mapped(unsigned long start, unsigned long end, unsigned type); 29extern int e820_any_non_reserved(unsigned long start, unsigned long end); 30extern int is_memory_any_valid(unsigned long start, unsigned long end); 31extern int e820_all_non_reserved(unsigned long start, unsigned long end); 32extern int is_memory_all_valid(unsigned long start, unsigned long end); 33extern unsigned long e820_hole_size(unsigned long start, unsigned long end); 34 35extern void e820_setup_gap(void); 36extern void e820_register_active_regions(int nid, 37 unsigned long start_pfn, unsigned long end_pfn); 38 39extern void finish_e820_parsing(void); 40 41extern struct e820map e820; 42extern void update_e820(void); 43 44extern void reserve_early(unsigned long start, unsigned long end, char *name); 45extern void early_res_to_bootmem(void); 46 47#endif/*!__ASSEMBLY__*/ 48 49#endif/*__E820_HEADER*/