From 1e18f645f36b4611e1962f1bf2b5d3ba5ae3d3db Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 30 Aug 2019 08:40:14 +0200 Subject: 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 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 -- cgit v1.2.3