36#ifndef _RTEMS_SYSINIT_H
37#define _RTEMS_SYSINIT_H
61#define _RTEMS_SYSINIT_INDEX_ITEM( handler, index ) \
62 enum { _Sysinit_##handler = index }; \
63 RTEMS_LINKER_ROSET_ITEM_ORDERED( \
79#define _RTEMS_SYSINIT_ITEM( handler, module, order ) \
80 _RTEMS_SYSINIT_INDEX_ITEM( handler, 0x##module##order )
98#define RTEMS_SYSINIT_RECORD 000100
99#define RTEMS_SYSINIT_BSP_EARLY 000140
100#define RTEMS_SYSINIT_MEMORY 000180
101#define RTEMS_SYSINIT_DIRTY_MEMORY 0001c0
102#define RTEMS_SYSINIT_ZERO_MEMORY 0001e0
103#define RTEMS_SYSINIT_ISR_STACK 000200
104#define RTEMS_SYSINIT_PER_CPU_DATA 000220
105#define RTEMS_SYSINIT_SBRK 000240
106#define RTEMS_SYSINIT_STACK_ALLOCATOR 000250
107#define RTEMS_SYSINIT_WORKSPACE 000260
108#define RTEMS_SYSINIT_MALLOC 000280
109#define RTEMS_SYSINIT_BSP_START 000300
110#define RTEMS_SYSINIT_CPU_COUNTER 000400
111#define RTEMS_SYSINIT_TARGET_HASH 000480
112#define RTEMS_SYSINIT_INITIAL_EXTENSIONS 000500
113#define RTEMS_SYSINIT_MP_EARLY 000600
114#define RTEMS_SYSINIT_DATA_STRUCTURES 000700
115#define RTEMS_SYSINIT_SCHEDULER 000780
116#define RTEMS_SYSINIT_MP 000800
117#define RTEMS_SYSINIT_USER_EXTENSIONS 000900
118#define RTEMS_SYSINIT_CLASSIC_TASKS 000a00
119#define RTEMS_SYSINIT_CLASSIC_TASKS_MP 000a80
120#define RTEMS_SYSINIT_CLASSIC_TIMER 000b00
121#define RTEMS_SYSINIT_CLASSIC_SIGNAL_MP 000c00
122#define RTEMS_SYSINIT_CLASSIC_EVENT_MP 000d00
123#define RTEMS_SYSINIT_CLASSIC_MESSAGE_QUEUE 000e00
124#define RTEMS_SYSINIT_CLASSIC_MESSAGE_QUEUE_MP 000e80
125#define RTEMS_SYSINIT_CLASSIC_SEMAPHORE 000f00
126#define RTEMS_SYSINIT_CLASSIC_SEMAPHORE_MP 000f80
127#define RTEMS_SYSINIT_CLASSIC_PARTITION 001000
128#define RTEMS_SYSINIT_CLASSIC_PARTITION_MP 001080
129#define RTEMS_SYSINIT_CLASSIC_REGION 001100
130#define RTEMS_SYSINIT_CLASSIC_DUAL_PORTED_MEMORY 001200
131#define RTEMS_SYSINIT_CLASSIC_RATE_MONOTONIC 001300
132#define RTEMS_SYSINIT_CLASSIC_BARRIER 001400
133#define RTEMS_SYSINIT_POSIX_SIGNALS 001500
134#define RTEMS_SYSINIT_POSIX_THREADS 001600
135#define RTEMS_SYSINIT_POSIX_MESSAGE_QUEUE 001700
136#define RTEMS_SYSINIT_POSIX_SEMAPHORE 001800
137#define RTEMS_SYSINIT_POSIX_TIMER 001900
138#define RTEMS_SYSINIT_POSIX_SHM 001a00
139#define RTEMS_SYSINIT_POSIX_KEYS 001b00
140#define RTEMS_SYSINIT_POSIX_CLEANUP 001c00
141#define RTEMS_SYSINIT_IDLE_THREADS 001d00
142#define RTEMS_SYSINIT_LIBIO 001e00
143#define RTEMS_SYSINIT_USER_ENVIRONMENT 001e80
144#define RTEMS_SYSINIT_ROOT_FILESYSTEM 001f00
145#define RTEMS_SYSINIT_DRVMGR 002000
146#define RTEMS_SYSINIT_MP_SERVER 002100
147#define RTEMS_SYSINIT_BSP_PRE_DRIVERS 002200
148#define RTEMS_SYSINIT_DRVMGR_LEVEL_1 002300
149#define RTEMS_SYSINIT_DEVICE_DRIVERS 002400
150#define RTEMS_SYSINIT_DRVMGR_LEVEL_2 002500
151#define RTEMS_SYSINIT_DRVMGR_LEVEL_3 002600
152#define RTEMS_SYSINIT_DRVMGR_LEVEL_4 002700
153#define RTEMS_SYSINIT_MP_FINALIZE 002800
154#define RTEMS_SYSINIT_CLASSIC_USER_TASKS 002900
155#define RTEMS_SYSINIT_POSIX_USER_THREADS 002a00
156#define RTEMS_SYSINIT_STD_FILE_DESCRIPTORS 002b00
157#define RTEMS_SYSINIT_LAST ffffff
164#define RTEMS_SYSINIT_ORDER_FIRST 00
165#define RTEMS_SYSINIT_ORDER_SECOND 01
166#define RTEMS_SYSINIT_ORDER_THIRD 02
167#define RTEMS_SYSINIT_ORDER_FOURTH 03
168#define RTEMS_SYSINIT_ORDER_FIFTH 04
169#define RTEMS_SYSINIT_ORDER_SIXTH 05
170#define RTEMS_SYSINIT_ORDER_SEVENTH 06
171#define RTEMS_SYSINIT_ORDER_EIGHTH 07
172#define RTEMS_SYSINIT_ORDER_NINETH 08
173#define RTEMS_SYSINIT_ORDER_TENTH 09
174#define RTEMS_SYSINIT_ORDER_MIDDLE 80
175#define RTEMS_SYSINIT_ORDER_LAST_BUT_9 f6
176#define RTEMS_SYSINIT_ORDER_LAST_BUT_8 f7
177#define RTEMS_SYSINIT_ORDER_LAST_BUT_7 f8
178#define RTEMS_SYSINIT_ORDER_LAST_BUT_6 f9
179#define RTEMS_SYSINIT_ORDER_LAST_BUT_5 fa
180#define RTEMS_SYSINIT_ORDER_LAST_BUT_4 fb
181#define RTEMS_SYSINIT_ORDER_LAST_BUT_3 fc
182#define RTEMS_SYSINIT_ORDER_LAST_BUT_2 fd
183#define RTEMS_SYSINIT_ORDER_LAST_BUT_1 fe
184#define RTEMS_SYSINIT_ORDER_LAST ff
186typedef void ( *rtems_sysinit_handler )( void );
189 rtems_sysinit_handler handler;
204#define RTEMS_SYSINIT_ITEM( handler, module, order ) \
205 _RTEMS_SYSINIT_ITEM( handler, module, order )
void _Sysinit_Verbose(void)
Enables a verbose system initialization.
Definition: sysinitverbose.c:154
This header file provides the linker sets API.
Definition: sysinit.h:188