[rtems commit] record: Initialize records earlier
Sebastian Huber
sebh at rtems.org
Fri Aug 30 07:01:14 UTC 2019
Module: rtems
Branch: master
Commit: 1e18f645f36b4611e1962f1bf2b5d3ba5ae3d3db
Changeset: http://git.rtems.org/rtems/commit/?id=1e18f645f36b4611e1962f1bf2b5d3ba5ae3d3db
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Fri Aug 30 08:40:14 2019 +0200
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.
---
cpukit/include/rtems/sysinit.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/cpukit/include/rtems/sysinit.h b/cpukit/include/rtems/sysinit.h
index 4e6010b..b349a70 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
More information about the vc
mailing list