VM: simplify slab allocator
[minix.git] / lib / libsys / sys_voutl.c
blobe56e6aec5debe80be5db3c793daa57472bc61600
1 #include "syslib.h"
3 /*===========================================================================*
4 * sys_voutl *
5 *===========================================================================*/
6 int sys_voutl(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_OUTPUT | _DIO_LONG;
13 m_io.DIO_VEC_ADDR = (char *) pvl_pairs;
14 m_io.DIO_VEC_SIZE = nr_ports;
15 return _kernel_call(SYS_VDEVIO, &m_io);