pmap_protect(9)

pmap_protect9

Set physical page protection

Usage

#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

pmap_protect(pmap_t pmap, vm_offset_t sva, vm_offset_t eva, vm_prot_t pr);

Overview

The pmap_page_protect() function lowers the physical page permissions to prot for all mappings of a given page m.

The pmap_protect() function sets the physical page permissions to prot for all physical pages in the physical map pmap in the virtual address range between sva and eva.

Authors

This manual page was written by Bruce M Simpson ⟨[email protected]⟩.

From freebsd-manpages 6.0-5 in Debian 4.0 (Etch). Parsed by carta from the page's mdoc source.