2005-09-30 14:51:33 +02:00
|
|
|
#include "../syslib/syslib.h"
|
|
|
|
|
|
|
|
/*===========================================================================*
|
|
|
|
* sys_enable_iop *
|
|
|
|
*===========================================================================*/
|
2009-09-22 23:42:02 +02:00
|
|
|
PUBLIC int sys_enable_iop(proc_nr_e)
|
|
|
|
endpoint_t proc_nr_e; /* number of process to allow I/O */
|
2005-09-30 14:51:33 +02:00
|
|
|
{
|
|
|
|
message m_iop;
|
2009-09-22 23:42:02 +02:00
|
|
|
m_iop.IO_ENDPT = proc_nr_e;
|
2005-09-30 14:51:33 +02:00
|
|
|
return _taskcall(SYSTASK, SYS_IOPENABLE, &m_iop);
|
|
|
|
}
|
|
|
|
|
|
|
|
|