static void __interrupt __far prvPreemptiveTick( void ) { /* Get the scheduler to update the task states following the tick. */ vTaskIncrementTick(); /* Switch in the context of the next task to be run. */ portSWITCH_CONTEXT(); /* Reset the PIC ready for the next time. */ prvPortResetPIC(); }
static void __interrupt __far prvPreemptiveTick( void ) { /* Get the scheduler to update the task states following the tick. */ vTaskIncrementTick(); /* Switch in the context of the next task to be run. */ portSWITCH_CONTEXT(); /* Reset interrupt. */ outport( portEIO_REGISTER, portCLEAR_INTERRUPT ); }
static void __interrupt __far prvYieldProcessor( void ) { /* Switch in the context of the next task to be run. */ portSWITCH_CONTEXT(); }