mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
tests: Enable ISR in fatal extensions
Fix code locations left over by commit
3332e54772.
Update #5067.
This commit is contained in:
@@ -727,6 +727,7 @@ static void fatal_extension(
|
||||
) {
|
||||
test_context *ctx = &test_instance;
|
||||
|
||||
_ISR_Set_level(0);
|
||||
longjmp(ctx->deadlock_return_context, 1);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -765,6 +765,7 @@ static void fatal_extension(
|
||||
) {
|
||||
test_context *ctx = &test_instance;
|
||||
|
||||
_ISR_Set_level(0);
|
||||
longjmp(ctx->deadlock_return_context, 1);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -100,6 +100,7 @@ static void FatalRecordAndJump(
|
||||
fatal_source = source;
|
||||
fatal_code = code;
|
||||
_Atomic_Fetch_add_uint( &fatal_counter, 1, ATOMIC_ORDER_RELAXED );
|
||||
_ISR_Set_level( 0 );
|
||||
longjmp( fatal_before, 1 );
|
||||
}
|
||||
|
||||
|
||||
@@ -146,6 +146,7 @@ static void FatalRecordAndJump(
|
||||
fatal_source = source;
|
||||
fatal_code = code;
|
||||
_Atomic_Fetch_add_uint( &fatal_counter, 1, ATOMIC_ORDER_RELAXED );
|
||||
_ISR_Set_level( 0 );
|
||||
longjmp( fatal_before, 1 );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user