diff options
author | Glenn Humphrey <glenn.humphrey@oarcorp.com> | 2007-10-18 19:36:29 +0000 |
---|---|---|
committer | Glenn Humphrey <glenn.humphrey@oarcorp.com> | 2007-10-18 19:36:29 +0000 |
commit | 3d2bf71da0b60faa35034580dc4fd53948f63f53 (patch) | |
tree | 0f168846dd5588babd94bee97628f630d0c4e32b /c/src/ada-tests/sptests/sp20/sptest.ads | |
parent | Update. (diff) | |
download | rtems-3d2bf71da0b60faa35034580dc4fd53948f63f53.tar.bz2 |
2007-10-18 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* sptests/sp09/sp09.scn, sptests/sp09/sptest.adb,
sptests/sp13/sp13.scn, sptests/sp13/sptest.adb,
sptests/sp16/sp16.scn, sptests/sp16/sptest.adb,
sptests/sp16/sptest.ads, sptests/sp20/sp20.scn,
sptests/sp20/sptest.adb, sptests/sp20/sptest.ads: Updated tests to
match the current C tests and regenerated the .scn files.
Diffstat (limited to '')
-rw-r--r-- | c/src/ada-tests/sptests/sp20/sptest.ads | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/c/src/ada-tests/sptests/sp20/sptest.ads b/c/src/ada-tests/sptests/sp20/sptest.ads index 95a3259fe4..43220a388c 100644 --- a/c/src/ada-tests/sptests/sp20/sptest.ads +++ b/c/src/ada-tests/sptests/sp20/sptest.ads @@ -29,30 +29,30 @@ package SPTEST is -- by this test. -- - TASK_ID : array ( 1 .. 5 ) of RTEMS.ID; - TASK_NAME : array ( 1 .. 5 ) of RTEMS.NAME; + TASK_ID : array ( 1 .. 6 ) of RTEMS.ID; + TASK_NAME : array ( 1 .. 6 ) of RTEMS.NAME; -- -- These arrays contain the parameters which define the execution -- characteristics and periods of each instantiation of the --- copies of the RTEMS task TASKS_1_THROUGH_5. +-- copies of the RTEMS task TASKS_1_THROUGH_6. -- - PERIODS : constant array ( 1 .. 5 ) - of RTEMS.UNSIGNED32 := ( 2, 2, 2, 2, 100 ); + PERIODS : constant array ( 1 .. 6 ) + of RTEMS.UNSIGNED32 := ( 2, 2, 2, 2, 100, 0 ); - ITERATIONS : constant array ( 1 .. 5 ) - of RTEMS.UNSIGNED32 := ( 50, 50, 50, 50, 1 ); + ITERATIONS : constant array ( 1 .. 6 ) + of RTEMS.UNSIGNED32 := ( 50, 50, 50, 50, 1, 10 ); - PRIORITIES : constant array ( 1 .. 5 ) - of RTEMS.UNSIGNED32 := ( 1, 1, 3, 4, 5 ); + PRIORITIES : constant array ( 1 .. 6 ) + of RTEMS.UNSIGNED32 := ( 1, 1, 3, 4, 5, 1 ); -- -- The following type defines the array used to manage the -- execution counts of each task's period. -- - type COUNT_ARRAY is array ( 1 .. 5 ) of RTEMS.UNSIGNED32; + type COUNT_ARRAY is array ( 1 .. 6 ) of RTEMS.UNSIGNED32; -- -- These arrays contains the number of periods successfully completed @@ -79,14 +79,14 @@ package SPTEST is ); -- --- TASK_1_THROUGH_5 +-- TASK_1_THROUGH_6 -- -- DESCRIPTION: -- -- These RTEMS tasks test the Rate Monotonic Manager. -- - procedure TASK_1_THROUGH_5 ( + procedure TASK_1_THROUGH_6 ( ARGUMENT : in RTEMS.TASK_ARGUMENT ); |