1 /* 2 ** Copyright 2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved. 3 ** Distributed under the terms of the Haiku License. 4 */ 5 #ifndef KERNEL_BOOT_ADDR_RANGE_H 6 #define KERNEL_BOOT_ADDR_RANGE_H 7 8 9 #include <SupportDefs.h> 10 11 12 typedef struct addr_range { 13 addr_t start; 14 addr_t size; 15 } addr_range; 16 17 #ifdef __cplusplus 18 extern "C" 19 #endif 20 status_t insert_address_range(addr_range *ranges, uint32 *_numRanges, uint32 maxRanges, 21 addr_t start, uint32 size); 22 23 #endif /* KERNEL_BOOT_ADDR_RANGE_H */ 24