minix3/lib/libsys/arch/i386/sys_eniop.c

15 lines
454 B
C
Raw Permalink Normal View History

2020-02-21 00:59:27 +05:30
#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);
}