[PATCH 1/4] Reassign system initilization order numbers

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Jun 15 11:13:00 UTC 2018


Assign each system initialization step a number divisible by 256 to
allow more easily future additions.  Keep the order as is.
---
 cpukit/include/rtems/sysinit.h | 78 +++++++++++++++++++++---------------------
 1 file changed, 39 insertions(+), 39 deletions(-)

diff --git a/cpukit/include/rtems/sysinit.h b/cpukit/include/rtems/sysinit.h
index 535fb98e2c..93e3017358 100644
--- a/cpukit/include/rtems/sysinit.h
+++ b/cpukit/include/rtems/sysinit.h
@@ -28,45 +28,45 @@ extern "C" {
  */
 #define RTEMS_SYSINIT_BSP_WORK_AREAS             000100
 #define RTEMS_SYSINIT_BSP_START                  000200
-#define RTEMS_SYSINIT_INITIAL_EXTENSIONS         000300
-#define RTEMS_SYSINIT_MP_EARLY                   000301
-#define RTEMS_SYSINIT_DATA_STRUCTURES            000302
-#define RTEMS_SYSINIT_MP                         00030e
-#define RTEMS_SYSINIT_USER_EXTENSIONS            000320
-#define RTEMS_SYSINIT_CLASSIC_TASKS              000340
-#define RTEMS_SYSINIT_CLASSIC_TIMER              000341
-#define RTEMS_SYSINIT_CLASSIC_SIGNAL             000342
-#define RTEMS_SYSINIT_CLASSIC_EVENT              000343
-#define RTEMS_SYSINIT_CLASSIC_MESSAGE_QUEUE      000344
-#define RTEMS_SYSINIT_CLASSIC_SEMAPHORE          000345
-#define RTEMS_SYSINIT_CLASSIC_PARTITION          000346
-#define RTEMS_SYSINIT_CLASSIC_REGION             000347
-#define RTEMS_SYSINIT_CLASSIC_DUAL_PORTED_MEMORY 000348
-#define RTEMS_SYSINIT_CLASSIC_RATE_MONOTONIC     000349
-#define RTEMS_SYSINIT_CLASSIC_BARRIER            00034a
-#define RTEMS_SYSINIT_POSIX_SIGNALS              000360
-#define RTEMS_SYSINIT_POSIX_THREADS              000361
-#define RTEMS_SYSINIT_POSIX_MESSAGE_QUEUE        000364
-#define RTEMS_SYSINIT_POSIX_SEMAPHORE            000365
-#define RTEMS_SYSINIT_POSIX_TIMER                000366
-#define RTEMS_SYSINIT_POSIX_SHM                  000369
-#define RTEMS_SYSINIT_POSIX_KEYS                 00036a
-#define RTEMS_SYSINIT_POSIX_CLEANUP              00036b
-#define RTEMS_SYSINIT_IDLE_THREADS               000380
-#define RTEMS_SYSINIT_LIBIO                      000400
-#define RTEMS_SYSINIT_ROOT_FILESYSTEM            000401
-#define RTEMS_SYSINIT_DRVMGR                     000500
-#define RTEMS_SYSINIT_MP_SERVER                  000501
-#define RTEMS_SYSINIT_BSP_PRE_DRIVERS            000600
-#define RTEMS_SYSINIT_DRVMGR_LEVEL_1             000700
-#define RTEMS_SYSINIT_DEVICE_DRIVERS             000701
-#define RTEMS_SYSINIT_DRVMGR_LEVEL_2             000702
-#define RTEMS_SYSINIT_DRVMGR_LEVEL_3             000703
-#define RTEMS_SYSINIT_DRVMGR_LEVEL_4             000704
-#define RTEMS_SYSINIT_MP_FINALIZE                000705
-#define RTEMS_SYSINIT_CLASSIC_USER_TASKS         000706
-#define RTEMS_SYSINIT_POSIX_USER_THREADS         000707
-#define RTEMS_SYSINIT_STD_FILE_DESCRIPTORS       000800
+#define RTEMS_SYSINIT_INITIAL_EXTENSIONS         000400
+#define RTEMS_SYSINIT_MP_EARLY                   000500
+#define RTEMS_SYSINIT_DATA_STRUCTURES            000600
+#define RTEMS_SYSINIT_MP                         000700
+#define RTEMS_SYSINIT_USER_EXTENSIONS            000900
+#define RTEMS_SYSINIT_CLASSIC_TASKS              000a00
+#define RTEMS_SYSINIT_CLASSIC_TIMER              000b00
+#define RTEMS_SYSINIT_CLASSIC_SIGNAL             000c00
+#define RTEMS_SYSINIT_CLASSIC_EVENT              000d00
+#define RTEMS_SYSINIT_CLASSIC_MESSAGE_QUEUE      000e00
+#define RTEMS_SYSINIT_CLASSIC_SEMAPHORE          000f00
+#define RTEMS_SYSINIT_CLASSIC_PARTITION          001000
+#define RTEMS_SYSINIT_CLASSIC_REGION             001100
+#define RTEMS_SYSINIT_CLASSIC_DUAL_PORTED_MEMORY 001200
+#define RTEMS_SYSINIT_CLASSIC_RATE_MONOTONIC     001300
+#define RTEMS_SYSINIT_CLASSIC_BARRIER            001400
+#define RTEMS_SYSINIT_POSIX_SIGNALS              001500
+#define RTEMS_SYSINIT_POSIX_THREADS              001600
+#define RTEMS_SYSINIT_POSIX_MESSAGE_QUEUE        001700
+#define RTEMS_SYSINIT_POSIX_SEMAPHORE            001800
+#define RTEMS_SYSINIT_POSIX_TIMER                001900
+#define RTEMS_SYSINIT_POSIX_SHM                  001a00
+#define RTEMS_SYSINIT_POSIX_KEYS                 001b00
+#define RTEMS_SYSINIT_POSIX_CLEANUP              001c00
+#define RTEMS_SYSINIT_IDLE_THREADS               001d00
+#define RTEMS_SYSINIT_LIBIO                      001e00
+#define RTEMS_SYSINIT_ROOT_FILESYSTEM            001f00
+#define RTEMS_SYSINIT_DRVMGR                     002000
+#define RTEMS_SYSINIT_MP_SERVER                  002100
+#define RTEMS_SYSINIT_BSP_PRE_DRIVERS            002200
+#define RTEMS_SYSINIT_DRVMGR_LEVEL_1             002300
+#define RTEMS_SYSINIT_DEVICE_DRIVERS             002400
+#define RTEMS_SYSINIT_DRVMGR_LEVEL_2             002500
+#define RTEMS_SYSINIT_DRVMGR_LEVEL_3             002600
+#define RTEMS_SYSINIT_DRVMGR_LEVEL_4             002700
+#define RTEMS_SYSINIT_MP_FINALIZE                002800
+#define RTEMS_SYSINIT_CLASSIC_USER_TASKS         002900
+#define RTEMS_SYSINIT_POSIX_USER_THREADS         002a00
+#define RTEMS_SYSINIT_STD_FILE_DESCRIPTORS       002b00
 #define RTEMS_SYSINIT_LAST                       ffffff
 
 /*
-- 
2.13.7



More information about the devel mailing list