From 7f6a24abdd1793e394e4d5d49de1f4ca0e00297a Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 28 Aug 1995 15:30:29 +0000 Subject: Added unused priority ceiling parameter to rtems_semaphore_create. Rearranged code to created thread handler routines to initialize, start, restart, and "close/delete" a thread. Made internal threads their own object class. This now uses the thread support routines for starting and initializing a thread. Insured deleted tasks are freed to the Inactive pool associated with the correct Information block. Added an RTEMS API specific data area to the thread control block. Beginnings of removing the word "rtems" from the core. --- testsuites/mptests/mp08/init.c | 1 + testsuites/mptests/mp10/init.c | 1 + testsuites/mptests/mp11/init.c | 1 + testsuites/mptests/mp13/init.c | 1 + testsuites/mptests/mp14/init.c | 1 + 5 files changed, 5 insertions(+) (limited to 'testsuites/mptests') diff --git a/testsuites/mptests/mp08/init.c b/testsuites/mptests/mp08/init.c index 2a669d2b9a..6f43d6635d 100644 --- a/testsuites/mptests/mp08/init.c +++ b/testsuites/mptests/mp08/init.c @@ -50,6 +50,7 @@ rtems_task Init( Semaphore_name[ 1 ], 1, RTEMS_GLOBAL, + RTEMS_NO_PRIORITY, &Semaphore_id[ 1 ] ); directive_failed( status, "rtems_semaphore_create" ); diff --git a/testsuites/mptests/mp10/init.c b/testsuites/mptests/mp10/init.c index c5fe62e099..4d150be3da 100644 --- a/testsuites/mptests/mp10/init.c +++ b/testsuites/mptests/mp10/init.c @@ -69,6 +69,7 @@ rtems_task Init( Semaphore_name[ 1 ], 0, RTEMS_GLOBAL | RTEMS_PRIORITY, + RTEMS_NO_PRIORITY, &Semaphore_id[ 1 ] ); directive_failed( status, "rtems_semaphore_create" ); diff --git a/testsuites/mptests/mp11/init.c b/testsuites/mptests/mp11/init.c index c2837a7fc2..a560b35159 100644 --- a/testsuites/mptests/mp11/init.c +++ b/testsuites/mptests/mp11/init.c @@ -85,6 +85,7 @@ rtems_task Init( Semaphore_name[ 1 ], 1, RTEMS_GLOBAL, + RTEMS_NO_PRIORITY, &junk_id ); fatal_directive_status( status, RTEMS_TOO_MANY, "rtems_semaphore_create" ); diff --git a/testsuites/mptests/mp13/init.c b/testsuites/mptests/mp13/init.c index eb2de9733c..cff264e506 100644 --- a/testsuites/mptests/mp13/init.c +++ b/testsuites/mptests/mp13/init.c @@ -62,6 +62,7 @@ rtems_task Init( Semaphore_name[ 1 ], 1, RTEMS_GLOBAL | RTEMS_PRIORITY, + RTEMS_NO_PRIORITY, &Semaphore_id[ 1 ] ); directive_failed( status, "rtems_semaphore_create" ); diff --git a/testsuites/mptests/mp14/init.c b/testsuites/mptests/mp14/init.c index 99891d50ba..bc35d86469 100644 --- a/testsuites/mptests/mp14/init.c +++ b/testsuites/mptests/mp14/init.c @@ -94,6 +94,7 @@ rtems_task Init( Semaphore_name[ 1 ], 1, RTEMS_GLOBAL, + RTEMS_NO_PRIORITY, &Semaphore_id[ 1 ] ); directive_failed( status, "rtems_semaphore_create" ); -- cgit v1.2.3