Pyrogenesis  13997
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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"

Go to the source code of this file.

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

Definition at line 124 of file wmman.cpp.

unsigned MemoryProtectionFromPosix ( int  prot)

Definition at line 30 of file wmman.cpp.

void* mmap ( void *  start,
size_t  len,
int  prot,
int  flags,
int  fd,
off_t  ofs 
)

Definition at line 202 of file wmman.cpp.

static Status mmap_file ( void *  start,
size_t  len,
int  prot,
int  flags,
int  fd,
off_t  ofs,
void **  pp 
)
static

Definition at line 159 of file wmman.cpp.

static Status mmap_mem ( void *  start,
size_t  len,
int  prot,
int  flags,
int  fd,
void **  pp 
)
static

Definition at line 78 of file wmman.cpp.

int mprotect ( void *  addr,
size_t  len,
int  prot 
)

Definition at line 67 of file wmman.cpp.

int munmap ( void *  start,
size_t  len 
)

Definition at line 222 of file wmman.cpp.