Rev 1787 | Rev 1867 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1787 | Rev 1866 | ||
---|---|---|---|
Line 30... | Line 30... | ||
30 | * @{ |
30 | * @{ |
31 | */ |
31 | */ |
32 | /** @file |
32 | /** @file |
33 | */ |
33 | */ |
34 | 34 | ||
35 | #include <sys/mman.h> |
35 | #include <sys/mmap.h> |
36 | #include <as.h> |
36 | #include <as.h> |
37 | #include <unistd.h> |
37 | #include <unistd.h> |
38 | 38 | ||
39 | void *mmap(void *start, size_t length, int prot, int flags, int fd, off_t offset) |
39 | void *mmap(void *start, size_t length, int prot, int flags, int fd, off_t offset) |
40 | { |
40 | { |
Line 52... | Line 52... | ||
52 | int munmap(void *start, size_t length) |
52 | int munmap(void *start, size_t length) |
53 | { |
53 | { |
54 | return as_area_destroy(start); |
54 | return as_area_destroy(start); |
55 | } |
55 | } |
56 | 56 | ||
57 | - | ||
58 | /** @} |
57 | /** @} |
59 | */ |
58 | */ |