vm_map_create(9)

vm_map_create9

Create a new vm_map structure

Usage

#include <sys/param.h>

#include <vm/vm.h>

#include <vm/vm_map.h>

vm_map_t

vm_map_create(pmap_t pmap, vm_offset_t min, vm_offset_t max);

Overview

The vm_map_create() function creates and returns a new, empty map structure, associated with the physical map pmap, and with the upper and lower address bounds specified by max and min respectively.

Implementation notes

The kernel's zone allocator is used to allocate the map.

Return values

The vm_map_create() function returns a pointer to the newly allocated map if successful. Otherwise, it returns NULL.

Authors

This manual page was written by Bruce M Simpson ⟨[email protected]⟩.

From freebsd-manpages 6.0-5 in Debian 4.0 (Etch). Parsed by carta from the page's mdoc source.