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

  man pages->FreeBSD man pages -> pmap_copy (9)              
Title
Content
Arch
Section
 

PMAP_COPY(9)

Contents


NAME    [Toc]    [Back]

     pmap_copy, pmap_copy_page -- copy physical memory pages

SYNOPSIS    [Toc]    [Back]

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

     void
     pmap_copy(pmap_t dst_pmap, pmap_t src_pmap, vm_offset_t dst_addr,
	 vm_size_t len, vm_offset_t src_addr);

     void
     pmap_copy_page(vm_page_t src, vm_page_t dst);

DESCRIPTION    [Toc]    [Back]

     The pmap_copy() function copies the range specified by src_addr and len
     from the source physical map src_pmap to the destination physical map
     dst_pmap at the address dst_addr.

     The pmap_copy_page() function copies the physical page src to the physical
 page dst, by mapping the page into kernel virtual address space
     (KVA), and using bcopy() to copy the page.

IMPLEMENTATION NOTES    [Toc]    [Back]

     The pmap_copy() routine is only advisory and need not do anything.  Actually
 implementing it may seriously reduce system performance.

     The pmap_copy_page() routine only operates upon a single page.

SEE ALSO    [Toc]    [Back]

      
      
     bcopy(3), pmap(9)

AUTHORS    [Toc]    [Back]

     This manual page was written by Bruce M Simpson <[email protected]>.


				 July 21, 2003
[ Back ]
 Similar pages
Name OS Title
mlock OpenBSD lock (unlock) physical pages in memory
munlock NetBSD lock (unlock) physical pages in memory
mlock NetBSD lock (unlock) physical pages in memory
munlock FreeBSD lock (unlock) physical pages in memory
munlock OpenBSD lock (unlock) physical pages in memory
mlock FreeBSD lock (unlock) physical pages in memory
pmap_remove_all FreeBSD remove pages from a physical map
pmap_clear_reference FreeBSD set information about physical pages
pmap_remove_pages FreeBSD remove pages from a physical map
pmap_remove FreeBSD remove pages from a physical map
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service