pmap_enter
- insert a virtual page into a physical map
SYNOPSIS
#include <sys/param.h>
#include <vm/vm.h>
#include <vm/pmap.h> 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
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.