Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | /* |
2 | * structures and definitions for the int 15, ax=e820 memory map | |
3 | * scheme. | |
4 | * | |
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. | |
10 | * | |
11 | */ | |
12 | #ifndef __E820_HEADER | |
13 | #define __E820_HEADER | |
14 | ||
c9cce83d BW |
15 | #include <linux/ioport.h> |
16 | ||
1da177e4 LT |
17 | #define HIGH_MEMORY (1024*1024) |
18 | ||
19 | #ifndef __ASSEMBLY__ | |
20 | ||
0dbfafa5 AH |
21 | extern void setup_memory_map(void); |
22 | extern void finish_e820_parsing(void); | |
23 | ||
fa5c4639 | 24 | extern void propagate_e820_map(void); |
b5b24057 | 25 | extern void register_bootmem_low_pages(unsigned long max_low_pfn); |
cef518e8 | 26 | extern void limit_regions(unsigned long long size); |
2215e69d | 27 | extern void init_iomem_resources(struct resource *code_resource, |
1257d6e0 JP |
28 | struct resource *data_resource, |
29 | struct resource *bss_resource); | |
95222368 | 30 | |
1da177e4 | 31 | #endif/*!__ASSEMBLY__*/ |
1da177e4 | 32 | #endif/*__E820_HEADER*/ |