OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [newlib-1.17.0/] [newlib/] [libc/] [sys/] [linux/] [mmap.c] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 148 jeremybenn
/* libc/sys/linux/mmap.c - Memory mapping functions */
2
 
3
/* Copyright 2002, Red Hat Inc. */
4
 
5
#include <machine/syscall.h>
6
 
7
_syscall6(void *,mmap,void *,addr,size_t,len,int,prot,int,flags,int,fd,off_t,off);
8
_syscall2(int,munmap,void *,addr,size_t,len);
9
_syscall1(int,mlockall,int,flags);
10
_syscall0(int,munlockall);
11
_syscall2(int,mlock,const void *,addr,size_t,len);
12
_syscall2(int,munlock,const void *,addr,size_t,len);
13
_syscall3(int,mprotect,void *,addr,size_t,len,int,prot);
14
_syscall3(int,msync,void *,addr,size_t,len,int,flags);
15
_syscall4(void *,mremap,void *,addr,size_t,oldlen,size_t,newlen,int,maymove);
16
 
17
weak_alias(__libc_mmap,__mmap)
18
weak_alias(__libc_munmap,__munmap)
19
weak_alias(__libc_mremap,__mremap)

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.