arch/arm/versatilepb/board_initialize.c
/*
 * task_entry_point - a trampoline used to setup task arguments
 */
a trampoline used to setup task arguments
a trampoline used to setup task arguments
void task_entry_point(void)
{
  tcb_t *tcb = sched_get_current_task();
  void **mcu_context = (void **)tcb->mcu_context;
  tcb->entry_point((int)mcu_context[REG_R0], mcu_context[REG_R1]);
}
void task_entry_point ( void ) { tcb_t * tcb = sched_get_current_task ( ) ; void * * mcu_context = ( void * * ) tcb -> mcu_context ; tcb -> entry_point ( ( int ) mcu_context [ REG_R0 ] , mcu_context [ REG_R1 ] ) ; }
task_entry_point - a trampoline used to setup task arguments
task_entry_point - a trampoline used to setup task arguments