*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> pmap_page_protect (9)              



NAME    [Toc]    [Back]

     pmap_page_protect, pmap_protect -- set physical page protection

SYNOPSIS    [Toc]    [Back]

     #include <sys/param.h>
     #include <vm/vm.h>
     #include <vm/pmap.h>

     pmap_page_protect(vm_page_t m, vm_prot_t prot);

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

DESCRIPTION    [Toc]    [Back]

     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.

SEE ALSO    [Toc]    [Back]


AUTHORS    [Toc]    [Back]

     This manual page was written by Bruce M Simpson <bms@spc.org>.

				 July 21, 2003
[ Back ]
 Similar pages
Name OS Title
pmap_extract FreeBSD map a virtual address to a physical page
pmap_enter FreeBSD insert a virtual page into a physical map
pmap_page_exists_quick FreeBSD determine if a page exists in a physical map
pmap_extract_and_hold FreeBSD map a virtual address to a physical page
cr_isaddr HP-UX validate whether physical page number was dumped
pmap_extract Tru64 General: Extracts a physical page address
pmap_set_modify Tru64 General: Sets the modify bits of the specified physical page
pvmove HP-UX move allocated physical extents from one LVM physical volume to other physical volumes
vm_page_protect FreeBSD lower a page's protection
mprotect IRIX set protection of memory mapping
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service