Resurrected sys_eniop.
This commit is contained in:
parent
b85736bd7b
commit
233c092280
14
lib/syslib/sys_eniop.c
Normal file
14
lib/syslib/sys_eniop.c
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
#include "syslib.h"
|
||||||
|
|
||||||
|
/*===========================================================================*
|
||||||
|
* sys_enable_iop *
|
||||||
|
*===========================================================================*/
|
||||||
|
PUBLIC int sys_enable_iop(proc_nr)
|
||||||
|
int proc_nr; /* number of process to allow I/O */
|
||||||
|
{
|
||||||
|
message m_iop;
|
||||||
|
m_iop.PROC_NR = proc_nr;
|
||||||
|
return _taskcall(SYSTASK, SYS_IOPENABLE, &m_iop);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user