Added the prototype for insert_address_range() that can be used for the
various addr_range arrays in the kernel_args structure. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9412 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
aaf64ea574
commit
53ac60d4ea
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
** Copyright 2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
|
** Copyright 2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
|
||||||
** Distributed under the terms of the OpenBeOS License.
|
** Distributed under the terms of the Haiku License.
|
||||||
*/
|
*/
|
||||||
#ifndef KERNEL_BOOT_ADDR_RANGE_H
|
#ifndef KERNEL_BOOT_ADDR_RANGE_H
|
||||||
#define KERNEL_BOOT_ADDR_RANGE_H
|
#define KERNEL_BOOT_ADDR_RANGE_H
|
||||||
@ -14,4 +14,10 @@ typedef struct addr_range {
|
|||||||
addr_t size;
|
addr_t size;
|
||||||
} addr_range;
|
} addr_range;
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C"
|
||||||
|
#endif
|
||||||
|
status_t insert_address_range(addr_range *ranges, uint32 *_numRanges, uint32 maxRanges,
|
||||||
|
addr_t start, uint32 size);
|
||||||
|
|
||||||
#endif /* KERNEL_BOOT_ADDR_RANGE_H */
|
#endif /* KERNEL_BOOT_ADDR_RANGE_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user