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.
This commit is contained in:
Sebastian Huber
2019-08-30 08:40:14 +02:00
parent 11f196d646
commit 1e18f645f3

View File

@@ -26,10 +26,10 @@ extern "C" {
* digits without a 0x-prefix. A 0x-prefix is concatenated with the module and * digits without a 0x-prefix. A 0x-prefix is concatenated with the module and
* order values to form a proper integer literal. * order values to form a proper integer literal.
*/ */
#define RTEMS_SYSINIT_BSP_WORK_AREAS 000100 #define RTEMS_SYSINIT_RECORD 000100
#define RTEMS_SYSINIT_BSP_START 000200 #define RTEMS_SYSINIT_BSP_WORK_AREAS 000200
#define RTEMS_SYSINIT_CPU_COUNTER 000300 #define RTEMS_SYSINIT_BSP_START 000300
#define RTEMS_SYSINIT_RECORD 000400 #define RTEMS_SYSINIT_CPU_COUNTER 000400
#define RTEMS_SYSINIT_INITIAL_EXTENSIONS 000500 #define RTEMS_SYSINIT_INITIAL_EXTENSIONS 000500
#define RTEMS_SYSINIT_MP_EARLY 000600 #define RTEMS_SYSINIT_MP_EARLY 000600
#define RTEMS_SYSINIT_DATA_STRUCTURES 000700 #define RTEMS_SYSINIT_DATA_STRUCTURES 000700