 |
Index for Section 9r |
|
 |
Alphabetical listing for C |
|
 |
Bottom of page |
|
copy_to_phys(9r)
NAME
copy_to_phys - General: Copies data from a virtual address to a physical
address
SYNOPSIS
void copy_to_phys(
vm_offset_t virt_src,
vm_offset_t phys_dest,
unsigned int bcount );
ARGUMENTS
virt_src
Specifies the virtual address of the data to be copied.
phys_dest
Specifies the physical address to copy the data to.
bcount
Specifies the number of bytes to copy.
DESCRIPTION
The copy_to_phys routine copies a specified amount of virtually addressed
memory to physically addressed memory. The addresses reside only in system
memory space and not in the memory space on I/O buses.
CAUTIONS
If any overlap exists between virt_src and phys_dest, the copy_to_phys
routine panics.
RETURN VALUES
None
SEE ALSO
Routines: copyin(9r), copyout(9r), io_copyin(9r), io_copyio(9r),
io_copyout(9r)
 |
Index for Section 9r |
|
 |
Alphabetical listing for C |
|
 |
Top of page |
|