config: Add CONFIGURE_VERBOSE_SYSTEM_INITIALIZATION

Update #3861.
This commit is contained in:
Sebastian Huber
2020-02-04 06:24:26 +01:00
parent c344e5828c
commit e44ae805f7
5 changed files with 576 additions and 2 deletions
+1
View File
@@ -1052,6 +1052,7 @@ librtemscpu_a_SOURCES += sapi/src/rbheap.c
librtemscpu_a_SOURCES += sapi/src/rbtree.c
librtemscpu_a_SOURCES += sapi/src/rbtreefind.c
librtemscpu_a_SOURCES += sapi/src/sapirbtreeinsert.c
librtemscpu_a_SOURCES += sapi/src/sysinitverbose.c
librtemscpu_a_SOURCES += sapi/src/tcsimpleinstall.c
librtemscpu_a_SOURCES += sapi/src/version.c
+8
View File
@@ -2845,6 +2845,14 @@ struct _reent *__getreent(void)
RTEMS_SYSINIT_ORDER_MIDDLE
);
#endif
#ifdef CONFIGURE_VERBOSE_SYSTEM_INITIALIZATION
RTEMS_SYSINIT_ITEM(
_Sysinit_Verbose,
RTEMS_SYSINIT_RECORD,
RTEMS_SYSINIT_ORDER_LAST
);
#endif
#endif
#if defined(RTEMS_SMP)
+6
View File
@@ -133,6 +133,12 @@ typedef struct {
#define RTEMS_SYSINIT_ITEM( handler, module, order ) \
_RTEMS_SYSINIT_ITEM( handler, module, order )
/**
* @brief System initialization handler to enable a verbose system
* initialization.
*/
void _Sysinit_Verbose( void );
#ifdef __cplusplus
}
#endif /* __cplusplus */
File diff suppressed because it is too large Load Diff
+4 -2
View File
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015, 2018 embedded brains GmbH. All rights reserved.
* Copyright (c) 2015, 2020 embedded brains GmbH. All rights reserved.
*
* embedded brains GmbH
* Dornierstr. 4
@@ -176,7 +176,7 @@ typedef enum {
RTEMS_SYSINIT_ITEM( \
x##_last, \
x, \
RTEMS_SYSINIT_ORDER_LAST \
RTEMS_SYSINIT_ORDER_LAST_BUT_1 \
); \
static void x##_last(void)
@@ -981,6 +981,8 @@ static void *POSIX_Init(void *arg)
#define CONFIGURE_STACK_CHECKER_ENABLED
#define CONFIGURE_VERBOSE_SYSTEM_INITIALIZATION
#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
#define CONFIGURE_INIT