VM: full munmap
[minix.git] / lib / libsys / sys_voutw.c
blob6d252720df030c4a313d6e97d121e2cbf72bc273
1 #include "syslib.h"
4 /*===========================================================================*
5 * sys_voutw *
6 *===========================================================================*/
7 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 _kernel_call(SYS_VDEVIO, &m_io);