BSP and Device Driver Development Guide
This section describes the steps an application goes through from the time the first BSP code is executed until the first application task executes. The following figure illustrates the program flow during this sequence:
The above figure illustrates the flow from assembly language start code
to the shared bootcard.c
framework then through the C Library,
RTEMS, device driver initialization phases, and the context switch
to the first application task. After this, the application executes
until it calls exit
, rtems_shutdown_executive
, or some
other normal termination initiating routine and control is returned
to bootcard.c
which allows the BSP to perform some clanup in C
(bsp_cleanup
) and then boot_card
returns to the assembly
language which initially invoked it.
The routines invoked during this will be discussed and their location in the RTEMS source tree pointed out as we discuss each.
BSP and Device Driver Development Guide
Copyright © 1988-2008 OAR Corporation