Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
#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"
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) |
|
static |
unsigned MemoryProtectionFromPosix | ( | int | prot | ) |
void * mmap | ( | void * | start, |
size_t | len, | ||
int | prot, | ||
int | flags, | ||
int | fd, | ||
off_t | ofs | ||
) |
|
static |
|
static |
int mprotect | ( | void * | addr, |
size_t | len, | ||
int | prot | ||
) |
int munmap | ( | void * | start, |
size_t | len | ||
) |