Changeset b64e8dc0 in rtems


Ignore:
Timestamp:
Jun 25, 2013, 2:57:38 PM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
9f37fb1
Parents:
3948a0b
git-author:
Sebastian Huber <sebastian.huber@…> (06/25/13 14:57:38)
git-committer:
Sebastian Huber <sebastian.huber@…> (06/25/13 15:05:18)
Message:

sptests/sp16: Change allocation sizes

This avoids problems with debugging enabled.

Location:
testsuites/sptests/sp16
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/sp16/sp16.scn

    r3948a0b rb64e8dc0  
    11*** TEST 16 ***
    22TA1 - rtems_region_ident - rnid => 32010001
    3 TA1 - rtems_region_get_segment - wait on 100 byte segment from region 2
    4 TA1 - got segment from region 2 - 0x00000060
     3TA1 - rtems_region_get_segment - wait on 1000 byte segment from region 2
     4TA1 - got segment from region 2 - 0x00000040
    55TA1 - rtems_region_get_segment - wait on 3K segment from region 3
    6 TA1 - got segment from region 3 - 0x00000030
     6TA1 - got segment from region 3 - 0x00000010
    77TA1 - rtems_region_get_segment - get 3080 byte segment from region 1 - NO_WAIT
    8 TA1 - got segment from region 1 - 0x00000010
     8TA1 - got segment from region 1 - 0x00000070
    99TA1 - rtems_task_wake_after - yield processor
    1010TA2 - rtems_region_get_segment - wait on 2K segment from region 1
    11 TA3 - rtems_region_get_segment - wait on 3950 byte segment from region 2
     11TA3 - rtems_region_get_segment - wait on 3750 byte segment from region 2
    1212<pause>
    13 TA1 - rtems_region_return_segment - return segment to region 1 - 0x00000010
     13TA1 - rtems_region_return_segment - return segment to region 1 - 0x00000070
    1414TA1 - rtems_region_get_segment - wait 10 seconds for 3K segment from region 1
    15 TA2 - got segment from region 1 - 0x00000010
    16 TA2 - rtems_region_return_segment - return segment to region 1 - 0x00000010
     15TA2 - got segment from region 1 - 0x00000070
     16TA2 - rtems_region_return_segment - return segment to region 1 - 0x00000070
    1717TA2 - rtems_task_set_priority - make self highest priority task
    18 TA2 - rtems_region_get_segment - wait on 3950 byte segment
    19 TA1 - got segment from region 1 - 0x00000010
    20 TA1 - rtems_region_return_segment - return segment to region 2 - 0x00000060
    21 TA2 - got segment from region 2 - 0x00000060
    22 TA2 - rtems_region_return_segment - return segment to region 2 - 0x00000060
     18TA2 - rtems_region_get_segment - wait on 3750 byte segment
     19TA1 - got segment from region 1 - 0x00000070
     20TA1 - rtems_region_return_segment - return segment to region 2 - 0x00000040
     21TA2 - got segment from region 2 - 0x00000040
     22TA2 - rtems_region_return_segment - return segment to region 2 - 0x00000040
    2323TA2 - rtems_task_delete - delete self
    2424TA1 - rtems_task_wake_after - yield processor
    25 TA3 - got segment from region 2 - 0x00000060
     25TA3 - got segment from region 2 - 0x00000040
    2626TA3 - rtems_region_get_segment - wait on 2K segment from region 3
    2727TA1 - rtems_task_delete - delete TA3
     
    3030TA4 - rtems_region_get_segment - wait on 1.5K segment from region 1
    3131TA5 - rtems_region_get_segment - wait on 1.5K segment from region 1
    32 TA1 - rtems_region_return_segment - return segment to region 1 - 0x00000010
     32TA1 - rtems_region_return_segment - return segment to region 1 - 0x00000070
    3333TA1 - rtems_task_wake_after - yield processor
    34 TA4 - got and returned 0x00000010
    35 TA5 - got and returned 0x00000690
     34TA4 - got and returned 0x00000070
     35TA5 - got and returned 0x000006f0
    3636TA1 - rtems_region_get_segment - wait 10 seconds for 3K segment from region 1
    37 TA1 - got segment from region 1 - 0x00000010
     37TA1 - got segment from region 1 - 0x00000070
    3838TA1 - rtems_task_wake_after - yield processor
     39TA4 - rtems_region_get_segment - wait on 3K segment from region 1
    3940TA5 - rtems_region_get_segment - wait on 3K segment from region 1
    40 TA4 - rtems_region_get_segment - wait on 3K segment from region 1
    4141TA1 - rtems_task_delete - delete TA4
    42 TA1 - rtems_region_return_segment - return segment to region 1 - 0x00000010
     42TA1 - rtems_region_return_segment - return segment to region 1 - 0x00000070
    4343TA1 - rtems_task_wake_after - yield processor
    44 TA5 - got segment from region 1 - 0x00000010
    45 TA5 - rtems_region_return_segment - return segment to region 1 - 0x00000010
     44TA5 - got segment from region 1 - 0x00000070
     45TA5 - rtems_region_return_segment - return segment to region 1 - 0x00000070
    4646TA5 - rtems_task_delete - delete self
    4747TA1 - rtems_region_delete - delete region 1
    4848TA1 - rtems_region_get_segment - get 3K segment from region 4
    49 TA1 - got segment from region 4 - 0x00000060
     49TA1 - got segment from region 4 - 0x00000040
    5050TA1 - rtems_region_get_segment - attempt to get 3K segment from region 4
    51 TA1 - rtems_task_get_segment - RTEMS_UNSATISFIED
    52 TA1 - rtems_region_extend - extend region 4 by 4K
     51TA1 - rtems_region_get_segment - RTEMS_UNSATISFIED
     52TA1 - rtems_region_extend - extend region 4 by 1
     53TA1 - rtems_region_extend - RTEMS_INVALID_ADDRESS
     54TA1 - rtems_region_extend - extend region 4 by 4K - 1
    5355TA1 - rtems_region_get_segment - attempt to get 3K segment from region 4
    54 TA1 - got 3K segment from region 4 - 0x00000ce0
    55 TA1 - rtems_region_return_segment - return segment to region 4 - 0x00000060
    56 TA1 - rtems_region_return_segment - return segment to region 4 - 0x00000ce0
     56TA1 - got 3K segment from region 4 - 0x00001040
     57TA1 - rtems_region_return_segment - return segment to region 4 - 0x00000040
     58TA1 - rtems_region_return_segment - return segment to region 4 - 0x00001040
    5759TA1 - rtems_region_delete - delete region 4
    5860*** END OF TEST 16 ***
  • testsuites/sptests/sp16/task1.c

    r3948a0b rb64e8dc0  
    3838
    3939  puts(
    40     "TA1 - rtems_region_get_segment - wait on 100 byte segment from region 2"
     40    "TA1 - rtems_region_get_segment - wait on 1000 byte segment from region 2"
    4141  );
    4242  status = rtems_region_get_segment(
    4343    Region_id[ 2 ],
    44     100,
     44    1000,
    4545    RTEMS_DEFAULT_OPTIONS,
    4646    RTEMS_NO_TIMEOUT,
  • testsuites/sptests/sp16/task2.c

    r3948a0b rb64e8dc0  
    6161  directive_failed( status, "rtems_task_set_priority" );
    6262
    63   puts("TA2 - rtems_region_get_segment - wait on 3950 byte segment");
     63  puts("TA2 - rtems_region_get_segment - wait on 3750 byte segment");
    6464  status = rtems_region_get_segment(
    6565    Region_id[ 2 ],
    66     3950,
     66    3750,
    6767    RTEMS_DEFAULT_OPTIONS,
    6868    RTEMS_NO_TIMEOUT,
  • testsuites/sptests/sp16/task3.c

    r3948a0b rb64e8dc0  
    3232
    3333  puts(
    34     "TA3 - rtems_region_get_segment - wait on 3950 byte segment from region 2"
     34    "TA3 - rtems_region_get_segment - wait on 3750 byte segment from region 2"
    3535  );
    3636  status = rtems_region_get_segment(
    3737    Region_id[ 2 ],
    38     3950,
     38    3750,
    3939    RTEMS_DEFAULT_OPTIONS,
    4040    RTEMS_NO_TIMEOUT,
Note: See TracChangeset for help on using the changeset viewer.