Changeset 8b0e752 in rtems for testsuites


Ignore:
Timestamp:
Dec 10, 2018, 12:44:53 PM (12 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
0f5b2c09
Parents:
877048c
git-author:
Sebastian Huber <sebastian.huber@…> (12/10/18 12:44:53)
git-committer:
Sebastian Huber <sebastian.huber@…> (12/14/18 05:57:55)
Message:

score: Remove Objects_Information::auto_extend

Use Objects_Information::objects_per_block to provide this information.
Add and use _Objects_Is_auto_extend().

Update #3621.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/samples/unlimited/test1.c

    r877048c r8b0e752  
    3131void test1()
    3232{
    33   bool                 auto_extend;
     33  Objects_Maximum      objects_per_block;
    3434  rtems_status_code    result;
    3535  uint32_t             task_count = 0;
     
    5050  the_information =
    5151    _Objects_Information_table[OBJECTS_CLASSIC_API][OBJECTS_RTEMS_TASKS];
    52   auto_extend = the_information->auto_extend;
    53   the_information->auto_extend = false;
     52  objects_per_block = the_information->objects_per_block;
     53  the_information->objects_per_block = 0;
    5454
    5555  while (task_count < MAX_TASKS)
     
    102102  destroy_all_tasks("TEST1");
    103103
    104   the_information->auto_extend = auto_extend;
     104  the_information->objects_per_block = objects_per_block;
    105105
    106106  printf( " TEST1 : completed\n" );
Note: See TracChangeset for help on using the changeset viewer.