summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2019-08-30 08:40:14 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2019-08-30 08:57:31 +0200
commit1e18f645f36b4611e1962f1bf2b5d3ba5ae3d3db (patch)
treefe2f02230d54cea13a7d8b910ba9ea66ec44fa8f
parentrecord: Simplify configuration (diff)
downloadrtems-1e18f645f36b4611e1962f1bf2b5d3ba5ae3d3db.tar.bz2
record: Initialize records earlier
The _Record_Initialize() function depends only initialized read-only data. Call it as the first initialization step to allow tracing of the complete system initialization. Update #3665.
-rw-r--r--cpukit/include/rtems/sysinit.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/include/rtems/sysinit.h b/cpukit/include/rtems/sysinit.h
index 4e6010b927..b349a70051 100644
--- a/cpukit/include/rtems/sysinit.h
+++ b/cpukit/include/rtems/sysinit.h
@@ -26,10 +26,10 @@ extern "C" {
* 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_BSP_WORK_AREAS 000100
-#define RTEMS_SYSINIT_BSP_START 000200
-#define RTEMS_SYSINIT_CPU_COUNTER 000300
-#define RTEMS_SYSINIT_RECORD 000400
+#define RTEMS_SYSINIT_RECORD 000100
+#define RTEMS_SYSINIT_BSP_WORK_AREAS 000200
+#define RTEMS_SYSINIT_BSP_START 000300
+#define RTEMS_SYSINIT_CPU_COUNTER 000400
#define RTEMS_SYSINIT_INITIAL_EXTENSIONS 000500
#define RTEMS_SYSINIT_MP_EARLY 000600
#define RTEMS_SYSINIT_DATA_STRUCTURES 000700