diff options
Diffstat (limited to 'include/asm-x86_64/e820.h')
-rw-r--r-- | include/asm-x86_64/e820.h | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/include/asm-x86_64/e820.h b/include/asm-x86_64/e820.h index f65674832318..fa2086774105 100644 --- a/include/asm-x86_64/e820.h +++ b/include/asm-x86_64/e820.h | |||
@@ -19,13 +19,9 @@ | |||
19 | 19 | ||
20 | #define E820_RAM 1 | 20 | #define E820_RAM 1 |
21 | #define E820_RESERVED 2 | 21 | #define E820_RESERVED 2 |
22 | #define E820_ACPI 3 /* usable as RAM once ACPI tables have been read */ | 22 | #define E820_ACPI 3 |
23 | #define E820_NVS 4 | 23 | #define E820_NVS 4 |
24 | 24 | ||
25 | #define HIGH_MEMORY (1024*1024) | ||
26 | |||
27 | #define LOWMEMSIZE() (0x9f000) | ||
28 | |||
29 | #ifndef __ASSEMBLY__ | 25 | #ifndef __ASSEMBLY__ |
30 | struct e820entry { | 26 | struct e820entry { |
31 | u64 addr; /* start of memory segment */ | 27 | u64 addr; /* start of memory segment */ |
@@ -51,13 +47,11 @@ extern void e820_print_map(char *who); | |||
51 | extern int e820_any_mapped(unsigned long start, unsigned long end, unsigned type); | 47 | extern int e820_any_mapped(unsigned long start, unsigned long end, unsigned type); |
52 | extern int e820_all_mapped(unsigned long start, unsigned long end, unsigned type); | 48 | extern int e820_all_mapped(unsigned long start, unsigned long end, unsigned type); |
53 | 49 | ||
54 | extern void e820_bootmem_free(pg_data_t *pgdat, unsigned long start,unsigned long end); | ||
55 | extern void e820_setup_gap(void); | 50 | extern void e820_setup_gap(void); |
56 | extern unsigned long e820_hole_size(unsigned long start_pfn, | 51 | extern void e820_register_active_regions(int nid, |
57 | unsigned long end_pfn); | 52 | unsigned long start_pfn, unsigned long end_pfn); |
58 | 53 | ||
59 | extern void __init parse_memopt(char *p, char **end); | 54 | extern void finish_e820_parsing(void); |
60 | extern void __init parse_memmapopt(char *p, char **end); | ||
61 | 55 | ||
62 | extern struct e820map e820; | 56 | extern struct e820map e820; |
63 | 57 | ||