pmap_enter9
Insert a virtual page into a physical map
Usage
#include <sys/param.h>
#include <vm/vm.h>
#include <vm/pmap.h>
void
pmap_enter(pmap_t pmap, vm_offset_t va, vm_page_t p, vm_prot_t prot, boolean_t wired);
Overview
The pmap_enter() function inserts the given physical page p, into the physical map pmap, at the virtual address va, with the protection prot. If wired is TRUE, then increment the wired count for the page as soon as the mapping is inserted into 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.