minix/lib/libsys/arch/i386/sys_eniop.c
Thomas Veerman 264c20159d Split libsys in arch dependent parts
The ARM part is not finished yet and will be fixed in a later commit.
2013-01-25 17:07:01 +00:00

14 lines
433 B
C

#include "syslib.h"
/*===========================================================================*
* sys_enable_iop *
*===========================================================================*/
int sys_enable_iop(proc_ep)
endpoint_t proc_ep; /* number of process to allow I/O */
{
message m_iop;
m_iop.IOP_ENDPT = proc_ep;
return _kernel_call(SYS_IOPENABLE, &m_iop);
}