api.h (1a1270349a0710162a160eef4f2e360845e0f47d) | api.h (81b3e090fa1f237d49c8feb2fa4afe2aabd3a4ff) |
---|---|
1#ifndef _ASM_E820_API_H 2#define _ASM_E820_API_H 3 4#include <asm/e820/types.h> 5 6extern struct e820_table *e820_table; 7extern struct e820_table *e820_table_firmware; 8 9extern unsigned long pci_mem_start; 10 | 1#ifndef _ASM_E820_API_H 2#define _ASM_E820_API_H 3 4#include <asm/e820/types.h> 5 6extern struct e820_table *e820_table; 7extern struct e820_table *e820_table_firmware; 8 9extern unsigned long pci_mem_start; 10 |
11extern int e820__mapped_any(u64 start, u64 end, enum e820_type type); 12extern int e820__mapped_all(u64 start, u64 end, enum e820_type type); | 11extern bool e820__mapped_any(u64 start, u64 end, enum e820_type type); 12extern bool e820__mapped_all(u64 start, u64 end, enum e820_type type); |
13 14extern void e820__range_add (u64 start, u64 size, enum e820_type type); 15extern u64 e820__range_update(u64 start, u64 size, enum e820_type old_type, enum e820_type new_type); | 13 14extern void e820__range_add (u64 start, u64 size, enum e820_type type); 15extern u64 e820__range_update(u64 start, u64 size, enum e820_type old_type, enum e820_type new_type); |
16extern u64 e820__range_remove(u64 start, u64 size, enum e820_type old_type, int checktype); | 16extern u64 e820__range_remove(u64 start, u64 size, enum e820_type old_type, bool check_type); |
17 18extern void e820__print_table(char *who); 19extern int e820__update_table(struct e820_table *table); 20extern void e820__update_table_print(void); 21 22extern unsigned long e820_end_of_ram_pfn(void); 23extern unsigned long e820_end_of_low_ram_pfn(void); 24 --- 26 unchanged lines hidden --- | 17 18extern void e820__print_table(char *who); 19extern int e820__update_table(struct e820_table *table); 20extern void e820__update_table_print(void); 21 22extern unsigned long e820_end_of_ram_pfn(void); 23extern unsigned long e820_end_of_low_ram_pfn(void); 24 --- 26 unchanged lines hidden --- |