summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/sysinit.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-06-20 06:50:12 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-06-20 08:11:16 +0200
commitbc47ec1c99cb519a26fea585c2945c47b234b941 (patch)
tree740fee07513c12db0a178dcc716994de6c0d495e /cpukit/score/include/rtems/sysinit.h
parentsptests/spsysinit01: Move begin of test message (diff)
downloadrtems-bc47ec1c99cb519a26fea585c2945c47b234b941.tar.bz2
score: Refine system initialization order
Diffstat (limited to 'cpukit/score/include/rtems/sysinit.h')
-rw-r--r--cpukit/score/include/rtems/sysinit.h16
1 files changed, 13 insertions, 3 deletions
diff --git a/cpukit/score/include/rtems/sysinit.h b/cpukit/score/include/rtems/sysinit.h
index e7b9c63f14..ad68c45c5c 100644
--- a/cpukit/score/include/rtems/sysinit.h
+++ b/cpukit/score/include/rtems/sysinit.h
@@ -72,15 +72,25 @@ extern "C" {
#define RTEMS_SYSINIT_CLASSIC_USER_TASKS 000706
#define RTEMS_SYSINIT_POSIX_USER_THREADS 000707
#define RTEMS_SYSINIT_STD_FILE_DESCRIPTORS 000800
+#define RTEMS_SYSINIT_LAST ffffff
/*
* The value of each order define must consist of exactly two hexadecimal
* digits without a 0x-prefix. A 0x-prefix is concatenated with the module and
* order values to form a proper integer literal.
*/
-#define RTEMS_SYSINIT_ORDER_FIRST 00
-#define RTEMS_SYSINIT_ORDER_MIDDLE 08
-#define RTEMS_SYSINIT_ORDER_LAST 0f
+#define RTEMS_SYSINIT_ORDER_FIRST 00
+#define RTEMS_SYSINIT_ORDER_SECOND 01
+#define RTEMS_SYSINIT_ORDER_THIRD 02
+#define RTEMS_SYSINIT_ORDER_FOURTH 03
+#define RTEMS_SYSINIT_ORDER_FIFTH 04
+#define RTEMS_SYSINIT_ORDER_SIXTH 05
+#define RTEMS_SYSINIT_ORDER_SEVENTH 06
+#define RTEMS_SYSINIT_ORDER_EIGHTH 07
+#define RTEMS_SYSINIT_ORDER_NINETH 08
+#define RTEMS_SYSINIT_ORDER_TENTH 09
+#define RTEMS_SYSINIT_ORDER_MIDDLE 80
+#define RTEMS_SYSINIT_ORDER_LAST ff
typedef void ( *rtems_sysinit_handler )( void );