38 #ifndef included_vm_unix_h 39 #define included_vm_unix_h 52 flags |= MAP_ANONYMOUS;
55 mmap_addr = mmap (0, size, PROT_READ | PROT_WRITE, flags, -1, 0);
56 if (mmap_addr == (
void *) -1)
78 mmap_addr = mmap (addr, size, PROT_NONE, flags, -1, 0);
79 if (mmap_addr == (
void *) -1)
91 mmap_addr = mmap (addr, size, (PROT_READ | PROT_WRITE), flags, -1, 0);
92 if (mmap_addr == (
void *) -1)
static void * clib_mem_vm_unmap(void *addr, uword size)
static void * clib_mem_vm_map(void *addr, uword size)
static void * clib_mem_vm_alloc(uword size)
static void clib_mem_vm_free(void *addr, uword size)