RTEMS
Files | Functions
Initialization and Shutdown

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...
 

Detailed Description

This group contains directives to initialize and shutdown the RTEMS executive.

Function Documentation

◆ rtems_initialize_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.

Definition at line 121 of file exinit.c.

◆ rtems_shutdown_executive()

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.

Parameters
resultis the result code.