RTEMS 6.1-rc1
|
Standard system startup. More...
Files | |
file | bootcard.h |
file | bootcard.c |
file | bspgetworkarea-default.c |
This source file contains the default implementation of _Memory_Get(). | |
Functions | |
void | bsp_start (void) |
void | bsp_reset (void) |
RTEMS_NO_RETURN void | boot_card (const char *cmdline) |
Standard system initialization procedure. More... | |
void | bsp_start_on_secondary_processor (struct Per_CPU_Control *cpu_self) |
Standard start routine for secondary processors. More... | |
Variables | |
const char * | bsp_boot_cmdline |
Global pointer to the command line of boot_card(). | |
Standard system startup.
RTEMS_NO_RETURN void boot_card | ( | const char * | cmdline | ) |
Standard system initialization procedure.
You may pass a command line in cmdline. It is later available via the global bsp_boot_cmdline variable.
This is the C entry point for ALL RTEMS BSPs. It is invoked from the assembly language initialization file usually called start.S
which does the basic CPU setup (stack, C runtime environment, zero BSS, load other sections) and calls afterwards boot_card(). The boot card function provides the framework for the BSP initialization sequence. For the basic flow of initialization see RTEMS C User's Guide, Initialization Manager.
This style of initialization ensures that the C++ global constructors are executed after RTEMS is initialized.
void bsp_start_on_secondary_processor | ( | struct Per_CPU_Control * | cpu_self | ) |
Standard start routine for secondary processors.
This function is usually called by low-level startup code of secondary processors or boot loaders starting a secondary processor. The final step of this function is a call to _SMP_Start_multitasking_on_secondary_processor().