L4Re - L4 Runtime Environment
|
Interface for the POSIX memory management. More...
#include <vfs.h>
Public Member Functions | |
virtual int | mmap2 (void *start, size_t len, int prot, int flags, int fd, off_t offset, void **ptr)=0 throw () |
Backend for the mmap2 system call. | |
virtual int | munmap (void *start, size_t len)=0 throw () |
Backend for the munmap system call. | |
virtual int | mremap (void *old, size_t old_sz, size_t new_sz, int flags, void **new_addr)=0 throw () |
Backend for the mremap system call. | |
virtual int | mprotect (const void *a, size_t sz, int prot)=0 throw () |
Backend for the mprotect system call. | |
virtual int | msync (void *addr, size_t len, int flags)=0 throw () |
Backend for the msync system call. | |
virtual int | madvise (void *addr, size_t len, int advice)=0 throw () |
Backend for the madvice system call. | |
Interface for the POSIX memory management.
An implementation for this interface is in l4/l4re_vfs/impl/vfs_impl.h and used by the l4re_vfs library or by the VFS implementation in ldso.