execution context for interrupts
Posted: Sat Aug 13, 2011 8:53 am
Hello all,
I'm currently working on the port of RTEMS (see http://www.rtems.com) on Nintendo DS. RTEMS was already ported using an old version of libnds but is seems to have some bugs. So, I try to figure out what is going on and how I can fix the current version of RTEMS.
It seems that the execution context of the interrupts is not correctly configured in RTEMS. In fact, if an interrupt is triggered, execution is stopped and emulator such as desmume crashes and report an execution error. So, I'm wondering what is the procedure to initialize the interrupt execution context and what is the current configuration within libnds (meaning, how libnds configure the execution context for the interrupt functions - stack, etc ...).
Thanks for any help regarding this topic,
Best,
I'm currently working on the port of RTEMS (see http://www.rtems.com) on Nintendo DS. RTEMS was already ported using an old version of libnds but is seems to have some bugs. So, I try to figure out what is going on and how I can fix the current version of RTEMS.
It seems that the execution context of the interrupts is not correctly configured in RTEMS. In fact, if an interrupt is triggered, execution is stopped and emulator such as desmume crashes and report an execution error. So, I'm wondering what is the procedure to initialize the interrupt execution context and what is the current configuration within libnds (meaning, how libnds configure the execution context for the interrupt functions - stack, etc ...).
Thanks for any help regarding this topic,
Best,