Writing Device Drivers

Resource Map Management Functions

The resource map management functions are:

rmallocmap()

Allocate a resource map

rmallocmap_wait()

Allocate a resource map, wait if necessary

rmfreemap()

Free a resource map

rmalloc()

Allocate space from a resource map

rmalloc_wait()

Allocate space from a resource map, wait if necessary

rmfree()

Free space back into a resource map