Files
rtems/cpukit/sapi/include/rtems/init.h
T
Joel Sherrill 3a4ae6c210 The word "RTEMS" almost completely removed from the core.
Configuration Table Template file added and all tests
modified to use this.  All gvar.h and conftbl.h files
removed from test directories.

Configuration parameter maximum_devices added.

Core semaphore and mutex handlers added and RTEMS API Semaphore
Manager updated to reflect this.

Initialization sequence changed to invoke API specific initialization
routines.  Initialization tasks table now owned by RTEMS Tasks Manager.

Added user extension for post-switch.

Utilized user extensions to implement API specific functionality
like signal dispatching.

Added extensions to the System Initialization Thread so that an
API can register a function to be invoked while the system
is being initialized.  These are largely equivalent to the
pre-driver and post-driver hooks.

Added the Modules file oar-go32_p5, modified oar-go32, and modified
the file make/custom/go32.cfg to look at an environment varable which
determines what CPU model is being used.

All BSPs updated to reflect named devices and clock driver's IOCTL
used by the Shared Memory Driver.  Also merged clock isr into
main file and removed ckisr.c where possible.

Updated spsize to reflect new and moved variables.

Makefiles for the executive source and include files updated to show
break down of files into Core, RTEMS API, and Neither.

Header and inline files installed into subdirectory based on whether
logically in the Core or a part of the RTEMS API.
1995-09-11 19:35:39 +00:00

111 lines
2.9 KiB
C

/* init.h
*
* 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:
*
* + initialize the RTEMS executive
* + shutdown the RTEMS executive
*
*
* COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994.
* On-Line Applications Research Corporation (OAR).
* All rights assigned to U.S. Government, 1994.
*
* This material may be reproduced by or for the U.S. Government pursuant
* to the copyright license under the clause at DFARS 252.227-7013. This
* notice must appear in all copies of this file and its derivatives.
*
* $Id$
*/
#ifndef __RTEMS_INIT_h
#define __RTEMS_INIT_h
#ifdef __cplusplus
extern "C" {
#endif
#include <rtems/rtems/types.h>
#include <rtems/config.h>
#include <rtems/rtems/intr.h>
/*
* The following defines the default Multiprocessing Configuration
* Table. This table is used in a single processor system.
*/
extern const rtems_multiprocessing_table
_Initialization_Default_multiprocessing_table;
/*
* rtems_initialize_executive
*
* DESCRIPTION:
*
* This routine implements the rtems_initialize_executive directive. This
* directive is invoked at system startup to initialize the RTEMS
* multitasking environment.
*/
void rtems_initialize_executive(
rtems_configuration_table *configuration_table,
rtems_cpu_table *cpu_table
);
/*
* rtems_initialize_executive_early
*
* DESCRIPTION:
*
* This routine implements the early portion of rtems_initialize_executive
* directive up to the pretasking hook. This directive is invoked at system
* startup to initialize the RTEMS multitasking environment.
*/
rtems_interrupt_level rtems_initialize_executive_early(
rtems_configuration_table *configuration_table,
rtems_cpu_table *cpu_table
);
/*
* rtems_initialize_executive_late
*
* DESCRIPTION:
*
* This routine implements the early portion of rtems_initialize_executive
* directive up to the pretasking hook. This directive is invoked at system
* startup to initialize the RTEMS multitasking environment.
*/
void rtems_initialize_executive_late(
rtems_interrupt_level bsp_level
);
/*
* rtems_shutdown_executive
*
* DESCRIPTION:
*
* This routine implements the rtems_shutdown_executive directive. The
* invocation of this directive results in the RTEMS environment being
* shutdown and multitasking halted. From the application's perspective,
* invocation of this directive results in the rtems_initialize_executive
* directive exitting to the startup code which invoked it.
*/
void rtems_shutdown_executive(
unsigned32 result
);
#ifdef __cplusplus
}
#endif
#endif
/* end of include file */