pmap_copy.9freebsd

Langue: en

Version: 306228 (debian - 07/07/09)

Section: 9 (Appels noyau Linux)


BSD mandoc

NAME

pmap_copy pmap_copy_page - copy physical memory pages

SYNOPSIS

In sys/param.h In vm/vm.h In vm/pmap.h Ft void Fo pmap_copy Fa pmap_t dst_pmap pmap_t src_pmap vm_offset_t dst_addr Fa vm_size_t len vm_offset_t src_addr Fc Ft void Fn pmap_copy_page vm_page_t src vm_page_t dst

DESCRIPTION

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

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

IMPLEMENTATION NOTES

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

The Fn pmap_copy_page routine only operates upon a single page.

SEE ALSO

bcopy(3), pmap(9)

AUTHORS

This manual page was written by An Bruce M Simpson Aq bms@spc.org .