diff options
author | David McCullough <davidm@snapgear.com> | 2003-10-14 11:52:32 +0000 |
---|---|---|
committer | David McCullough <davidm@snapgear.com> | 2003-10-14 11:52:32 +0000 |
commit | 94b92c2fab333403aa43fd55ec858fdbf666f8c3 (patch) | |
tree | 10e30871a37756c010dbbb26326bf934ba434552 /libc/sysdeps/linux/microblaze/_mmap.c | |
parent | 34c5a8290b32d93beca6ae8f9c346bbadf408591 (diff) |
Microblaze port from the uClinux-dist,
contributed by John Williams <jwilliams@itee.uq.edu.au>
Diffstat (limited to 'libc/sysdeps/linux/microblaze/_mmap.c')
-rw-r--r-- | libc/sysdeps/linux/microblaze/_mmap.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/microblaze/_mmap.c b/libc/sysdeps/linux/microblaze/_mmap.c new file mode 100644 index 000000000..fbfcca3a8 --- /dev/null +++ b/libc/sysdeps/linux/microblaze/_mmap.c @@ -0,0 +1,9 @@ +/* Use new style mmap for microblaze */ + +#include <unistd.h> +#include <errno.h> +#include <sys/mman.h> +#include <sys/syscall.h> + +_syscall6 (__ptr_t, mmap, __ptr_t, addr, size_t, len, int, prot, + int, flags, int, fd, __off_t, offset); |