Changeset c896e8d in rtems
- Timestamp:
- 09/19/95 21:44:52 (28 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 486c329
- Parents:
- 2122a0b
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/tests/sptests/sp09/screen12.c
r2122a0b rc896e8d 33 33 0, 34 34 Region_good_area, 35 128,35 0x40, 36 36 32, 37 37 RTEMS_DEFAULT_ATTRIBUTES, … … 48 48 Region_name[ 1 ], 49 49 Region_bad_area, 50 128,50 0x40, 51 51 32, 52 52 RTEMS_DEFAULT_ATTRIBUTES, … … 63 63 Region_name[ 1 ], 64 64 Region_good_area, 65 128,65 0x40, 66 66 34, 67 67 RTEMS_DEFAULT_ATTRIBUTES, … … 79 79 &Region_good_area[ REGION_START_OFFSET ], 80 80 REGION_LENGTH, 81 128,81 0x40, 82 82 RTEMS_DEFAULT_ATTRIBUTES, 83 83 &Region_id[ 1 ] … … 90 90 Region_good_area, 91 91 512, 92 128,92 0x40, 93 93 RTEMS_DEFAULT_ATTRIBUTES, 94 94 &Junk_id … … 127 127 status = rtems_region_get_segment( 128 128 100, 129 128,129 0x40, 130 130 RTEMS_DEFAULT_OPTIONS, 131 131 RTEMS_NO_TIMEOUT, … … 165 165 status = rtems_region_get_segment( 166 166 Region_id[ 1 ], 167 384,167 REGION_LENGTH / 2, 168 168 RTEMS_NO_WAIT, 169 169 RTEMS_NO_TIMEOUT, … … 224 224 rtems_debug_disable( RTEMS_DEBUG_REGION ); 225 225 226 #if 0 227 226 228 offset = (segment_address_1 - (void *)Region_good_area) / 4; 227 229 … … 256 258 Region_good_area[ offset - 2 ] = good_back_flag; 257 259 260 #else 261 offset = 0; 262 good_front_flag = 0; 263 good_back_flag = 0; 264 puts( "TA1 - rtems_region_return_segment - RTEMS_INVALID_ADDRESS - SKIPPED" ); 265 puts( "TA1 - rtems_region_return_segment - RTEMS_INVALID_ADDRESS - SKIPPED" ); 266 #endif 267 258 268 puts( "TA1 - rtems_debug_enable - RTEMS_DEBUG_REGION" ); 259 269 rtems_debug_enable( RTEMS_DEBUG_REGION ); -
testsuites/sptests/sp09/screen12.c
r2122a0b rc896e8d 33 33 0, 34 34 Region_good_area, 35 128,35 0x40, 36 36 32, 37 37 RTEMS_DEFAULT_ATTRIBUTES, … … 48 48 Region_name[ 1 ], 49 49 Region_bad_area, 50 128,50 0x40, 51 51 32, 52 52 RTEMS_DEFAULT_ATTRIBUTES, … … 63 63 Region_name[ 1 ], 64 64 Region_good_area, 65 128,65 0x40, 66 66 34, 67 67 RTEMS_DEFAULT_ATTRIBUTES, … … 79 79 &Region_good_area[ REGION_START_OFFSET ], 80 80 REGION_LENGTH, 81 128,81 0x40, 82 82 RTEMS_DEFAULT_ATTRIBUTES, 83 83 &Region_id[ 1 ] … … 90 90 Region_good_area, 91 91 512, 92 128,92 0x40, 93 93 RTEMS_DEFAULT_ATTRIBUTES, 94 94 &Junk_id … … 127 127 status = rtems_region_get_segment( 128 128 100, 129 128,129 0x40, 130 130 RTEMS_DEFAULT_OPTIONS, 131 131 RTEMS_NO_TIMEOUT, … … 165 165 status = rtems_region_get_segment( 166 166 Region_id[ 1 ], 167 384,167 REGION_LENGTH / 2, 168 168 RTEMS_NO_WAIT, 169 169 RTEMS_NO_TIMEOUT, … … 224 224 rtems_debug_disable( RTEMS_DEBUG_REGION ); 225 225 226 #if 0 227 226 228 offset = (segment_address_1 - (void *)Region_good_area) / 4; 227 229 … … 256 258 Region_good_area[ offset - 2 ] = good_back_flag; 257 259 260 #else 261 offset = 0; 262 good_front_flag = 0; 263 good_back_flag = 0; 264 puts( "TA1 - rtems_region_return_segment - RTEMS_INVALID_ADDRESS - SKIPPED" ); 265 puts( "TA1 - rtems_region_return_segment - RTEMS_INVALID_ADDRESS - SKIPPED" ); 266 #endif 267 258 268 puts( "TA1 - rtems_debug_enable - RTEMS_DEBUG_REGION" ); 259 269 rtems_debug_enable( RTEMS_DEBUG_REGION );
Note: See TracChangeset
for help on using the changeset viewer.