summaryrefslogtreecommitdiffstats
path: root/c/src/tests/tmtests/tm04/task1.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1995-09-19 14:53:29 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1995-09-19 14:53:29 +0000
commit3652ad356bf13abe0963c992cbbda96476d31609 (patch)
tree8ae01f1eec49c8fabc0a3db3d5b58b29a61428f2 /c/src/tests/tmtests/tm04/task1.c
parentInitial attempt at building HP PA-RISC using Solaris hosted tools. (diff)
downloadrtems-3652ad356bf13abe0963c992cbbda96476d31609.tar.bz2
Minor bug fixes to get all targets compilable and running. The
single biggest changes were the expansion of the workspace size macro to include other types of objects and the increase in the minimum stack size for most CPUs.
Diffstat (limited to '')
-rw-r--r--c/src/tests/tmtests/tm04/task1.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/c/src/tests/tmtests/tm04/task1.c b/c/src/tests/tmtests/tm04/task1.c
index 8156a17daa..603724dddb 100644
--- a/c/src/tests/tmtests/tm04/task1.c
+++ b/c/src/tests/tmtests/tm04/task1.c
@@ -61,7 +61,7 @@ void test_init()
status = rtems_task_create(
rtems_build_name( 'T', 'I', 'M', 'E' ),
10,
- 1024,
+ RTEMS_MINIMUM_STACK_SIZE,
RTEMS_NO_PREEMPT,
RTEMS_DEFAULT_ATTRIBUTES,
&Task_id[ index ]
@@ -179,7 +179,7 @@ rtems_task High_task(
rtems_task_create(
name,
10,
- 1024,
+ RTEMS_MINIMUM_STACK_SIZE,
RTEMS_NO_PREEMPT,
RTEMS_DEFAULT_ATTRIBUTES,
&Task_id[ index ]
@@ -217,7 +217,7 @@ rtems_task High_task(
status = rtems_task_create(
name,
250,
- 1024,
+ RTEMS_MINIMUM_STACK_SIZE,
RTEMS_NO_PREEMPT,
RTEMS_DEFAULT_ATTRIBUTES,
&Task_id[ index ]
@@ -264,7 +264,7 @@ rtems_task High_task(
status = rtems_task_create(
name,
250,
- 1024,
+ RTEMS_MINIMUM_STACK_SIZE,
RTEMS_DEFAULT_MODES,
RTEMS_DEFAULT_ATTRIBUTES,
&Task_id[ index ]
@@ -344,7 +344,7 @@ rtems_task Low_tasks(
status = rtems_task_create(
rtems_build_name( 'H', 'I', ' ', ' ' ),
5,
- 2048,
+ RTEMS_MINIMUM_STACK_SIZE,
RTEMS_DEFAULT_MODES,
RTEMS_DEFAULT_ATTRIBUTES,
&id
@@ -357,7 +357,7 @@ rtems_task Low_tasks(
status = rtems_task_create(
rtems_build_name( 'H', 'I', 'G', 'H' ),
3,
- 2048,
+ RTEMS_MINIMUM_STACK_SIZE,
RTEMS_DEFAULT_MODES,
RTEMS_DEFAULT_ATTRIBUTES,
&Highest_id