Changeset 2463df9 in mainline
- Timestamp:
- 2014-02-11T04:38:26Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 89dcf93
- Parents:
- b6e481b
- Location:
- uspace
- Files:
-
- 1 deleted
- 8 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/block/block.c
rb6e481b r2463df9 40 40 #include <ipc/services.h> 41 41 #include <errno.h> 42 #include <sys/mman.h>43 42 #include <async.h> 44 43 #include <as.h> -
uspace/lib/c/Makefile
rb6e481b r2463df9 131 131 generic/time.c \ 132 132 generic/stdlib.c \ 133 generic/mman.c \134 133 generic/udebug.c \ 135 134 generic/vfs/vfs.c \ -
uspace/lib/drv/generic/remote_audio_pcm.c
rb6e481b r2463df9 38 38 #include <macros.h> 39 39 #include <str.h> 40 #include < sys/mman.h>40 #include <as.h> 41 41 42 42 #include "audio_pcm_iface.h" -
uspace/lib/posix/Makefile
rb6e481b r2463df9 73 73 source/string.c \ 74 74 source/strings.c \ 75 source/sys/mman.c \ 75 76 source/sys/stat.c \ 76 77 source/sys/wait.c \ -
uspace/lib/posix/include/posix/sys/mman.h
rb6e481b r2463df9 40 40 #endif 41 41 42 #include " sys/types.h"42 #include "types.h" 43 43 #include <abi/mm/as.h> 44 44 … … 60 60 #define PROT_EXEC AS_AREA_EXEC 61 61 62 extern void *mmap(void *start, size_t length, int prot, int flags, int fd, 62 extern void * 63 __POSIX_DEF__(mmap)(void *start, size_t length, int prot, int flags, int fd, 63 64 __POSIX_DEF__(off_t) offset); 64 extern int munmap(void *start, size_t length);65 extern int __POSIX_DEF__(munmap)(void *start, size_t length); 65 66 66 67 -
uspace/lib/posix/source/sys/mman.c
rb6e481b r2463df9 27 27 */ 28 28 29 /** @addtogroup lib c29 /** @addtogroup libposix 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #include <sys/mman.h> 36 #include <sys/types.h> 37 #include <as.h> 38 #include <unistd.h> 35 #define LIBPOSIX_INTERNAL 36 #define __POSIX_DEF__(x) posix_##x 39 37 40 void *mmap(void *start, size_t length, int prot, int flags, int fd, 41 aoff64_t offset) 38 #include "../internal/common.h" 39 #include <posix/sys/mman.h> 40 #include <posix/sys/types.h> 41 #include <libc/as.h> 42 #include <posix/unistd.h> 43 44 void *posix_mmap(void *start, size_t length, int prot, int flags, int fd, 45 __POSIX_DEF__(off_t) offset) 42 46 { 43 47 if (!start) … … 53 57 } 54 58 55 int munmap(void *start, size_t length)59 int posix_munmap(void *start, size_t length) 56 60 { 57 61 return as_area_destroy(start); -
uspace/srv/fs/exfat/exfat_ops.c
rb6e481b r2463df9 58 58 #include <assert.h> 59 59 #include <fibril_synch.h> 60 #include <sys/mman.h>61 60 #include <align.h> 62 61 #include <malloc.h> -
uspace/srv/fs/fat/fat_ops.c
rb6e481b r2463df9 55 55 #include <assert.h> 56 56 #include <fibril_synch.h> 57 #include <sys/mman.h>58 57 #include <align.h> 59 58 #include <malloc.h> -
uspace/srv/fs/udf/udf_ops.c
rb6e481b r2463df9 50 50 #include <assert.h> 51 51 #include <fibril_synch.h> 52 #include <sys/mman.h>53 52 #include <align.h> 54 53 #include <malloc.h>
Note:
See TracChangeset
for help on using the changeset viewer.