the callers stack, as some functions seem to want to do this. */\r
const portBASE_TYPE * const xISRStackTop = &( xISRStack[ configISR_STACK_SIZE - 7 ] );\r
\r
-/* Place the prototype here to ensure the interrupt vector is correctly installed. */\r
+/* \r
+ * Place the prototype here to ensure the interrupt vector is correctly installed. \r
+ * Note that because the interrupt is written in assembly, the IPL setting in the\r
+ * following line of code has no effect. The interrupt priority is set by the\r
+ * call to ConfigIntTimer1() in prvSetupTimerInterrupt(). \r
+ */\r
extern void __attribute__( (interrupt(ipl1), vector(_TIMER_1_VECTOR))) vT1InterruptHandler( void );\r
\r
/*\r
- * The software interrupt handler that performs the yield.\r
+ * The software interrupt handler that performs the yield. Note that, because\r
+ * the interrupt is written in assembly, the IPL setting in the following line of\r
+ * code has no effect. The interrupt priority is set by the call to \r
+ * mConfigIntCoreSW0() in xPortStartScheduler(). \r
*/\r
void __attribute__( (interrupt(ipl1), vector(_CORE_SOFTWARE_0_VECTOR))) vPortYieldISR( void );\r
\r
extern void *pxCurrentTCB;\r
\r
/* Setup the software interrupt. */\r
- mConfigIntCoreSW0( CSW_INT_ON | CSW_INT_PRIOR_1 | CSW_INT_SUB_PRIOR_0 );\r
+ mConfigIntCoreSW0( CSW_INT_ON | configKERNEL_INTERRUPT_PRIORITY | CSW_INT_SUB_PRIOR_0 );\r
\r
/* Setup the timer to generate the tick. Interrupts will have been \r
disabled by the time we get here. */\r