Pyrogenesis  trunk
Functions
wmman.cpp File Reference
#include "precompiled.h"
#include "lib/sysdep/os/win/wposix/wmman.h"
#include "lib/sysdep/os/win/wposix/wposix_internal.h"
#include "lib/sysdep/os/win/wposix/crt_posix.h"
Include dependency graph for wmman.cpp:

Functions

unsigned MemoryProtectionFromPosix (int prot)
 
int mprotect (void *addr, size_t len, int prot)
 
static Status mmap_mem (void *start, size_t len, int prot, int flags, int fd, void **pp)
 
static Status DecodeFlags (int prot, int flags, DWORD &protect, DWORD &access)
 
static Status mmap_file (void *start, size_t len, int prot, int flags, int fd, off_t ofs, void **pp)
 
void * mmap (void *start, size_t len, int prot, int flags, int fd, off_t ofs)
 
int munmap (void *start, size_t len)
 

Function Documentation

static Status DecodeFlags ( int  prot,
int  flags,
DWORD protect,
DWORD access 
)
static
unsigned MemoryProtectionFromPosix ( int  prot)
void* mmap ( void *  start,
size_t  len,
int  prot,
int  flags,
int  fd,
off_t  ofs 
)
static Status mmap_file ( void *  start,
size_t  len,
int  prot,
int  flags,
int  fd,
off_t  ofs,
void **  pp 
)
static
static Status mmap_mem ( void *  start,
size_t  len,
int  prot,
int  flags,
int  fd,
void **  pp 
)
static
int mprotect ( void *  addr,
size_t  len,
int  prot 
)
int munmap ( void *  start,
size_t  len 
)