_Context_Switch call

Ahmet Akkas akkas at lucent.com
Mon Aug 28 15:31:29 UTC 2000


Could you please tell me why Context Switch routine is called at 
the beginning of the multitasking? The following is the sequence 
of the calls until _Context_Switch() is called. Thanks in advance.

in  ...(board)/startup/main.c
    rtems_initialize_executive_late( bsp_isr_level );

in .../exec/sapi/src/exinit.c

in .../exec/score/src/threadstartmultitasking.c
    _Context_Switch( &_Thread_BSP_context, &_Thread_Heir->Registers );


More information about the users mailing list