source: rtems/cpukit/sapi/include/rtems/init.h @ 9e3032f1

4.104.114.84.95
Last change on this file since 9e3032f1 was 8bd41178, checked in by Ralf Corsepius <ralf.corsepius@…>, on 03/29/04 at 16:20:10

2004-03-29 Ralf Corsepius <ralf_corsepius@…>

  • sapi/include/confdefs.h, sapi/include/rtems/config.h, sapi/include/rtems/extension.h, sapi/include/rtems/fatal.h, sapi/include/rtems/init.h, sapi/include/rtems/io.h, sapi/src/exinit.c, sapi/src/extension.c, sapi/src/fatal.c, sapi/src/io.c: Convert to using c99 fixed size types.
  • Property mode set to 100644
File size: 2.8 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-1999.
16 *  On-Line Applications Research Corporation (OAR).
17 *
18 *  The license and distribution terms for this file may be
19 *  found in the file LICENSE in this distribution or at
20 *  http://www.rtems.com/license/LICENSE.
21 *
22 *  $Id$
23 */
24
25#ifndef __RTEMS_INIT_h
26#define __RTEMS_INIT_h
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31
32#include <rtems/rtems/types.h>
33#include <rtems/config.h>
34#include <rtems/rtems/intr.h>
35
36/*
37 *  The following defines the default Multiprocessing Configuration
38 *  Table.  This table is used in a single processor system.
39 */
40
41extern const rtems_multiprocessing_table
42  _Initialization_Default_multiprocessing_table;
43
44/*
45 *  rtems_initialize_executive
46 *
47 *  DESCRIPTION:
48 *
49 *  This routine implements the rtems_initialize_executive directive.  This
50 *  directive is invoked at system startup to initialize the RTEMS
51 *  multitasking environment.
52 */
53
54void rtems_initialize_executive(
55  rtems_configuration_table *configuration_table,
56  rtems_cpu_table           *cpu_table
57);
58
59/*
60 *  rtems_initialize_executive_early
61 *
62 *  DESCRIPTION:
63 *
64 *  This routine implements the early portion of rtems_initialize_executive
65 *  directive up to the pretasking hook. This directive is invoked at system
66 *  startup to initialize the RTEMS multitasking environment.
67 */
68
69rtems_interrupt_level rtems_initialize_executive_early(
70  rtems_configuration_table *configuration_table,
71  rtems_cpu_table           *cpu_table
72);
73
74/*
75 *  rtems_initialize_executive_late
76 *
77 *  DESCRIPTION:
78 *
79 *  This routine implements the early portion of rtems_initialize_executive
80 *  directive up to the pretasking hook. This directive is invoked at system
81 *  startup to initialize the RTEMS multitasking environment.
82 */
83
84void rtems_initialize_executive_late(
85  rtems_interrupt_level bsp_level
86);
87
88/*
89 *  rtems_shutdown_executive
90 *
91 *  DESCRIPTION:
92 *
93 *  This routine implements the rtems_shutdown_executive directive.  The
94 *  invocation of this directive results in the RTEMS environment being
95 *  shutdown and multitasking halted.  From the application's perspective,
96 *  invocation of this directive results in the rtems_initialize_executive
97 *  directive exitting to the startup code which invoked it.
98 */
99
100void rtems_shutdown_executive(
101  uint32_t   result
102);
103
104#ifdef __cplusplus
105}
106#endif
107
108#endif
109/* end of include file */
Note: See TracBrowser for help on using the repository browser.