source: rtems/cpukit/sapi/include/rtems/init.h @ 3235ad9

4.104.114.84.95
Last change on this file since 3235ad9 was 3235ad9, checked in by Joel Sherrill <joel.sherrill@…>, on Aug 23, 1995 at 7:30:23 PM

Support for variable length names added to Object Handler. This supports
both fixed length "raw" names and strings from the API's point of view.

Both inline and macro implementations were tested.

  • Property mode set to 100644
File size: 2.7 KB
Line 
1/*  init.h
2 *
3 *  This include file contains all the constants and structures associated
4 *  with the Initialization Manager.  This manager is responsible for
5 *  initializing RTEMS, creating and starting all configured initialization
6 *  tasks, invoking the initialization routine for each user-supplied device
7 *  driver, and initializing the optional multiprocessor layer.
8 *
9 *  This manager provides directives to:
10 *
11 *     + initialize the RTEMS executive
12 *     + shutdown the RTEMS executive
13 *
14 *
15 *  COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994.
16 *  On-Line Applications Research Corporation (OAR).
17 *  All rights assigned to U.S. Government, 1994.
18 *
19 *  This material may be reproduced by or for the U.S. Government pursuant
20 *  to the copyright license under the clause at DFARS 252.227-7013.  This
21 *  notice must appear in all copies of this file and its derivatives.
22 *
23 *  $Id$
24 */
25
26#ifndef __RTEMS_INIT_h
27#define __RTEMS_INIT_h
28
29#ifdef __cplusplus
30extern "C" {
31#endif
32
33#include <rtems/types.h>
34#include <rtems/config.h>
35#include <rtems/intr.h>
36
37/*
38 *  rtems_initialize_executive
39 *
40 *  DESCRIPTION:
41 *
42 *  This routine implements the rtems_initialize_executive directive.  This
43 *  directive is invoked at system startup to initialize the RTEMS
44 *  multitasking environment.
45 */
46
47void rtems_initialize_executive(
48  rtems_configuration_table *configuration_table,
49  rtems_cpu_table           *cpu_table
50);
51
52/*
53 *  rtems_initialize_executive_early
54 *
55 *  DESCRIPTION:
56 *
57 *  This routine implements the early portion of rtems_initialize_executive
58 *  directive up to the pretasking hook. This directive is invoked at system
59 *  startup to initialize the RTEMS multitasking environment.
60 */
61
62rtems_interrupt_level rtems_initialize_executive_early(
63  rtems_configuration_table *configuration_table,
64  rtems_cpu_table           *cpu_table
65);
66
67/*
68 *  rtems_initialize_executive_late
69 *
70 *  DESCRIPTION:
71 *
72 *  This routine implements the early portion of rtems_initialize_executive
73 *  directive up to the pretasking hook. This directive is invoked at system
74 *  startup to initialize the RTEMS multitasking environment.
75 */
76
77void rtems_initialize_executive_late(
78  rtems_interrupt_level bsp_level
79);
80
81/*
82 *  rtems_shutdown_executive
83 *
84 *  DESCRIPTION:
85 *
86 *  This routine implements the rtems_shutdown_executive directive.  The
87 *  invocation of this directive results in the RTEMS environment being
88 *  shutdown and multitasking halted.  From the application's perspective,
89 *  invocation of this directive results in the rtems_initialize_executive
90 *  directive exitting to the startup code which invoked it.
91 */
92
93void rtems_shutdown_executive(
94  unsigned32 result
95);
96
97#ifdef __cplusplus
98}
99#endif
100
101#endif
102/* end of include file */
Note: See TracBrowser for help on using the repository browser.