264c20159d
The ARM part is not finished yet and will be fixed in a later commit.
17 lines
566 B
C
17 lines
566 B
C
#include "syslib.h"
|
|
|
|
/*===========================================================================*
|
|
* sys_vinb *
|
|
*===========================================================================*/
|
|
int sys_vinb(pvb_pairs, nr_ports)
|
|
pvb_pair_t *pvb_pairs; /* (port,byte-value)-pairs */
|
|
int nr_ports; /* nr of pairs to be processed */
|
|
{
|
|
message m_io;
|
|
|
|
m_io.DIO_REQUEST = _DIO_INPUT | _DIO_BYTE;
|
|
m_io.DIO_VEC_ADDR = (char *) pvb_pairs;
|
|
m_io.DIO_VEC_SIZE = nr_ports;
|
|
return _kernel_call(SYS_VDEVIO, &m_io);
|
|
}
|
|
|