SVR5
repinsd(D3)
repinsd --
read 32 bit words from I/O port to buffer
Synopsis
#include <sys/types.h>
#include <sys/ddi.h>
void repinsd(int port, ulong_t *addr, int cnt);
Description
The repinsd function provides a C language interface to the
machine instructions that read
a string of 32 bit words from a 32 bit I/O port
using the I/O address space,
instead of the memory address space.
The data from cnt reads
of the I/O port is stored in the data
buffer pointed to by addr.
Arguments
port-
A valid 32 bit I/O port.
addr-
The address of the buffer where data is stored after cnt
reads of the I/O port.
cnt-
The number of 32 bit words to be read from the I/O port.
Return values
None
Usage
The data buffer should be at least cnt 32 bit words in length.
Context and synchronization
All
contexts.
Hardware applicability
Intel IA-32 compatible platforms
Version applicability
ddi:
1, 2, 3, 4, 5, 5mp, 6, 6mp, 7, 7mp, 7.1, 7.1mp, 8, 8mp
References
inb(D3),
inl(D3),
inw(D3),
outb(D3),
outl(D3),
outw(D3),
repinsb(D3),
repinsw(D3),
repoutsb(D3),
repoutsd(D3),
repoutsw(D3)
``Programmed I/O (PIO)'' in HDK Technical Reference
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005