#include <nitro/mi.h>
void MIi_SetCardProcessor( MIProcessor proc )
proc | Setup for access rights |
None.
This function sets up the access rights to the nitro card. The argument proc
is in MIProcessor
enumeration format and has the following meanings:
MI_PROCESSOR_ARM9 |
Sets access permission to ARM9. |
MI_PROCESSOR_ARM7 |
Sets access permission to ARM7. |
Note: Do not use this function as the usual method of setting up access rights. Keep in mind spinLock
in OS_LockCard()
and OS_TryLockCard()
when carrying out the process.
Accesses the EXMEMCNT
I/O register (0x4000204)
.
03/30/2004MI_
" -> "MIi_
".
01/14/2004 Changed function name from MI_SetCartridgePriority
.
12/25/2003 Changed enum
name to MIProcessor
.
12/18/2003 Initial version.