Changeset e0f75b1 in rtems


Ignore:
Timestamp:
Mar 30, 2004, 7:17:34 PM (16 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
378aed9
Parents:
6cd05d2
Message:

2004-03-30 David Querbach <querbach@…>

PR 597/tests

  • tm02/system.h, tm03/system.h, tm04/system.h, tm05/system.h, tm06/system.h, tm07/system.h, tm08/system.h, tm10/system.h, tm11/system.h, tm12/system.h, tm13/system.h, tm14/system.h, tm15/system.h, tm16/system.h, tm17/system.h, tm18/system.h, tm19/system.h, tm21/system.h, tm22/system.h, tm23/system.h, tm24/system.h, tm25/system.h, tm26/system.h, tm27/system.h, tm27/task1.c, tm29/system.h: The actual workspace needed by the tmtests depends on OPERATION_COUNT, but the definitions of CONFIGURE_MAXIMIM_xxx in the their system.h files do not reflect this. This results in unnecessary memory exhaustion on small-memory systems such as the SS555.
Location:
testsuites/tmtests
Files:
27 edited

Legend:

Unmodified
Added
Removed
  • testsuites/tmtests/ChangeLog

    r6cd05d2 re0f75b1  
     12004-03-30      David Querbach <querbach@realtime.bc.ca>
     2
     3        PR 597/tests
     4        * tm02/system.h, tm03/system.h, tm04/system.h, tm05/system.h,
     5        tm06/system.h, tm07/system.h, tm08/system.h, tm10/system.h,
     6        tm11/system.h, tm12/system.h, tm13/system.h, tm14/system.h,
     7        tm15/system.h, tm16/system.h, tm17/system.h, tm18/system.h,
     8        tm19/system.h, tm21/system.h, tm22/system.h, tm23/system.h,
     9        tm24/system.h, tm25/system.h, tm26/system.h, tm27/system.h,
     10        tm27/task1.c, tm29/system.h: The actual workspace needed by the
     11        tmtests depends on OPERATION_COUNT, but the definitions of
     12        CONFIGURE_MAXIMIM_xxx in the their system.h files do not reflect
     13        this. This results in unnecessary memory exhaustion on small-memory
     14        systems such as the SS555.
     15
    1162004-03-28      Ralf Corsepius <ralf_corsepius@rtems.org>
    217
  • testsuites/tmtests/tm02/system.h

    r6cd05d2 re0f75b1  
    3030#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER
    3131
    32 #define CONFIGURE_MAXIMUM_TASKS              111
    33 #define CONFIGURE_MAXIMUM_TIMERS             110
    34 #define CONFIGURE_MAXIMUM_SEMAPHORES         101
     32#define CONFIGURE_MAXIMUM_TASKS              (2 + OPERATION_COUNT)
     33#define CONFIGURE_MAXIMUM_SEMAPHORES         1
    3534#define CONFIGURE_TICKS_PER_TIMESLICE        0
    3635 
  • testsuites/tmtests/tm03/system.h

    r6cd05d2 re0f75b1  
    3030#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER
    3131
    32 #define CONFIGURE_MAXIMUM_TASKS              111
    33 #define CONFIGURE_MAXIMUM_TIMERS             110
    34 #define CONFIGURE_MAXIMUM_SEMAPHORES         101
     32#define CONFIGURE_MAXIMUM_TASKS              (3 + OPERATION_COUNT)
     33#define CONFIGURE_MAXIMUM_SEMAPHORES         1
    3534#define CONFIGURE_TICKS_PER_TIMESLICE        0
    3635 
  • testsuites/tmtests/tm04/system.h

    r6cd05d2 re0f75b1  
    3030#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER
    3131
    32 #define CONFIGURE_MAXIMUM_TASKS              111
     32#define CONFIGURE_MAXIMUM_TASKS              (4 + OPERATION_COUNT)
    3333#define CONFIGURE_MAXIMUM_SEMAPHORES         1
    3434#define CONFIGURE_TICKS_PER_TIMESLICE        0
  • testsuites/tmtests/tm05/system.h

    r6cd05d2 re0f75b1  
    3030#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER
    3131
    32 #define CONFIGURE_MAXIMUM_TASKS              111
    33 #define CONFIGURE_MAXIMUM_TIMERS             110
    34 #define CONFIGURE_MAXIMUM_SEMAPHORES         101
     32#define CONFIGURE_MAXIMUM_TASKS              (2 + OPERATION_COUNT)
    3533#define CONFIGURE_TICKS_PER_TIMESLICE        0
    3634 
  • testsuites/tmtests/tm06/system.h

    r6cd05d2 re0f75b1  
    3030#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER
    3131
    32 #define CONFIGURE_MAXIMUM_TASKS              111
    33 #define CONFIGURE_MAXIMUM_TIMERS             110
    34 #define CONFIGURE_MAXIMUM_SEMAPHORES         101
     32#define CONFIGURE_MAXIMUM_TASKS              (2 + OPERATION_COUNT)
    3533#define CONFIGURE_TICKS_PER_TIMESLICE        0
    3634 
  • testsuites/tmtests/tm07/system.h

    r6cd05d2 re0f75b1  
    3030#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER
    3131
    32 #define CONFIGURE_MAXIMUM_TASKS              111
    33 #define CONFIGURE_MAXIMUM_TIMERS             110
    34 #define CONFIGURE_MAXIMUM_SEMAPHORES         101
     32#define CONFIGURE_MAXIMUM_TASKS              (2 + OPERATION_COUNT)
    3533#define CONFIGURE_TICKS_PER_TIMESLICE        0
    3634 
  • testsuites/tmtests/tm08/system.h

    r6cd05d2 re0f75b1  
    3030#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER
    3131
    32 #define CONFIGURE_MAXIMUM_TASKS              111
    33 #define CONFIGURE_MAXIMUM_TIMERS             110
    34 #define CONFIGURE_MAXIMUM_SEMAPHORES         101
     32#define CONFIGURE_MAXIMUM_TASKS              3
    3533#define CONFIGURE_TICKS_PER_TIMESLICE        0
    3634 
  • testsuites/tmtests/tm10/system.h

    r6cd05d2 re0f75b1  
    3030#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER
    3131
    32 #define CONFIGURE_MAXIMUM_TASKS              110
     32#define CONFIGURE_MAXIMUM_TASKS              (2 + OPERATION_COUNT)
    3333#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES     1
    3434#define CONFIGURE_TICKS_PER_TIMESLICE        0
  • testsuites/tmtests/tm11/system.h

    r6cd05d2 re0f75b1  
    3030#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER
    3131
    32 #define CONFIGURE_MAXIMUM_TASKS              111
     32#define CONFIGURE_MAXIMUM_TASKS              (3 + OPERATION_COUNT)
    3333#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES     1
    3434#define CONFIGURE_TICKS_PER_TIMESLICE        0
  • testsuites/tmtests/tm12/system.h

    r6cd05d2 re0f75b1  
    3030#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER
    3131
    32 #define CONFIGURE_MAXIMUM_TASKS              111
     32#define CONFIGURE_MAXIMUM_TASKS              (3 + OPERATION_COUNT)
    3333#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES     1
    3434#define CONFIGURE_TICKS_PER_TIMESLICE        0
  • testsuites/tmtests/tm13/system.h

    r6cd05d2 re0f75b1  
    3030#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER
    3131
    32 #define CONFIGURE_MAXIMUM_TASKS              111
     32#define CONFIGURE_MAXIMUM_TASKS              (3 + OPERATION_COUNT)
    3333#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES     1
    3434#define CONFIGURE_TICKS_PER_TIMESLICE        0
  • testsuites/tmtests/tm14/system.h

    r6cd05d2 re0f75b1  
    3030#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER
    3131
    32 #define CONFIGURE_MAXIMUM_TASKS              111
     32#define CONFIGURE_MAXIMUM_TASKS              (3 + OPERATION_COUNT)
    3333#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES     1
    3434#define CONFIGURE_TICKS_PER_TIMESLICE        0
  • testsuites/tmtests/tm15/system.h

    r6cd05d2 re0f75b1  
    3030#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER
    3131
    32 #define CONFIGURE_MAXIMUM_TASKS              111
    33 #define CONFIGURE_MAXIMUM_MESSAGE_QUEUES     1
     32#define CONFIGURE_MAXIMUM_TASKS              (2 + OPERATION_COUNT)
    3433#define CONFIGURE_TICKS_PER_TIMESLICE        0
    3534 
  • testsuites/tmtests/tm16/system.h

    r6cd05d2 re0f75b1  
    3030#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER
    3131
    32 #define CONFIGURE_MAXIMUM_TASKS              111
    33 #define CONFIGURE_MAXIMUM_MESSAGE_QUEUES     1
     32#define CONFIGURE_MAXIMUM_TASKS              (3 + OPERATION_COUNT)
    3433#define CONFIGURE_TICKS_PER_TIMESLICE        0
    3534 
  • testsuites/tmtests/tm17/system.h

    r6cd05d2 re0f75b1  
    3030#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER
    3131
    32 #define CONFIGURE_MAXIMUM_TASKS              111
    33 #define CONFIGURE_MAXIMUM_MESSAGE_QUEUES     1
     32#define CONFIGURE_MAXIMUM_TASKS              (2 + OPERATION_COUNT)
    3433#define CONFIGURE_TICKS_PER_TIMESLICE        0
    3534 
  • testsuites/tmtests/tm18/system.h

    r6cd05d2 re0f75b1  
    3030#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER
    3131
    32 #define CONFIGURE_MAXIMUM_TASKS              111
    33 #define CONFIGURE_MAXIMUM_MESSAGE_QUEUES     1
     32#define CONFIGURE_MAXIMUM_TASKS              (2 + OPERATION_COUNT)
    3433#define CONFIGURE_TICKS_PER_TIMESLICE        0
    3534 
  • testsuites/tmtests/tm19/system.h

    r6cd05d2 re0f75b1  
    3030#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER
    3131
    32 #define CONFIGURE_MAXIMUM_TASKS              111
    33 #define CONFIGURE_MAXIMUM_MESSAGE_QUEUES     1
     32#define CONFIGURE_MAXIMUM_TASKS              4
    3433#define CONFIGURE_TICKS_PER_TIMESLICE        0
    3534 
  • testsuites/tmtests/tm21/system.h

    r6cd05d2 re0f75b1  
    3030#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER
    3131
    32 #define CONFIGURE_MAXIMUM_TASKS              102
    33 #define CONFIGURE_MAXIMUM_TIMERS             100
    34 #define CONFIGURE_MAXIMUM_SEMAPHORES         100
    35 #define CONFIGURE_MAXIMUM_MESSAGE_QUEUES     100
    36 #define CONFIGURE_MAXIMUM_PARTITIONS         100
    37 #define CONFIGURE_MAXIMUM_REGIONS            100
    38 #define CONFIGURE_MAXIMUM_PORTS              100
    39 #define CONFIGURE_MAXIMUM_PERIODS            100
     32#define CONFIGURE_MAXIMUM_TASKS              (2 + OPERATION_COUNT)
     33#define CONFIGURE_MAXIMUM_TIMERS             OPERATION_COUNT
     34#define CONFIGURE_MAXIMUM_SEMAPHORES         OPERATION_COUNT
     35#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES     OPERATION_COUNT
     36#define CONFIGURE_MAXIMUM_PARTITIONS         OPERATION_COUNT
     37#define CONFIGURE_MAXIMUM_REGIONS            OPERATION_COUNT
     38#define CONFIGURE_MAXIMUM_PORTS              OPERATION_COUNT
     39#define CONFIGURE_MAXIMUM_PERIODS            OPERATION_COUNT
    4040
    4141#define CONFIGURE_TICKS_PER_TIMESLICE        0
  • testsuites/tmtests/tm22/system.h

    r6cd05d2 re0f75b1  
    3030#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER
    3131
    32 #define CONFIGURE_MAXIMUM_TASKS              103
     32#define CONFIGURE_MAXIMUM_TASKS              4
    3333#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES     1
    3434#define CONFIGURE_TICKS_PER_TIMESLICE        0
  • testsuites/tmtests/tm23/system.h

    r6cd05d2 re0f75b1  
    3030#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER
    3131
    32 #define CONFIGURE_MAXIMUM_TASKS              111
    33 #define CONFIGURE_MAXIMUM_TIMERS             110
     32#define CONFIGURE_MAXIMUM_TASKS              (1 + OPERATION_COUNT)
     33#define CONFIGURE_MAXIMUM_TIMERS             OPERATION_COUNT
    3434#define CONFIGURE_TICKS_PER_TIMESLICE        0
    3535 
  • testsuites/tmtests/tm24/system.h

    r6cd05d2 re0f75b1  
    3030#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER
    3131
    32 #define CONFIGURE_MAXIMUM_TASKS              111
     32#define CONFIGURE_MAXIMUM_TASKS              (2 + OPERATION_COUNT)
    3333#define CONFIGURE_TICKS_PER_TIMESLICE        0
    3434 
  • testsuites/tmtests/tm25/system.h

    r6cd05d2 re0f75b1  
    3030#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER
    3131
    32 #define CONFIGURE_MAXIMUM_TASKS              111
     32#define CONFIGURE_MAXIMUM_TASKS              (2 + OPERATION_COUNT)
    3333#define CONFIGURE_MAXIMUM_SEMAPHORES         1
    3434#define CONFIGURE_TICKS_PER_TIMESLICE        0
  • testsuites/tmtests/tm26/system.h

    r6cd05d2 re0f75b1  
    3030#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER
    3131
    32 #define CONFIGURE_MAXIMUM_TASKS              111
     32#define CONFIGURE_MAXIMUM_TASKS              (6 + OPERATION_COUNT)
    3333#define CONFIGURE_MAXIMUM_SEMAPHORES         1
    3434#define CONFIGURE_TICKS_PER_TIMESLICE        0
  • testsuites/tmtests/tm27/system.h

    r6cd05d2 re0f75b1  
    3030#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER
    3131
    32 #define CONFIGURE_MAXIMUM_TASKS              10
     32#define CONFIGURE_MAXIMUM_TASKS              3
    3333#define CONFIGURE_TICKS_PER_TIMESLICE        0
    3434 
  • testsuites/tmtests/tm27/task1.c

    r6cd05d2 re0f75b1  
    2222
    2323#include <bsp.h>
     24
     25#if defined(Declarations_for_tm27)
     26Declarations_for_tm27
     27#endif
    2428
    2529rtems_task Task_1(
  • testsuites/tmtests/tm29/system.h

    r6cd05d2 re0f75b1  
    3030#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER
    3131
    32 #define CONFIGURE_MAXIMUM_TASKS              111
    33 #define CONFIGURE_MAXIMUM_PERIODS            111
     32#define CONFIGURE_MAXIMUM_TASKS              (2 + OPERATION_COUNT)
     33#define CONFIGURE_MAXIMUM_PERIODS            OPERATION_COUNT
    3434#define CONFIGURE_TICKS_PER_TIMESLICE        0
    3535 
Note: See TracChangeset for help on using the changeset viewer.