sched/os_appstart.c
/*
 * os_appstart - initialize the system applications
 *
 * Assumptions:
 *   This function does not return..
 */
initialize the system applications
Assumptions:
This function does not return
initialize the system applications Assumptions : This function does not return
void os_appstart(void)
{
#ifdef CONFIG_CONSOLE_APP
  sched_create_task(console_main, CONFIG_CONSOLE_STACK_SIZE, 0, NULL, "Console");
#endif
  sched_run();
  assert(false);
}
void os_appstart ( void ) { #ifdef CONFIG_CONSOLE_APP sched_create_task ( console_main , CONFIG_CONSOLE_STACK_SIZE , 0 , NULL , " " ) ; #endif sched_run ( ) ; assert ( false ) ; }
os_appstart - initialize the system applications
 Assumptions:
   This function does not return..
os_appstart - initialize the system applications Assumptions : This function does not return ..
/* Kick off the console application */ /* The scheduler already kicked of the Idle task which is reponsible for
   * manageing the system resources, entering sleep and calling the scheduler
   * code.
   */ /* This function should not return, raise an error.
   * Possible error cases:
   *  - failed to initialize IdleTask
   *  - platform didn't implement cpu_restorecontext/cpu_savecontext
   *  - corrupted memory
  */