L4Re - L4 Runtime Environment
L4Re::Vfs::Mman Class Referenceabstract

Interface for the POSIX memory management. More...

#include <vfs.h>

+ Inheritance diagram for L4Re::Vfs::Mman:
+ Collaboration diagram for L4Re::Vfs::Mman:

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.

Detailed Description

Interface for the POSIX memory management.

This interface exists usually as a singleton as superclass of L4Re::Vfs::Ops.

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.

Definition at line 744 of file vfs.h.

The documentation for this class was generated from the following file: