minix/lib/libsys/arch/i386/sys_eniop.c
Lionel Sambuc 05f155c0a9 Message type for SYS_IOPENABLE
Change-Id: I8b089c30c7f9ae75e404f63495bbb199d583f1cd
2014-07-28 17:05:47 +02:00

14 lines
454 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.m_lsys_krn_sys_iopenable.endpt = proc_ep;
return _kernel_call(SYS_IOPENABLE, &m_iop);
}