BSP and Device Driver Development Guide
This is the first BSP specific C routine to execute during system initialization. This routine often performs required fundamental hardware initialization such as setting bus controller registers that do not have a direct impact on whether or not C code can execute. The source code for this routine is usually found in the following file:
c/src/lib/libbsp/CPU/BSP/startup/bspstart.c
This routine is also responsible for overriding the default settings in the CPU Configuration Table and setting port specific entries in this table. This may include increasing the maximum number of some types of RTEMS system objects to reflect the needs of the BSP and the base set of device drivers. This routine will typically also install routines for one or more of the following initialization hooks:
One of the most important functions performed by this routine
is determining where the RTEMS Workspace is to be
located in memory. All RTEMS objects and task stacks will be
allocated from this Workspace. The RTEMS Workspace is distinct
from the application heap used for malloc()
. Many BSPs
place the RTEMS Workspace area at the end of RAM although this is
certainly not a requirement.
After completing execution, this routine returns to the
boot_card()
routine.
BSP and Device Driver Development Guide
Copyright © 1988-2007OAR Corporation