summaryrefslogtreecommitdiff
path: root/testsuites/tmtests/tm20
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 /testsuites/tmtests/tm20
parentb3ac6a8dfe10aeaf3a9c59fd145bddfff119480e (diff)
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 'testsuites/tmtests/tm20')
-rw-r--r--testsuites/tmtests/tm20/task1.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/testsuites/tmtests/tm20/task1.c b/testsuites/tmtests/tm20/task1.c
index 756a957b22..22d514add6 100644
--- a/testsuites/tmtests/tm20/task1.c
+++ b/testsuites/tmtests/tm20/task1.c
@@ -54,7 +54,7 @@ rtems_task Init(
status = rtems_task_create(
rtems_build_name( 'T', 'I', 'M', '1' ),
128,
- 2048,
+ RTEMS_MINIMUM_STACK_SIZE,
RTEMS_DEFAULT_MODES,
RTEMS_DEFAULT_ATTRIBUTES,
&Task_id[ 1 ]
@@ -67,7 +67,7 @@ rtems_task Init(
status = rtems_task_create(
rtems_build_name( 'T', 'I', 'M', '2' ),
129,
- 2048,
+ RTEMS_MINIMUM_STACK_SIZE,
RTEMS_DEFAULT_MODES,
RTEMS_DEFAULT_ATTRIBUTES,
&Task_id[ 2 ]
@@ -348,7 +348,7 @@ rtems_task Task_1(
Timer_initialize();
for ( index=1 ; index <= OPERATION_COUNT ; index++ )
- (void) rtems_io_initialize( 0, 0, NULL );
+ (void) rtems_io_initialize( _STUB_major, 0, NULL );
end_time = Read_timer();
put_time(
@@ -361,7 +361,7 @@ rtems_task Task_1(
Timer_initialize();
for ( index=1 ; index <= OPERATION_COUNT ; index++ )
- (void) rtems_io_open( 0, 0, NULL );
+ (void) rtems_io_open( _STUB_major, 0, NULL );
end_time = Read_timer();
put_time(
@@ -374,7 +374,7 @@ rtems_task Task_1(
Timer_initialize();
for ( index=1 ; index <= OPERATION_COUNT ; index++ )
- (void) rtems_io_close( 0, 0, NULL );
+ (void) rtems_io_close( _STUB_major, 0, NULL );
end_time = Read_timer();
put_time(
@@ -387,7 +387,7 @@ rtems_task Task_1(
Timer_initialize();
for ( index=1 ; index <= OPERATION_COUNT ; index++ )
- (void) rtems_io_read( 0, 0, NULL );
+ (void) rtems_io_read( _STUB_major, 0, NULL );
end_time = Read_timer();
put_time(
@@ -400,7 +400,7 @@ rtems_task Task_1(
Timer_initialize();
for ( index=1 ; index <= OPERATION_COUNT ; index++ )
- (void) rtems_io_write( 0, 0, NULL );
+ (void) rtems_io_write( _STUB_major, 0, NULL );
end_time = Read_timer();
put_time(
@@ -413,7 +413,7 @@ rtems_task Task_1(
Timer_initialize();
for ( index=1 ; index <= OPERATION_COUNT ; index++ )
- (void) rtems_io_control( 0, 0, NULL );
+ (void) rtems_io_control( _STUB_major, 0, NULL );
end_time = Read_timer();
put_time(