2005-11-09 18:14:14 +01:00
|
|
|
#include "syslib.h"
|
|
|
|
|
|
|
|
/*===========================================================================*
|
|
|
|
* sys_enable_iop *
|
|
|
|
*===========================================================================*/
|
2006-03-03 10:44:55 +01:00
|
|
|
PUBLIC int sys_enable_iop(proc_nr_e)
|
|
|
|
int proc_nr_e; /* number of process to allow I/O */
|
2005-11-09 18:14:14 +01:00
|
|
|
{
|
|
|
|
message m_iop;
|
2006-03-03 10:44:55 +01:00
|
|
|
m_iop.IO_ENDPT = proc_nr_e;
|
2005-11-09 18:14:14 +01:00
|
|
|
return _taskcall(SYSTASK, SYS_IOPENABLE, &m_iop);
|
|
|
|
}
|
|
|
|
|
|
|
|
|