pmap_page_protectpmap_protect
- set physical page protection
SYNOPSIS
#include <sys/param.h>
#include <vm/vm.h>
#include <vm/pmap.h> void
pmap_page_protect (vm_page_t m vm_prot_t prot); void
Fo pmap_protect
Fa pmap_t pmap vm_offset_t sva vm_offset_t eva vm_prot_t pr
Fc
DESCRIPTION
The
pmap_page_protect ();
function lowers the physical page permissions to
Fa prot
for all mappings of a given page
Fa m .
The
pmap_protect ();
function sets the physical page permissions to
Fa prot
for all physical pages in the physical map
Fa pmap
in the virtual address range between
Fa sva
and
Fa eva .