summaryrefslogtreecommitdiffstats
path: root/c/src/ada-tests/sptests/sp03/sptest.adb
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1997-06-03 00:13:05 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1997-06-03 00:13:05 +0000
commitf2078ec712a7196d223ee6e5f6957ef68f371bdd (patch)
tree758f99e09db9028d984cbc5a3cf862ba0f117e1d /c/src/ada-tests/sptests/sp03/sptest.adb
parentadded subtract of 1 to Task_Number to account for the creation (diff)
downloadrtems-f2078ec712a7196d223ee6e5f6957ef68f371bdd.tar.bz2
New style main procedure which creates the test's RTEMS initialization task
as an RTEMS task. This avoid problems resulting from differences in the tasking mode/priority of Ada tasks from the typical way an RTEMS initialization task is created.
Diffstat (limited to 'c/src/ada-tests/sptests/sp03/sptest.adb')
-rw-r--r--c/src/ada-tests/sptests/sp03/sptest.adb4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/ada-tests/sptests/sp03/sptest.adb b/c/src/ada-tests/sptests/sp03/sptest.adb
index 3716fdfc60..789740f0c3 100644
--- a/c/src/ada-tests/sptests/sp03/sptest.adb
+++ b/c/src/ada-tests/sptests/sp03/sptest.adb
@@ -49,7 +49,7 @@ package body SPTEST is
RTEMS.TASK_CREATE(
SPTEST.TASK_NAME( 1 ),
1,
- 2048,
+ RTEMS.MINIMUM_STACK_SIZE,
RTEMS.DEFAULT_MODES,
RTEMS.DEFAULT_ATTRIBUTES,
SPTEST.TASK_ID( 1 ),
@@ -60,7 +60,7 @@ package body SPTEST is
RTEMS.TASK_CREATE(
SPTEST.TASK_NAME( 2 ),
1,
- 2048,
+ RTEMS.MINIMUM_STACK_SIZE,
RTEMS.DEFAULT_MODES,
RTEMS.DEFAULT_ATTRIBUTES,
SPTEST.TASK_ID( 2 ),