00001
00008
00009
00010
00011
00012 #ifndef __L4VFS_INCLUDE_MMAP_IO_H_
00013 #define __L4VFS_INCLUDE_MMAP_IO_H_
00014
00015 #include <l4/sys/compiler.h>
00016 #include <l4/l4vfs/mmap-client.h>
00017
00018 EXTERN_C_BEGIN
00019
00020
00021 l4_int32_t l4vfs_mmap1(l4_threadid_t server,
00022 l4dm_dataspace_t *ds,
00023 l4vfs_size_t length,
00024 l4_int32_t prot,
00025 l4_int32_t flags,
00026 object_handle_t fd,
00027 l4vfs_off_t offset);
00028
00029 l4_int32_t l4vfs_msync(l4_threadid_t server,
00030 l4dm_dataspace_t *ds,
00031 l4_addr_t start,
00032 l4vfs_size_t length,
00033 l4_int32_t flags);
00034
00035 l4_int32_t l4vfs_munmap(l4_threadid_t server,
00036 l4dm_dataspace_t *ds,
00037 l4_addr_t start,
00038 l4vfs_size_t length);
00039
00040 EXTERN_C_END
00041
00042 #endif