Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pmap_set_modify(9r) [osf1 man page]

pmap_set_modify(9r)													       pmap_set_modify(9r)

NAME
pmap_set_modify - General: Sets the modify bits of the specified physical page SYNOPSIS
void pmap_set_modify( vm_offset_t phys_page ); ARGUMENTS
Specifies the physical page that was previously modified. DESCRIPTION
The pmap_set_modify routine informs the pmap module that the specified physical page was modified through a back-door mechanism. RETURN VALUES
None SEE ALSO
Routines: pmap_extract(9r), pmap_kernel(9r) pmap_set_modify(9r)

Check Out this Related Man Page

PMAP_EXTRACT(9) 					   BSD Kernel Developer's Manual					   PMAP_EXTRACT(9)

NAME
pmap_extract, pmap_extract_and_hold -- map a virtual address to a physical page SYNOPSIS
#include <sys/param.h> #include <vm/vm.h> #include <vm/pmap.h> vm_paddr_t pmap_extract(pmap_t pmap, vm_offset_t va); vm_paddr_t pmap_extract_and_hold(pmap_t pmap, vm_offset_t va, vm_prot_t prot); DESCRIPTION
The pmap_extract() function maps a virtual address to a physical page. In certain situations, callers may use pmap_extract_and_hold() instead, to ensure that the returned page is held. The pmap_extract_and_hold() function maps a virtual address to a physical page, and atomically holds the returned page for use by the caller, only if the mapping permits the given page protection. IMPLEMENTATION NOTES
Currently, the page protection requested by the caller is not verified. RETURN VALUES
The pmap_extract() function will return the physical page address associated with the virtual address va inside the physical map pmap. If the mapping does not exist, or if the pmap parameter is NULL, then NULL will be returned. The pmap_extract_and_hold() function will return the physical page address associated with the virtual address va inside the physical map pmap. If the mapping does not exist, the result is a no-op, and NULL will be returned. SEE ALSO
mutex(9), pmap(9) AUTHORS
The pmap_extract_and_hold() function was implemented by Alan L. Cox <alc@imimic.com>. This manual page was written by Bruce M Simpson <bms@spc.org>. BSD
July 21, 2003 BSD
Man Page

We Also Found This Discussion For You

1. What is on Your Mind?

Throw my Toys out of the Pram!

Hi Folks, Today hasn't been the best one of my career in IT. I've been a contractor for a major utility company for a number of years, on a number of seperate IT contracts mostly Unix. The company had 10 different flavours of unix and multiple different varsions of most of them. At the... (3 Replies)
Discussion started by: gull04
3 Replies