RTEMS  5.0.0
Functions
init.h File Reference

Constants and Structures Associated with the Initialization Manager. More...

#include <rtems/rtems/types.h>
#include <rtems/config.h>
#include <rtems/rtems/intr.h>

Go to the source code of this file.

Functions

void rtems_initialize_executive (void) RTEMS_NO_RETURN
 Initializes the system and starts multitasking. More...
 
void rtems_shutdown_executive (uint32_t result) RTEMS_NO_RETURN
 Shutdown the RTEMS environment. More...
 

Detailed Description

Constants and Structures Associated with the Initialization Manager.

This include file contains all the constants and structures associated with the Initialization Manager. This manager is responsible for initializing RTEMS, creating and starting all configured initialization tasks, invoking the initialization routine for each user-supplied device driver, and initializing the optional multiprocessor layer.

This manager provides directives to:

Function Documentation

◆ rtems_initialize_executive()

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.

◆ rtems_shutdown_executive()

void rtems_shutdown_executive ( uint32_t  result)

Shutdown the RTEMS environment.

This routine implements the rtems_shutdown_executive directive. 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.