Changeset c896e8d in rtems


Ignore:
Timestamp:
09/19/95 21:44:52 (28 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
486c329
Parents:
2122a0b
Message:

Heap changes required some changes in this screen.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/tests/sptests/sp09/screen12.c

    r2122a0b rc896e8d  
    3333    0,
    3434    Region_good_area,
    35     128,
     35    0x40,
    3636    32,
    3737    RTEMS_DEFAULT_ATTRIBUTES,
     
    4848    Region_name[ 1 ],
    4949    Region_bad_area,
    50     128,
     50    0x40,
    5151    32,
    5252    RTEMS_DEFAULT_ATTRIBUTES,
     
    6363    Region_name[ 1 ],
    6464    Region_good_area,
    65     128,
     65    0x40,
    6666    34,
    6767    RTEMS_DEFAULT_ATTRIBUTES,
     
    7979    &Region_good_area[ REGION_START_OFFSET ],
    8080    REGION_LENGTH,
    81     128,
     81    0x40,
    8282    RTEMS_DEFAULT_ATTRIBUTES,
    8383    &Region_id[ 1 ]
     
    9090    Region_good_area,
    9191    512,
    92     128,
     92    0x40,
    9393    RTEMS_DEFAULT_ATTRIBUTES,
    9494    &Junk_id
     
    127127  status = rtems_region_get_segment(
    128128    100,
    129     128,
     129    0x40,
    130130    RTEMS_DEFAULT_OPTIONS,
    131131    RTEMS_NO_TIMEOUT,
     
    165165  status = rtems_region_get_segment(
    166166     Region_id[ 1 ],
    167      384,
     167     REGION_LENGTH / 2,
    168168     RTEMS_NO_WAIT,
    169169     RTEMS_NO_TIMEOUT,
     
    224224  rtems_debug_disable( RTEMS_DEBUG_REGION );
    225225
     226#if 0
     227
    226228  offset = (segment_address_1 - (void *)Region_good_area) / 4;
    227229
     
    256258  Region_good_area[ offset - 2 ] = good_back_flag;
    257259
     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
    258268  puts( "TA1 - rtems_debug_enable - RTEMS_DEBUG_REGION" );
    259269  rtems_debug_enable( RTEMS_DEBUG_REGION );
  • testsuites/sptests/sp09/screen12.c

    r2122a0b rc896e8d  
    3333    0,
    3434    Region_good_area,
    35     128,
     35    0x40,
    3636    32,
    3737    RTEMS_DEFAULT_ATTRIBUTES,
     
    4848    Region_name[ 1 ],
    4949    Region_bad_area,
    50     128,
     50    0x40,
    5151    32,
    5252    RTEMS_DEFAULT_ATTRIBUTES,
     
    6363    Region_name[ 1 ],
    6464    Region_good_area,
    65     128,
     65    0x40,
    6666    34,
    6767    RTEMS_DEFAULT_ATTRIBUTES,
     
    7979    &Region_good_area[ REGION_START_OFFSET ],
    8080    REGION_LENGTH,
    81     128,
     81    0x40,
    8282    RTEMS_DEFAULT_ATTRIBUTES,
    8383    &Region_id[ 1 ]
     
    9090    Region_good_area,
    9191    512,
    92     128,
     92    0x40,
    9393    RTEMS_DEFAULT_ATTRIBUTES,
    9494    &Junk_id
     
    127127  status = rtems_region_get_segment(
    128128    100,
    129     128,
     129    0x40,
    130130    RTEMS_DEFAULT_OPTIONS,
    131131    RTEMS_NO_TIMEOUT,
     
    165165  status = rtems_region_get_segment(
    166166     Region_id[ 1 ],
    167      384,
     167     REGION_LENGTH / 2,
    168168     RTEMS_NO_WAIT,
    169169     RTEMS_NO_TIMEOUT,
     
    224224  rtems_debug_disable( RTEMS_DEBUG_REGION );
    225225
     226#if 0
     227
    226228  offset = (segment_address_1 - (void *)Region_good_area) / 4;
    227229
     
    256258  Region_good_area[ offset - 2 ] = good_back_flag;
    257259
     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
    258268  puts( "TA1 - rtems_debug_enable - RTEMS_DEBUG_REGION" );
    259269  rtems_debug_enable( RTEMS_DEBUG_REGION );
Note: See TracChangeset for help on using the changeset viewer.