Uninitialized vector entry?
[minix3.git] / lib / syslib / sys_vinw.c
blobc2ba3eeb7a73d10feffc1ca01485640e97bbedde
1 #include "syslib.h"
4 /*===========================================================================*
5 * sys_vinw *
6 *===========================================================================*/
7 PUBLIC int sys_vinw(pvw_pairs, nr_ports)
8 pvw_pair_t *pvw_pairs; /* (port,word-value)-pairs */
9 int nr_ports; /* nr of pairs to be processed */
11 message m_io;
13 m_io.DIO_REQUEST = _DIO_WORD | _DIO_INPUT;
14 m_io.DIO_VEC_ADDR = (char *) pvw_pairs;
15 m_io.DIO_VEC_SIZE = nr_ports;
16 return _taskcall(SYSTASK, SYS_VDEVIO, &m_io);