-
? testsuites/sptests/sp09/.screen09.c.swp
RCS file: /usr1/CVS/rtems/cpukit/rtems/src/semcreate.c,v
retrieving revision 1.17
diff -u -r1.17 semcreate.c
|
|
|
15 | 15 | * + acquire a semaphore |
16 | 16 | * + release a semaphore |
17 | 17 | * |
18 | | * COPYRIGHT (c) 1989-1999. |
| 18 | * COPYRIGHT (c) 1989-2009. |
19 | 19 | * On-Line Applications Research Corporation (OAR). |
20 | 20 | * |
21 | 21 | * The license and distribution terms for this file may be |
… |
… |
|
111 | 111 | |
112 | 112 | } |
113 | 113 | |
| 114 | if ( _Attributes_Is_inherit_priority( attribute_set ) && |
| 115 | _Attributes_Is_priority_ceiling( attribute_set ) ) |
| 116 | return RTEMS_NOT_DEFINED; |
| 117 | |
114 | 118 | if ( !_Attributes_Is_counting_semaphore( attribute_set ) && ( count > 1 ) ) |
115 | 119 | return RTEMS_INVALID_NUMBER; |
116 | 120 | |
-
RCS file: /usr1/CVS/rtems/testsuites/sptests/sp09/screen05.c,v
retrieving revision 1.16
diff -u -r1.16 screen05.c
|
|
|
6 | 6 | * |
7 | 7 | * Output parameters: NONE |
8 | 8 | * |
9 | | * COPYRIGHT (c) 1989-1999. |
| 9 | * COPYRIGHT (c) 1989-2009. |
10 | 10 | * On-Line Applications Research Corporation (OAR). |
11 | 11 | * |
12 | 12 | * The license and distribution terms for this file may be |
… |
… |
|
85 | 85 | RTEMS_NOT_DEFINED, |
86 | 86 | "rtems_semaphore_create of RTEMS_FIFO RTEMS_INHERIT_PRIORITY" |
87 | 87 | ); |
88 | | puts( "TA1 - rtems_semaphore_create - RTEMS_NOT_DEFINED" ); |
| 88 | puts( "TA1 - rtems_semaphore_create - FIFO and inherit - RTEMS_NOT_DEFINED" ); |
| 89 | |
| 90 | status = rtems_semaphore_create( |
| 91 | Semaphore_name[ 1 ], |
| 92 | 1, |
| 93 | RTEMS_PRIORITY_CEILING | RTEMS_BINARY_SEMAPHORE | RTEMS_FIFO, |
| 94 | RTEMS_NO_PRIORITY, |
| 95 | &Junk_id |
| 96 | ); |
| 97 | fatal_directive_status( |
| 98 | status, |
| 99 | RTEMS_NOT_DEFINED, |
| 100 | "rtems_semaphore_create of RTEMS_FIFO RTEMS_CEILING_PRIORITY" |
| 101 | ); |
| 102 | puts( "TA1 - rtems_semaphore_create - FIFO and ceiling - RTEMS_NOT_DEFINED" ); |
| 103 | |
| 104 | status = rtems_semaphore_create( |
| 105 | Semaphore_name[ 1 ], |
| 106 | 1, |
| 107 | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY_CEILING | |
| 108 | RTEMS_BINARY_SEMAPHORE | RTEMS_PRIORITY, |
| 109 | 10, |
| 110 | &Junk_id |
| 111 | ); |
| 112 | fatal_directive_status( |
| 113 | status, |
| 114 | RTEMS_NOT_DEFINED, |
| 115 | "rtems_semaphore_create of binary with ceiling and inherit" |
| 116 | ); |
| 117 | puts( |
| 118 | "TA1 - rtems_semaphore_create - ceiling and inherit - RTEMS_NOT_DEFINED" ); |
89 | 119 | |
90 | 120 | status = rtems_semaphore_create( |
91 | 121 | Semaphore_name[ 1 ], |
-
RCS file: /usr1/CVS/rtems/testsuites/sptests/sp09/screen09.c,v
retrieving revision 1.14
diff -u -r1.14 screen09.c
|
|
|
6 | 6 | * |
7 | 7 | * Output parameters: NONE |
8 | 8 | * |
9 | | * COPYRIGHT (c) 1989-1999. |
| 9 | * COPYRIGHT (c) 1989-2009. |
10 | 10 | * On-Line Applications Research Corporation (OAR). |
11 | 11 | * |
12 | 12 | * The license and distribution terms for this file may be |
… |
… |
|
24 | 24 | rtems_status_code status; |
25 | 25 | rtems_isr_entry old_service_routine; |
26 | 26 | |
27 | | #if (CPU_SIMPLE_VECTORED_INTERRUPTS == TRUE) |
28 | | puts( "TRUE" ); |
29 | | #else |
30 | | puts( "FALSE" ); |
31 | | #endif |
32 | | |
33 | 27 | #if ((CPU_SIMPLE_VECTORED_INTERRUPTS == FALSE) || \ |
34 | 28 | defined(_C3x) || defined(_C4x)) |
35 | 29 | puts( |
-
RCS file: /usr1/CVS/rtems/testsuites/sptests/sp09/sp09.scn,v
retrieving revision 1.15
diff -u -r1.15 sp09.scn
|
|
|
72 | 72 | TA1 - rtems_semaphore_create - 1 - RTEMS_SUCCESSFUL |
73 | 73 | TA1 - rtems_semaphore_create - 2 - RTEMS_SUCCESSFUL |
74 | 74 | TA1 - rtems_semaphore_create - 3 - RTEMS_TOO_MANY |
75 | | TA1 - rtems_semaphore_create - RTEMS_NOT_DEFINED |
| 75 | TA1 - rtems_semaphore_create - FIFO and inherit - RTEMS_NOT_DEFINED |
| 76 | TA1 - rtems_semaphore_create - FIFO and ceiling - RTEMS_NOT_DEFINED |
| 77 | TA1 - rtems_semaphore_create - ceiling and inherit - RTEMS_NOT_DEFINED |
76 | 78 | TA1 - rtems_semaphore_create - RTEMS_NOT_DEFINED |
77 | 79 | TA1 - rtems_semaphore_create - RTEMS_INVALID_NUMBER |
78 | 80 | TA1 - rtems_semaphore_create - RTEMS_MP_NOT_CONFIGURED |
Download in other formats: