diff options
Diffstat (limited to 'spec/testsuites/validation-0.yml')
-rw-r--r-- | spec/testsuites/validation-0.yml | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/spec/testsuites/validation-0.yml b/spec/testsuites/validation-0.yml index 0a20e76d..bf4042b7 100644 --- a/spec/testsuites/validation-0.yml +++ b/spec/testsuites/validation-0.yml @@ -54,10 +54,12 @@ test-code: | rtems_fatal( RTEMS_FATAL_SOURCE_EXIT, (uint32_t) exit_code ); } - #define MAX_TLS_SIZE 64 + #define MAX_TLS_SIZE RTEMS_ALIGN_UP( 64, RTEMS_TASK_STORAGE_ALIGNMENT ) + #define ATTRIBUTES RTEMS_FLOATING_POINT - RTEMS_TASK_STORAGE_ALIGNMENT static char runner_task_storage[ + RTEMS_ALIGNED( RTEMS_TASK_STORAGE_ALIGNMENT ) + static char runner_task_storage[ RTEMS_TASK_STORAGE_SIZE( MAX_TLS_SIZE + RTEMS_MINIMUM_STACK_SIZE, ATTRIBUTES @@ -79,7 +81,7 @@ test-code: | rtems_id id; rtems_status_code sc; - sc = rtems_task_create_from_config( &runner_task_config, &id ); + sc = rtems_task_construct( &runner_task_config, &id ); if ( sc != RTEMS_SUCCESSFUL ) { rtems_fatal( RTEMS_FATAL_SOURCE_EXIT, 1 ); } @@ -112,6 +114,9 @@ test-code: | #define CONFIGURE_MAXIMUM_TASKS 3 + #define CONFIGURE_MINIMUM_TASKS_WITH_USER_PROVIDED_STORAGE \ + CONFIGURE_MAXIMUM_TASKS + #define CONFIGURE_MAXIMUM_TIMERS 3 #define CONFIGURE_MAXIMUM_USER_EXTENSIONS 3 |