2005-04-21 16:53:53 +02:00
|
|
|
#include "syslib.h"
|
|
|
|
|
|
|
|
/*===========================================================================*
|
|
|
|
* sys_voutb *
|
|
|
|
*===========================================================================*/
|
|
|
|
PUBLIC int sys_voutb(pvb_pairs, nr_ports)
|
|
|
|
pvb_pair_t *pvb_pairs; /* (port,byte-value)-pairs */
|
|
|
|
int nr_ports; /* nr of pairs to be processed */
|
|
|
|
{
|
|
|
|
message m_io;
|
2006-06-20 10:45:04 +02:00
|
|
|
m_io.DIO_REQUEST = _DIO_OUTPUT | _DIO_BYTE;
|
2005-04-21 16:53:53 +02:00
|
|
|
m_io.DIO_VEC_ADDR = (char *) pvb_pairs;
|
|
|
|
m_io.DIO_VEC_SIZE = nr_ports;
|
2010-02-09 16:20:09 +01:00
|
|
|
return _kernel_call(SYS_VDEVIO, &m_io);
|
2005-04-21 16:53:53 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|