pmap_pinit, pmap_pinit0, pmap_pinit2 -- initialize pmap structures
#include <sys/param.h>
#include <vm/vm.h>
#include <vm/pmap.h>
void
pmap_pinit(pmap_t pmap);
void
pmap_pinit0(pmap_t pm);
void
pmap_pinit2(pmap_t pmap);
The pmap_pinit() function initializes the preallocated and zeroed structure
pmap, such as one in a vmspace structure.
The pmap_pinit0() function initializes the physical map pm, associated
with process 0, the first process created in the system.
The pmap_pinit2() function wires in kernel global address entries for the
physical map pmap, which must be associated with a user process. It is
called during process creation.
To avoid a race condition between pmap intialization and
pmap_growkernel(), pmap_pinit2() should be called after the vmspace is
attached to the process but before this pmap is activated.
The pmap_pinit2() function has been deprecated, and should be implemented
as a stub until further notice.
pmap(9), pmap_growkernel(9)
This manual page was written by Bruce M Simpson <[email protected]>.
July 21, 2003 [ Back ] |