summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-02-24 13:25:46 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-02-26 09:10:09 +0100
commitbc6ffc3be8c6001c1e0a289ec2b03a4b55cf596f (patch)
tree4d9ec1ccfac9e9173ca76e1dedc24ada54472558 /cpukit
parentfb17af2756360ff2f9fdccd736d4c63b665e0cde (diff)
downloadrtems-bc6ffc3be8c6001c1e0a289ec2b03a4b55cf596f.tar.bz2
Add system initialization step for target hash
Update #4267.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/include/rtems/sysinit.h1
-rw-r--r--cpukit/sapi/src/sysinitverbose.c10
2 files changed, 10 insertions, 1 deletions
diff --git a/cpukit/include/rtems/sysinit.h b/cpukit/include/rtems/sysinit.h
index cb17a0fd77..3e85aa9a2b 100644
--- a/cpukit/include/rtems/sysinit.h
+++ b/cpukit/include/rtems/sysinit.h
@@ -39,6 +39,7 @@ extern "C" {
#define RTEMS_SYSINIT_MALLOC 000280
#define RTEMS_SYSINIT_BSP_START 000300
#define RTEMS_SYSINIT_CPU_COUNTER 000400
+#define RTEMS_SYSINIT_TARGET_HASH 000480
#define RTEMS_SYSINIT_INITIAL_EXTENSIONS 000500
#define RTEMS_SYSINIT_MP_EARLY 000600
#define RTEMS_SYSINIT_DATA_STRUCTURES 000700
diff --git a/cpukit/sapi/src/sysinitverbose.c b/cpukit/sapi/src/sysinitverbose.c
index d05f1de9b3..31567198be 100644
--- a/cpukit/sapi/src/sysinitverbose.c
+++ b/cpukit/sapi/src/sysinitverbose.c
@@ -66,6 +66,7 @@ SYSINIT_VERBOSE( WORKSPACE );
SYSINIT_VERBOSE( MALLOC );
SYSINIT_VERBOSE( BSP_START );
SYSINIT_VERBOSE( CPU_COUNTER );
+SYSINIT_VERBOSE( TARGET_HASH );
SYSINIT_VERBOSE( INITIAL_EXTENSIONS );
SYSINIT_VERBOSE( MP_EARLY );
SYSINIT_VERBOSE( DATA_STRUCTURES );
@@ -272,9 +273,16 @@ static void _Sysinit_Verbose_CPU_COUNTER( void )
}
}
+static void _Sysinit_Verbose_TARGET_HASH( void )
+{
+ if ( !SYSINIT_IS_ADJACENT( CPU_COUNTER, TARGET_HASH ) ) {
+ printk( "sysinit: TARGET_HASH: done\n" );
+ }
+}
+
static void _Sysinit_Verbose_INITIAL_EXTENSIONS( void )
{
- if ( !SYSINIT_IS_ADJACENT( CPU_COUNTER, INITIAL_EXTENSIONS ) ) {
+ if ( !SYSINIT_IS_ADJACENT( TARGET_HASH, INITIAL_EXTENSIONS ) ) {
printk( "sysinit: INITIAL_EXTENSIONS: done\n" );
}
}