Welcome to mirror list, hosted at ThFree Co, Russian Federation.

mmap_alloc.h « local_includes « cygwin « winsup - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 86a42aee1c22c6416da46bef382f89f629dfdf66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "memory_layout.h"

class mmap_allocator
{
  caddr_t mmap_current_low;

public:
  mmap_allocator () : mmap_current_low ((caddr_t) MMAP_STORAGE_HIGH) {}

  PVOID alloc (PVOID in_addr, SIZE_T in_size, bool fixed);
};

extern mmap_allocator mmap_alloc;