2 * Copyright 2004-2006, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3 * Copyright 2002/03, Thomas Kurschel. All rights reserved.
5 * Distributed under the terms of the MIT License.
9 Functions that are missing in kernel.
12 #ifndef _KERNEL_EXPORT_EXT_H
13 #define _KERNEL_EXPORT_EXT_H
16 #include <sys/cdefs.h>
18 #include <KernelExport.h>
25 // get memory map of iovec
26 status_t
get_iovec_memory_map(
27 iovec
*vec
, // iovec to analyze
28 size_t vec_count
, // number of entries in vec
29 size_t vec_offset
, // number of bytes to skip at beginning of vec
30 size_t len
, // number of bytes to analyze
31 physical_entry
*map
, // resulting memory map
32 size_t max_entries
, // max number of entries in map
33 size_t *num_entries
, // actual number of map entries used
34 size_t *mapped_len
// actual number of bytes described by map