diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1997-06-03 15:25:28 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1997-06-03 15:25:28 +0000 |
commit | e351c26a8ea125348a30604ff865f2e2a26ac2c7 (patch) | |
tree | 8284097f9eb0afe5d59f773cc6eb962614896246 /c/src/ada-tests | |
parent | Added Pending_Events and lined up other event constants (diff) | |
download | rtems-e351c26a8ea125348a30604ff865f2e2a26ac2c7.tar.bz2 |
sptest.adb: update Semaphore_Create calling sequence
sp12.adb: doubled the initialization task stack size
Diffstat (limited to 'c/src/ada-tests')
-rw-r--r-- | c/src/ada-tests/sptests/sp12/sp12.adb | 3 | ||||
-rw-r--r-- | c/src/ada-tests/sptests/sp12/sptest.adb | 6 |
2 files changed, 8 insertions, 1 deletions
diff --git a/c/src/ada-tests/sptests/sp12/sp12.adb b/c/src/ada-tests/sptests/sp12/sp12.adb index 0917e9fc0f..a2edd48d5d 100644 --- a/c/src/ada-tests/sptests/sp12/sp12.adb +++ b/c/src/ada-tests/sptests/sp12/sp12.adb @@ -20,6 +20,7 @@ -- $Id$ -- +with Interfaces; use Interfaces; with RTEMS; with SPTEST; with TEST_SUPPORT; @@ -32,7 +33,7 @@ begin RTEMS.TASK_CREATE( RTEMS.BUILD_NAME( 'I', 'N', 'I', 'T' ), 1, - RTEMS.MINIMUM_STACK_SIZE, + RTEMS.MINIMUM_STACK_SIZE * 2, RTEMS.NO_PREEMPT, RTEMS.DEFAULT_ATTRIBUTES, INIT_ID, diff --git a/c/src/ada-tests/sptests/sp12/sptest.adb b/c/src/ada-tests/sptests/sp12/sptest.adb index 3b058aec4c..e302dacc76 100644 --- a/c/src/ada-tests/sptests/sp12/sptest.adb +++ b/c/src/ada-tests/sptests/sp12/sptest.adb @@ -68,6 +68,7 @@ package body SPTEST is SPTEST.SEMAPHORE_NAME( 1 ), 1, RTEMS.DEFAULT_ATTRIBUTES, + RTEMS.NO_PRIORITY, SPTEST.SEMAPHORE_ID( 1 ), STATUS ); @@ -77,6 +78,7 @@ package body SPTEST is SPTEST.SEMAPHORE_NAME( 2 ), 0, RTEMS.PRIORITY, + RTEMS.NO_PRIORITY, SPTEST.SEMAPHORE_ID( 2 ), STATUS ); @@ -86,6 +88,7 @@ package body SPTEST is SPTEST.SEMAPHORE_NAME( 3 ), 1, RTEMS.DEFAULT_ATTRIBUTES, + RTEMS.NO_PRIORITY, SPTEST.SEMAPHORE_ID( 3 ), STATUS ); @@ -113,6 +116,7 @@ TEST_SUPPORT.PAUSE; SPTEST.SEMAPHORE_NAME( 2 ), 0, RTEMS.BINARY_SEMAPHORE + RTEMS.PRIORITY + RTEMS.INHERIT_PRIORITY, + RTEMS.NO_PRIORITY, SPTEST.SEMAPHORE_ID( 2 ), STATUS ); @@ -134,6 +138,7 @@ TEST_SUPPORT.PAUSE; SPTEST.SEMAPHORE_NAME( 2 ), 1, RTEMS.BINARY_SEMAPHORE + RTEMS.PRIORITY + RTEMS.INHERIT_PRIORITY, + RTEMS.NO_PRIORITY, SPTEST.SEMAPHORE_ID( 2 ), STATUS ); @@ -150,6 +155,7 @@ TEST_SUPPORT.PAUSE; SPTEST.SEMAPHORE_NAME( 2 ), 0, RTEMS.PRIORITY, + RTEMS.NO_PRIORITY, SPTEST.SEMAPHORE_ID( 2 ), STATUS ); |