hwcpout(D3X)hwcpout(D3X)NAMEhwcpout - copy data to I/O devices using 16-bit writes
SYNOPSIS
#include <sys/types.h>
#include <sys/systm.h>
void hwcpout(caddr_t from, volatile unsigned short *to, int num_bytes);
DESCRIPTIONhwcpout efficiently copies data from main memory to device memory using
only 16-bit writes.
hwcpout is similar to bcopy(D3) in that it does not verify the
accessibility of the memory before attempting the transfer. However,
bcopy attempts to optimize for speed, and can generate 32-bit and 64-bit
writes.
When the device is mapped using a PIO map created with pio_mapalloc(D3X),
use pio_bcopyout(D3X), which allows you to specify the transfer unit
size.
Return Values
None
See Also
bcopy(D3), hwcpin(D3X), pio_bcopyout(D3X).
Page 1