RTEMS
|
This group contains directives to initialize and shutdown the RTEMS executive. More...
Files | |
file | init.h |
This header file defines the Initialization Manager API. | |
Functions | |
RTEMS_NO_RETURN void | rtems_initialize_executive (void) |
Initializes the system and starts multitasking. More... | |
RTEMS_NO_RETURN void | rtems_shutdown_executive (uint32_t result) |
Shuts down the RTEMS environment. More... | |
This group contains directives to initialize and shutdown the RTEMS executive.
RTEMS_NO_RETURN void rtems_initialize_executive | ( | void | ) |
Initializes the system and starts multitasking.
Iterates through the system initialization linker set and invokes the registered handlers. The final step is to start multitasking.
This directive should be called by boot_card() only.
This directive does not return to the caller. Errors in the initialization sequence are usually fatal and lead to a system termination.
RTEMS_NO_RETURN void rtems_shutdown_executive | ( | uint32_t | result | ) |
Shuts down the RTEMS environment.
The invocation of this directive results in the RTEMS environment being shutdown and multitasking halted. The system is terminated with a fatal source of RTEMS_FATAL_SOURCE_EXIT and the specified result code.
This directive does not return to the caller.
result | is the result code. |