pmap_enter(9)
insert a virtual page into a physical map
SYNOPSIS
In sys/param.h
In vm/vm.h
In vm/pmap.h
Ft void
Fo pmap_enter
Fa pmap_t pmap vm_offset_t va vm_page_t p vm_prot_t prot
Fa boolean_t wired
Fc
DESCRIPTION
The
Fn pmap_enter
function inserts the given physical page
Fa p ,
into the physical map
Fa pmap ,
at the virtual address
Fa va ,
with the protection
Fa prot .
If
Fa wired
is
TRUE
then increment the wired count for the page as soon as the mapping
is inserted into
Fa pmap .
IMPLEMENTATION NOTES
This routine MAY NOT lazy-evaluate the entry; it is required by
specification to make the requested entry at the time it is called.