diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-11-13 22:19:05 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-11-19 08:44:23 +0100 |
commit | 190161dcc8ef740f5256ad80a76d765a8f8aea28 (patch) | |
tree | 16b4fac85dadb10ff6db66f499182dc5a6b4b317 | |
parent | 6115f951b53d448248d03d7c31e3940b8991aad3 (diff) |
testsuites/validation/tc-acfg.c
-rw-r--r-- | testsuites/validation/tc-acfg.c | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/testsuites/validation/tc-acfg.c b/testsuites/validation/tc-acfg.c index fb8723a24c..beca77b909 100644 --- a/testsuites/validation/tc-acfg.c +++ b/testsuites/validation/tc-acfg.c @@ -109,6 +109,14 @@ * * - Check the configured CONFIGURE_TASK_STACK_DEALLOCATOR hook. * + * - Check the configured CONFIGURE_TASK_STACK_ALLOCATOR_FOR_IDLE hook. + * + * - Check the configured CONFIGURE_IDLE_TASK_STACK_SIZE value. + * + * - Check the configured CONFIGURE_IDLE_TASK_BODY. + * + * - Check the configured CONFIGURE_INTERRUPT_STACK_SIZE value. + * * - Check the configured CONFIGURE_TICKS_PER_TIMESLICE value. * * @{ @@ -256,6 +264,38 @@ static void AcfgValAcfg_Action_0( void ) ); /* + * Check the configured CONFIGURE_TASK_STACK_ALLOCATOR_FOR_IDLE hook. + */ + T_eq_ptr( + rtems_configuration_get_stack_allocate_for_idle_hook(), + test_idle_task_stack_allocate + ); + + /* + * Check the configured CONFIGURE_IDLE_TASK_STACK_SIZE value. + */ + T_eq_sz( + rtems_configuration_get_idle_task_stack_size(), + TEST_IDLE_STACK_SIZE + ); + + /* + * Check the configured CONFIGURE_IDLE_TASK_BODY. + */ + T_eq_ptr( + rtems_configuration_get_idle_task(), + test_idle_task_body + ); + + /* + * Check the configured CONFIGURE_INTERRUPT_STACK_SIZE value. + */ + T_eq_sz( + rtems_configuration_get_interrupt_stack_size(), + TEST_INTERRUPT_STACK_SIZE + ); + + /* * Check the configured CONFIGURE_TICKS_PER_TIMESLICE value. */ T_eq_u32( |