From bc6ffc3be8c6001c1e0a289ec2b03a4b55cf596f Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 24 Feb 2021 13:25:46 +0100 Subject: Add system initialization step for target hash Update #4267. --- testsuites/sptests/spsysinit01/init.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'testsuites') diff --git a/testsuites/sptests/spsysinit01/init.c b/testsuites/sptests/spsysinit01/init.c index 20b5922dae..13b4a1a802 100644 --- a/testsuites/sptests/spsysinit01/init.c +++ b/testsuites/sptests/spsysinit01/init.c @@ -77,6 +77,8 @@ typedef enum { BSP_START_POST, CPU_COUNTER_PRE, CPU_COUNTER_POST, + TARGET_HASH_PRE, + TARGET_HASH_POST, INITIAL_EXTENSIONS_PRE, INITIAL_EXTENSIONS_POST, DATA_STRUCTURES_PRE, @@ -257,6 +259,20 @@ LAST(RTEMS_SYSINIT_CPU_COUNTER) next_step(CPU_COUNTER_POST); } +FIRST(RTEMS_SYSINIT_TARGET_HASH) +{ + /* + * Since the work performed here is BSP-specific, there is no way to test pre + * and post conditions. + */ + next_step(TARGET_HASH_PRE); +} + +LAST(RTEMS_SYSINIT_TARGET_HASH) +{ + next_step(TARGET_HASH_POST); +} + FIRST(RTEMS_SYSINIT_INITIAL_EXTENSIONS) { assert(_Chain_Is_empty(&_User_extensions_Switches_list)); -- cgit v1.2.3