void virtmemUnlock(void)
Unlocks the virtual memory manager mutex.
void * virtmemFindCodeMemory(size_t size, size_t guard_size)
Finds a random slice of free code memory address space.
void virtmemRemoveReservation(VirtmemReservation *rv)
Releases a memory address space reservation.
VirtmemReservation * virtmemAddReservation(void *mem, size_t size)
Reserves a range of memory address space.
void * virtmemFindStack(size_t size, size_t guard_size)
Finds a random slice of free stack address space.
void * virtmemFindAslr(size_t size, size_t guard_size)
Finds a random slice of free general purpose address space.
void virtmemLock(void)
Locks the virtual memory manager mutex.
struct VirtmemReservation VirtmemReservation
Address space reservation type (see virtmemAddReservation)
Definition: virtmem.h:11