pio_bcopyin(D3X)pio_bcopyin(D3X)NAMEpio_bcopyin - copy data from a bus (I/O) address to kernel's virtual
space
SYNOPSIS
#include <sys/types.h>
#include <sys/ddi.h>
#include <sys/pio.h>
int pio_bcopyin(piomap_t *piomap, iopaddr_t iopaddr, void *kvaddr,
int size, int itmsz, int flag);
Arguments
piomap
The PIO map returned from pio_mapalloc(D3X).
iopaddr
The bus (I/O) address.
kvaddr
The kernel's virtual address.
size The byte count of the transfer.
itmsz
The element size of each read or write on the bus.
flag Currently not used and should be set to zero.
DESCRIPTIONpio_bcopyin copies data from the bus address space to the kernel virtual
address space.
Return Values
The number of bytes transferred.
See Also
pio_mapalloc(D3X), pio_mapfree(D3X), pio_mapaddr(D3X), pio_badaddr(D3X),
pio_wbadaddr(D3X), pio_bcopyout(D3X)
Page 1