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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.18.0/] [newlib/] [libc/] [sys/] [linux/] [mmap.c] - Rev 207

Compare with Previous | Blame | View Log

/* libc/sys/linux/mmap.c - Memory mapping functions */
 
/* Copyright 2002, Red Hat Inc. */
 
#include <machine/syscall.h>
 
_syscall6(void *,mmap,void *,addr,size_t,len,int,prot,int,flags,int,fd,off_t,off);
_syscall2(int,munmap,void *,addr,size_t,len);
_syscall1(int,mlockall,int,flags);
_syscall0(int,munlockall);
_syscall2(int,mlock,const void *,addr,size_t,len);
_syscall2(int,munlock,const void *,addr,size_t,len);
_syscall3(int,mprotect,void *,addr,size_t,len,int,prot);
_syscall3(int,msync,void *,addr,size_t,len,int,flags);
_syscall4(void *,mremap,void *,addr,size_t,oldlen,size_t,newlen,int,maymove);
 
weak_alias(__libc_mmap,__mmap)
weak_alias(__libc_munmap,__munmap)
weak_alias(__libc_mremap,__mremap)
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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