Add system initialization step for target hash

Update #4267.
This commit is contained in:
Sebastian Huber
2021-02-24 13:25:46 +01:00
parent fb17af2756
commit bc6ffc3be8
3 changed files with 26 additions and 1 deletions

View File

@@ -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));