Uninitialized vector entry?
[minix3.git] / lib / syslib / sys_voutw.c
blob107e2ecde9385ee85ec2b84d6d3588d71cf85caf
1 #include "syslib.h"
4 /*===========================================================================*
5 * sys_voutw *
6 *===========================================================================*/
7 PUBLIC int sys_voutw(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_OUTPUT | _DIO_WORD;
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);