Uninitialized vector entry?
[minix3.git] / lib / syslib / sys_vinl.c
blob1649a76e30552fd11993ff492264c95e005fa95e
1 #include "syslib.h"
3 /*===========================================================================*
4 * sys_vinl *
5 *===========================================================================*/
6 PUBLIC int sys_vinl(pvl_pairs, nr_ports)
7 pvl_pair_t *pvl_pairs; /* (port,long-value)-pairs */
8 int nr_ports; /* nr of pairs to be processed */
10 message m_io;
12 m_io.DIO_REQUEST = _DIO_INPUT | _DIO_LONG;
13 m_io.DIO_VEC_ADDR = (char *) pvl_pairs;
14 m_io.DIO_VEC_SIZE = nr_ports;
15 return _taskcall(SYSTASK, SYS_VDEVIO, &m_io);