Changeset 3a4ae6c in rtems for testsuites/tmtests


Ignore:
Timestamp:
Sep 11, 1995, 7:35:39 PM (25 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
ced11f99
Parents:
5072b07
Message:

The word "RTEMS" almost completely removed from the core.

Configuration Table Template file added and all tests
modified to use this. All gvar.h and conftbl.h files
removed from test directories.

Configuration parameter maximum_devices added.

Core semaphore and mutex handlers added and RTEMS API Semaphore
Manager updated to reflect this.

Initialization sequence changed to invoke API specific initialization
routines. Initialization tasks table now owned by RTEMS Tasks Manager.

Added user extension for post-switch.

Utilized user extensions to implement API specific functionality
like signal dispatching.

Added extensions to the System Initialization Thread so that an
API can register a function to be invoked while the system
is being initialized. These are largely equivalent to the
pre-driver and post-driver hooks.

Added the Modules file oar-go32_p5, modified oar-go32, and modified
the file make/custom/go32.cfg to look at an environment varable which
determines what CPU model is being used.

All BSPs updated to reflect named devices and clock driver's IOCTL
used by the Shared Memory Driver. Also merged clock isr into
main file and removed ckisr.c where possible.

Updated spsize to reflect new and moved variables.

Makefiles for the executive source and include files updated to show
break down of files into Core, RTEMS API, and Neither.

Header and inline files installed into subdirectory based on whether
logically in the Core or a part of the RTEMS API.

Location:
testsuites/tmtests
Files:
63 edited

Legend:

Unmodified
Added
Removed
  • testsuites/tmtests/include/timesys.h

    r5072b07 r3a4ae6c  
    1 /*  timesystem.h
     1/*  timesys.h
    22 *
    3  *  This include file contains information that is included in every
    4  *  function in the Time Suite.
     3 *  This header file contains the global variables for the Time
     4 *  suite.
    55 *
    66 *  COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994.
     
    1515 */
    1616
     17#include <tmacros.h>
    1718
    18 /* constants */
     19/*
     20 *   How many times a particular operation is performed while timed.
     21 */
     22 
     23#define OPERATION_COUNT 100
     24#define IT_COUNT        100
    1925
    20 #define OPERATION_COUNT 100
    21 #define IT_COUNT 100
     26/* functions */
    2227
    23 /* Miscellaneous */
     28#define put_time( _message, _total_time, \
     29                  _iterations, _loop_overhead, _overhead ) \
     30    printf( \
     31      "%s %d\n", \
     32      (_message), \
     33      (((_total_time) - (_loop_overhead)) / (_iterations)) - (_overhead) \
     34    )
    2435
    25 #define FOREVER 1                  /* infinite loop */
    26 #define EXTERN  extern             /* external definition */
     36#if  defined(STACK_CHECKER_ON) || defined(RTEMS_DEBUG)
     37#define Print_Warning() \
     38  do { \
     39    puts( \
     40      "\n" \
     41      "THE TIMES REPORTED BY THIS TEST INCLUDE DEBUG CODE!\n" \
     42      "\n" \
     43    ); \
     44  } while (0)
    2745
    28 /* structures */
     46#else
     47#define Print_Warning()
     48#endif
     49
     50/* variables */
     51
     52TEST_EXTERN volatile rtems_unsigned32 end_time;   /* ending time variable */
     53TEST_EXTERN volatile rtems_unsigned32 overhead;   /* loop overhead variable */
     54
     55TEST_EXTERN rtems_id   Task_id[ OPERATION_COUNT+1 ];   /* array of task ids */
     56TEST_EXTERN rtems_id   Task_name[ OPERATION_COUNT+1 ]; /* array of task names */
    2957
    3058/* end of include file */
  • testsuites/tmtests/tm01/system.h

    r5072b07 r3a4ae6c  
    1818#include <tmacros.h>
    1919
     20/* functions */
     21
     22rtems_task Init(
     23  rtems_task_argument argument
     24);
     25
    2026#include <timesys.h>
    21 #include <timegvar.h>
     27
     28/* configuration information */
     29 
     30#define CONFIGURE_TMTEST
     31 
     32#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     33#define CONFIGURE_TEST_NEEDS_TIMER_DRIVER
     34
     35#define CONFIGURE_MAXIMUM_TASKS              2
     36#define CONFIGURE_MAXIMUM_SEMAPHORES         1
     37#define CONFIGURE_TICKS_PER_TIMESLICE        0
     38 
     39#include <confdefs.h>
     40
     41/* end of include file */
  • testsuites/tmtests/tm01/task1.c

    r5072b07 r3a4ae6c  
    1212 */
    1313
     14#define TEST_INIT
    1415#include "system.h"
    15 #undef EXTERN
    16 #define EXTERN
    17 #include "conftbl.h"
    18 #include "gvar.h"
    1916
    2017rtems_task Test_task(
     
    2724{
    2825  rtems_status_code status;
     26
     27  Print_Warning();
    2928
    3029  puts( "\n\n*** TIME TEST 1 ***" );
     
    186185  );
    187186
     187  puts( "*** END OF TEST 1 ***" );
    188188  exit( 0 );
    189189}
  • testsuites/tmtests/tm02/system.h

    r5072b07 r3a4ae6c  
    1818#include <tmacros.h>
    1919
     20/* functions */
     21
     22rtems_task Init(
     23  rtems_task_argument argument
     24);
     25
    2026#include <timesys.h>
    21 #include <timegvar.h>
     27
     28/* configuration information */
     29 
     30#define CONFIGURE_TMTEST
     31 
     32#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     33#define CONFIGURE_TEST_NEEDS_TIMER_DRIVER
     34
     35#define CONFIGURE_MAXIMUM_TASKS              111
     36#define CONFIGURE_MAXIMUM_TIMERS             110
     37#define CONFIGURE_MAXIMUM_SEMAPHORES         101
     38#define CONFIGURE_TICKS_PER_TIMESLICE        0
     39 
     40#include <confdefs.h>
     41
     42/* end of include file */
  • testsuites/tmtests/tm02/task1.c

    r5072b07 r3a4ae6c  
    1212 */
    1313
     14#define TEST_INIT
    1415#include "system.h"
    15 #undef EXTERN
    16 #define EXTERN
    17 #include "conftbl.h"
    18 #include "gvar.h"
    1916
    2017rtems_id High_id;
     
    4239{
    4340  rtems_status_code status;
     41
     42  Print_Warning();
    4443
    4544  puts( "\n\n*** TIME TEST 2 ***" );
     
    154153    CALLING_OVERHEAD_SEMAPHORE_OBTAIN
    155154  );
     155
     156  puts( "*** END OF TEST 2 ***" );
    156157  exit( 0 );
    157158}
  • testsuites/tmtests/tm03/system.h

    r5072b07 r3a4ae6c  
    1818#include <tmacros.h>
    1919
     20/* functions */
     21
     22rtems_task Init(
     23  rtems_task_argument argument
     24);
     25
    2026#include <timesys.h>
    21 #include <timegvar.h>
     27
     28/* configuration information */
     29 
     30#define CONFIGURE_TMTEST
     31 
     32#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     33#define CONFIGURE_TEST_NEEDS_TIMER_DRIVER
     34
     35#define CONFIGURE_MAXIMUM_TASKS              111
     36#define CONFIGURE_MAXIMUM_TIMERS             110
     37#define CONFIGURE_MAXIMUM_SEMAPHORES         101
     38#define CONFIGURE_TICKS_PER_TIMESLICE        0
     39 
     40#include <confdefs.h>
     41
     42/* end of include file */
  • testsuites/tmtests/tm03/task1.c

    r5072b07 r3a4ae6c  
    1212 */
    1313
     14#define TEST_INIT
    1415#include "system.h"
    15 #undef EXTERN
    16 #define EXTERN
    17 #include "conftbl.h"
    18 #include "gvar.h"
    1916
    2017rtems_id Semaphore_id;
     
    3835  rtems_status_code status;
    3936  rtems_id          task_id;
     37
     38  Print_Warning();
    4039
    4140  puts( "\n\n*** TIME TEST 3 ***" );
     
    147146    CALLING_OVERHEAD_SEMAPHORE_RELEASE
    148147  );
     148
     149  puts( "*** END OF TEST 3 ***" );
    149150  exit( 0 );
    150151}
  • testsuites/tmtests/tm04/system.h

    r5072b07 r3a4ae6c  
    1818#include <tmacros.h>
    1919
     20/* functions */
     21
     22rtems_task Init(
     23  rtems_task_argument argument
     24);
     25
    2026#include <timesys.h>
    21 #include <timegvar.h>
     27
     28/* configuration information */
     29 
     30#define CONFIGURE_TMTEST
     31 
     32#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     33#define CONFIGURE_TEST_NEEDS_TIMER_DRIVER
     34
     35#define CONFIGURE_MAXIMUM_TASKS              111
     36#define CONFIGURE_MAXIMUM_SEMAPHORES         1
     37#define CONFIGURE_TICKS_PER_TIMESLICE        0
     38 
     39#include <confdefs.h>
     40
     41/* end of include file */
  • testsuites/tmtests/tm04/task1.c

    r5072b07 r3a4ae6c  
    1212 */
    1313
     14#define TEST_INIT
    1415#include "system.h"
    15 #undef EXTERN
    16 #define EXTERN
    17 #include "conftbl.h"
    18 #include "gvar.h"
    1916
    2017rtems_id         Semaphore_id;
     
    4239{
    4340  rtems_status_code status;
     41
     42  Print_Warning();
    4443
    4544  puts( "\n\n*** TIME TEST 4 ***" );
     
    329328  );
    330329
     330  puts( "*** END OF TEST 4 ***" );
    331331  exit( 0 );
    332332}
  • testsuites/tmtests/tm05/system.h

    r5072b07 r3a4ae6c  
    1818#include <tmacros.h>
    1919
     20/* functions */
     21
     22rtems_task Init(
     23  rtems_task_argument argument
     24);
     25
    2026#include <timesys.h>
    21 #include <timegvar.h>
     27
     28/* configuration information */
     29 
     30#define CONFIGURE_TMTEST
     31 
     32#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     33#define CONFIGURE_TEST_NEEDS_TIMER_DRIVER
     34
     35#define CONFIGURE_MAXIMUM_TASKS              111
     36#define CONFIGURE_MAXIMUM_TIMERS             110
     37#define CONFIGURE_MAXIMUM_SEMAPHORES         101
     38#define CONFIGURE_TICKS_PER_TIMESLICE        0
     39 
     40#include <confdefs.h>
     41
     42/* end of include file */
  • testsuites/tmtests/tm05/task1.c

    r5072b07 r3a4ae6c  
    1212 */
    1313
     14#define TEST_INIT
    1415#include "system.h"
    15 #undef EXTERN
    16 #define EXTERN
    17 #include "conftbl.h"
    18 #include "gvar.h"
    1916
    2017rtems_id         Task_id[OPERATION_COUNT+1];
     
    4037{
    4138  rtems_status_code status;
     39
     40  Print_Warning();
    4241
    4342  puts( "\n\n*** TIME TEST 5 ***" );
     
    9998  );
    10099
     100  puts( "*** END OF TEST 5 ***" );
    101101  exit( 0 );
    102102}
  • testsuites/tmtests/tm06/system.h

    r5072b07 r3a4ae6c  
    1818#include <tmacros.h>
    1919
     20/* functions */
     21
     22rtems_task Init(
     23  rtems_task_argument argument
     24);
     25
    2026#include <timesys.h>
    21 #include <timegvar.h>
     27
     28/* configuration information */
     29 
     30#define CONFIGURE_TMTEST
     31 
     32#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     33#define CONFIGURE_TEST_NEEDS_TIMER_DRIVER
     34
     35#define CONFIGURE_MAXIMUM_TASKS              111
     36#define CONFIGURE_MAXIMUM_TIMERS             110
     37#define CONFIGURE_MAXIMUM_SEMAPHORES         101
     38#define CONFIGURE_TICKS_PER_TIMESLICE        0
     39 
     40#include <confdefs.h>
     41
     42/* end of include file */
  • testsuites/tmtests/tm06/task1.c

    r5072b07 r3a4ae6c  
    1212 */
    1313
     14#define TEST_INIT
    1415#include "system.h"
    15 #undef EXTERN
    16 #define EXTERN
    17 #include "conftbl.h"
    18 #include "gvar.h"
    1916
    2017rtems_id Task_id[ OPERATION_COUNT + 1 ];
     
    3734{
    3835  rtems_status_code status;
     36
     37  Print_Warning();
    3938
    4039  puts( "\n\n*** TIME TEST 6 ***" );
     
    151150  );
    152151
     152  puts( "*** END OF TEST 6 ***" );
    153153  exit( 0 );
    154154}
  • testsuites/tmtests/tm07/system.h

    r5072b07 r3a4ae6c  
    1818#include <tmacros.h>
    1919
     20/* functions */
     21
     22rtems_task Init(
     23  rtems_task_argument argument
     24);
     25
    2026#include <timesys.h>
    21 #include <timegvar.h>
     27
     28/* configuration information */
     29 
     30#define CONFIGURE_TMTEST
     31 
     32#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     33#define CONFIGURE_TEST_NEEDS_TIMER_DRIVER
     34
     35#define CONFIGURE_MAXIMUM_TASKS              111
     36#define CONFIGURE_MAXIMUM_TIMERS             110
     37#define CONFIGURE_MAXIMUM_SEMAPHORES         101
     38#define CONFIGURE_TICKS_PER_TIMESLICE        0
     39 
     40#include <confdefs.h>
     41
     42/* end of include file */
  • testsuites/tmtests/tm07/task1.c

    r5072b07 r3a4ae6c  
    1212 */
    1313
     14#define TEST_INIT
    1415#include "system.h"
    15 #undef EXTERN
    16 #define EXTERN
    17 #include "conftbl.h"
    18 #include "gvar.h"
    1916
    2017rtems_id Task_id[OPERATION_COUNT+1], task_index;
     
    3936{
    4037  rtems_status_code status;
     38
     39  Print_Warning();
    4140
    4241  puts( "\n\n*** TIME TEST 7 ***" );
     
    9594    (void) rtems_task_suspend( RTEMS_SELF );
    9695
     96  puts( "*** END OF TEST 7 ***" );
    9797  exit( 0 );
    9898}
  • testsuites/tmtests/tm08/system.h

    r5072b07 r3a4ae6c  
    1818#include <tmacros.h>
    1919
     20/* functions */
     21
     22rtems_task Init(
     23  rtems_task_argument argument
     24);
     25
    2026#include <timesys.h>
    21 #include <timegvar.h>
     27
     28/* configuration information */
     29 
     30#define CONFIGURE_TMTEST
     31 
     32#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     33#define CONFIGURE_TEST_NEEDS_TIMER_DRIVER
     34
     35#define CONFIGURE_MAXIMUM_TASKS              111
     36#define CONFIGURE_MAXIMUM_TIMERS             110
     37#define CONFIGURE_MAXIMUM_SEMAPHORES         101
     38#define CONFIGURE_TICKS_PER_TIMESLICE        0
     39 
     40#include <confdefs.h>
     41
     42/* end of include file */
  • testsuites/tmtests/tm08/task1.c

    r5072b07 r3a4ae6c  
    1212 */
    1313
     14#define TEST_INIT
    1415#include "system.h"
    15 #undef EXTERN
    16 #define EXTERN
    17 #include "conftbl.h"
    18 #include "gvar.h"
    1916
    2017rtems_id Test_task_id;
     
    3330{
    3431  rtems_status_code status;
     32
     33  Print_Warning();
    3534
    3635  puts( "\n\n*** TIME TEST 8 ***" );
     
    235234  );
    236235
     236  puts( "*** END OF TEST 8 ***" );
    237237  exit( 0 );
    238238}
  • testsuites/tmtests/tm09/system.h

    r5072b07 r3a4ae6c  
    1818#include <tmacros.h>
    1919
     20/* functions */
     21
     22rtems_task Init(
     23  rtems_task_argument argument
     24);
     25
    2026#include <timesys.h>
    21 #include <timegvar.h>
     27
     28/* configuration information */
     29 
     30#define CONFIGURE_TMTEST
     31 
     32#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     33#define CONFIGURE_TEST_NEEDS_TIMER_DRIVER
     34
     35#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES     1
     36#define CONFIGURE_TICKS_PER_TIMESLICE        0
     37 
     38#include <confdefs.h>
     39
     40/* end of include file */
  • testsuites/tmtests/tm09/task1.c

    r5072b07 r3a4ae6c  
    1212 */
    1313
     14#define TEST_INIT
    1415#include "system.h"
    15 #undef EXTERN
    16 #define EXTERN
    17 #include "conftbl.h"
    18 #include "gvar.h"
    1916
    2017rtems_id Queue_id;
     
    3027{
    3128  rtems_status_code status;
     29
     30  Print_Warning();
    3231
    3332  puts( "\n\n*** TIME TEST 9 ***" );
     
    8685  );
    8786
     87  puts( "*** END OF TEST 9 ***" );
    8888  exit( 0 );
    8989}
  • testsuites/tmtests/tm10/system.h

    r5072b07 r3a4ae6c  
    1818#include <tmacros.h>
    1919
     20/* functions */
     21
     22rtems_task Init(
     23  rtems_task_argument argument
     24);
     25
    2026#include <timesys.h>
    21 #include <timegvar.h>
     27
     28/* configuration information */
     29 
     30#define CONFIGURE_TMTEST
     31 
     32#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     33#define CONFIGURE_TEST_NEEDS_TIMER_DRIVER
     34
     35#define CONFIGURE_MAXIMUM_TASKS              110
     36#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES     1
     37#define CONFIGURE_TICKS_PER_TIMESLICE        0
     38 
     39#include <confdefs.h>
     40
     41/* end of include file */
  • testsuites/tmtests/tm10/task1.c

    r5072b07 r3a4ae6c  
    1212 */
    1313
     14#define TEST_INIT
    1415#include "system.h"
    15 #undef EXTERN
    16 #define EXTERN
    17 #include "conftbl.h"
    18 #include "gvar.h"
    1916
    2017rtems_id Queue_id;
     
    4037{
    4138  rtems_status_code status;
     39
     40  Print_Warning();
    4241
    4342  puts( "\n\n*** TIME TEST 10 ***" );
     
    162161  );
    163162
     163  puts( "*** END OF TEST 10 ***" );
    164164  exit( 0 );
    165165}
  • testsuites/tmtests/tm11/system.h

    r5072b07 r3a4ae6c  
    1818#include <tmacros.h>
    1919
     20/* functions */
     21
     22rtems_task Init(
     23  rtems_task_argument argument
     24);
     25
    2026#include <timesys.h>
    21 #include <timegvar.h>
     27
     28/* configuration information */
     29 
     30#define CONFIGURE_TMTEST
     31 
     32#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     33#define CONFIGURE_TEST_NEEDS_TIMER_DRIVER
     34
     35#define CONFIGURE_MAXIMUM_TASKS              111
     36#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES     1
     37#define CONFIGURE_TICKS_PER_TIMESLICE        0
     38 
     39#include <confdefs.h>
     40
     41/* end of include file */
  • testsuites/tmtests/tm11/task1.c

    r5072b07 r3a4ae6c  
    1212 */
    1313
     14#define TEST_INIT
    1415#include "system.h"
    15 #undef EXTERN
    16 #define EXTERN
    17 #include "conftbl.h"
    18 #include "gvar.h"
    1916
    2017rtems_id Queue_id;
     
    4138  rtems_status_code status;
    4239  rtems_id id;
     40
     41  Print_Warning();
    4342
    4443  puts( "\n\n*** TIME TEST 11 ***" );
     
    152151  );
    153152
     153  puts( "*** END OF TEST 11 ***" );
    154154  exit( 0 );
    155155}
  • testsuites/tmtests/tm12/system.h

    r5072b07 r3a4ae6c  
    1818#include <tmacros.h>
    1919
     20/* functions */
     21
     22rtems_task Init(
     23  rtems_task_argument argument
     24);
     25
    2026#include <timesys.h>
    21 #include <timegvar.h>
     27
     28/* configuration information */
     29 
     30#define CONFIGURE_TMTEST
     31 
     32#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     33#define CONFIGURE_TEST_NEEDS_TIMER_DRIVER
     34
     35#define CONFIGURE_MAXIMUM_TASKS              111
     36#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES     1
     37#define CONFIGURE_TICKS_PER_TIMESLICE        0
     38 
     39#include <confdefs.h>
     40
     41/* end of include file */
  • testsuites/tmtests/tm12/task1.c

    r5072b07 r3a4ae6c  
    1212 */
    1313
     14#define TEST_INIT
    1415#include "system.h"
    15 #undef EXTERN
    16 #define EXTERN
    17 #include "conftbl.h"
    18 #include "gvar.h"
    1916
    2017rtems_id Queue_id;
     
    4138  rtems_id          task_id;
    4239  rtems_status_code status;
     40
     41  Print_Warning();
    4342
    4443  puts( "\n\n*** TIME TEST 12 ***" );
     
    128127  );
    129128
     129  puts( "*** END OF TEST 12 ***" );
    130130  exit( 0 );
    131131}
  • testsuites/tmtests/tm13/system.h

    r5072b07 r3a4ae6c  
    1818#include <tmacros.h>
    1919
     20/* functions */
     21
     22rtems_task Init(
     23  rtems_task_argument argument
     24);
     25
    2026#include <timesys.h>
    21 #include <timegvar.h>
     27
     28/* configuration information */
     29 
     30#define CONFIGURE_TMTEST
     31 
     32#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     33#define CONFIGURE_TEST_NEEDS_TIMER_DRIVER
     34
     35#define CONFIGURE_MAXIMUM_TASKS              111
     36#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES     1
     37#define CONFIGURE_TICKS_PER_TIMESLICE        0
     38 
     39#include <confdefs.h>
     40
     41/* end of include file */
  • testsuites/tmtests/tm13/task1.c

    r5072b07 r3a4ae6c  
    1212 */
    1313
     14#define TEST_INIT
    1415#include "system.h"
    15 #undef EXTERN
    16 #define EXTERN
    17 #include "conftbl.h"
    18 #include "gvar.h"
    1916
    2017rtems_id Queue_id;
     
    4037  rtems_status_code status;
    4138  rtems_id id;
     39
     40  Print_Warning();
    4241
    4342  puts( "\n\n*** TIME TEST 13 ***" );
     
    151150  );
    152151
     152  puts( "*** END OF TEST 13 ***" );
    153153  exit( 0 );
    154154}
  • testsuites/tmtests/tm14/system.h

    r5072b07 r3a4ae6c  
    1818#include <tmacros.h>
    1919
     20/* functions */
     21
     22rtems_task Init(
     23  rtems_task_argument argument
     24);
     25
    2026#include <timesys.h>
    21 #include <timegvar.h>
     27
     28/* configuration information */
     29 
     30#define CONFIGURE_TMTEST
     31 
     32#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     33#define CONFIGURE_TEST_NEEDS_TIMER_DRIVER
     34
     35#define CONFIGURE_MAXIMUM_TASKS              111
     36#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES     1
     37#define CONFIGURE_TICKS_PER_TIMESLICE        0
     38 
     39#include <confdefs.h>
     40
     41/* end of include file */
  • testsuites/tmtests/tm14/task1.c

    r5072b07 r3a4ae6c  
    1212 */
    1313
     14#define TEST_INIT
    1415#include "system.h"
    15 #undef EXTERN
    16 #define EXTERN
    17 #include "conftbl.h"
    18 #include "gvar.h"
    1916
    2017rtems_id Queue_id;
     
    4138  rtems_id          task_id;
    4239  rtems_status_code status;
     40
     41  Print_Warning();
    4342
    4443  puts( "\n\n*** TIME TEST 14 ***" );
     
    128127  );
    129128
     129  puts( "*** END OF TEST 14 ***" );
    130130  exit( 0 );
    131131}
  • testsuites/tmtests/tm15/system.h

    r5072b07 r3a4ae6c  
    1818#include <tmacros.h>
    1919
     20/* functions */
     21
     22rtems_task Init(
     23  rtems_task_argument argument
     24);
     25
    2026#include <timesys.h>
    21 #include <timegvar.h>
     27
     28/* configuration information */
     29 
     30#define CONFIGURE_TMTEST
     31 
     32#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     33#define CONFIGURE_TEST_NEEDS_TIMER_DRIVER
     34
     35#define CONFIGURE_MAXIMUM_TASKS              111
     36#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES     1
     37#define CONFIGURE_TICKS_PER_TIMESLICE        0
     38 
     39#include <confdefs.h>
     40
     41/* end of include file */
  • testsuites/tmtests/tm15/task1.c

    r5072b07 r3a4ae6c  
    1212 */
    1313
     14#define TEST_INIT
    1415#include "system.h"
    15 #undef EXTERN
    16 #define EXTERN
    17 #include "conftbl.h"
    18 #include "gvar.h"
    1916
    2017rtems_unsigned32 time_set, eventout;
     
    3532{
    3633  rtems_status_code status;
     34
     35  Print_Warning();
    3736
    3837  puts( "\n\n*** TIME TEST 15 ***" );
     
    194193  );
    195194
     195  puts( "*** END OF TEST 15 ***" );
    196196  exit( 0 );
    197197}
  • testsuites/tmtests/tm16/system.h

    r5072b07 r3a4ae6c  
    1818#include <tmacros.h>
    1919
     20/* functions */
     21
     22rtems_task Init(
     23  rtems_task_argument argument
     24);
     25
    2026#include <timesys.h>
    21 #include <timegvar.h>
     27
     28/* configuration information */
     29 
     30#define CONFIGURE_TMTEST
     31 
     32#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     33#define CONFIGURE_TEST_NEEDS_TIMER_DRIVER
     34
     35#define CONFIGURE_MAXIMUM_TASKS              111
     36#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES     1
     37#define CONFIGURE_TICKS_PER_TIMESLICE        0
     38 
     39#include <confdefs.h>
     40
     41/* end of include file */
  • testsuites/tmtests/tm16/task1.c

    r5072b07 r3a4ae6c  
    1212 */
    1313
     14#define TEST_INIT
    1415#include "system.h"
    15 #undef EXTERN
    16 #define EXTERN
    17 #include "conftbl.h"
    18 #include "gvar.h"
    1916
    2017rtems_unsigned32 Task_count;
     
    3835  rtems_id          id;
    3936  rtems_status_code status;
     37
     38  Print_Warning();
    4039
    4140  puts( "\n\n*** TIME TEST 16 ***" );
     
    145144  );
    146145
     146  puts( "*** END OF TEST 16 ***" );
    147147  exit( 0 );
    148148}
  • testsuites/tmtests/tm17/system.h

    r5072b07 r3a4ae6c  
    1818#include <tmacros.h>
    1919
     20/* functions */
     21
     22rtems_task Init(
     23  rtems_task_argument argument
     24);
     25
    2026#include <timesys.h>
    21 #include <timegvar.h>
     27
     28/* configuration information */
     29 
     30#define CONFIGURE_TMTEST
     31 
     32#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     33#define CONFIGURE_TEST_NEEDS_TIMER_DRIVER
     34
     35#define CONFIGURE_MAXIMUM_TASKS              111
     36#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES     1
     37#define CONFIGURE_TICKS_PER_TIMESLICE        0
     38 
     39#include <confdefs.h>
     40
     41/* end of include file */
  • testsuites/tmtests/tm17/task1.c

    r5072b07 r3a4ae6c  
    1212 */
    1313
     14#define TEST_INIT
    1415#include "system.h"
    15 #undef EXTERN
    16 #define EXTERN
    17 #include "conftbl.h"
    18 #include "gvar.h"
    1916
    2017rtems_unsigned32 Task_count;
     
    4037  rtems_unsigned32  index;
    4138  rtems_status_code status;
     39
     40  Print_Warning();
    4241
    4342  puts( "\n\n*** TIME TEST 17 ***" );
     
    124123  );
    125124
     125  puts( "*** END OF TEST 17 ***" );
    126126  exit( 0 );
    127127}
  • testsuites/tmtests/tm18/system.h

    r5072b07 r3a4ae6c  
    1818#include <tmacros.h>
    1919
     20/* functions */
     21
     22rtems_task Init(
     23  rtems_task_argument argument
     24);
     25
    2026#include <timesys.h>
    21 #include <timegvar.h>
     27
     28/* configuration information */
     29 
     30#define CONFIGURE_TMTEST
     31 
     32#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     33#define CONFIGURE_TEST_NEEDS_TIMER_DRIVER
     34
     35#define CONFIGURE_MAXIMUM_TASKS              111
     36#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES     1
     37#define CONFIGURE_TICKS_PER_TIMESLICE        0
     38 
     39#include <confdefs.h>
     40
     41/* end of include file */
  • testsuites/tmtests/tm18/task1.c

    r5072b07 r3a4ae6c  
    1212 */
    1313
     14#define TEST_INIT
    1415#include "system.h"
    15 #undef EXTERN
    16 #define EXTERN
    17 #include "conftbl.h"
    18 #include "gvar.h"
    1916
    2017rtems_unsigned32 taskcount;
     
    4138{
    4239  rtems_status_code status;
     40
     41  Print_Warning();
    4342
    4443  puts( "\n\n*** TIME TEST 18 ***" );
     
    109108  );
    110109
     110  puts( "*** END OF TEST 18 ***" );
    111111  exit( 0 );
    112112}
  • testsuites/tmtests/tm19/system.h

    r5072b07 r3a4ae6c  
    1818#include <tmacros.h>
    1919
     20/* functions */
     21
     22rtems_task Init(
     23  rtems_task_argument argument
     24);
     25
    2026#include <timesys.h>
    21 #include <timegvar.h>
     27
     28/* configuration information */
     29 
     30#define CONFIGURE_TMTEST
     31 
     32#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     33#define CONFIGURE_TEST_NEEDS_TIMER_DRIVER
     34
     35#define CONFIGURE_MAXIMUM_TASKS              111
     36#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES     1
     37#define CONFIGURE_TICKS_PER_TIMESLICE        0
     38 
     39#include <confdefs.h>
     40
     41/* end of include file */
  • testsuites/tmtests/tm19/task1.c

    r5072b07 r3a4ae6c  
    1212 */
    1313
     14#define TEST_INIT
    1415#include "system.h"
    15 #undef EXTERN
    16 #define EXTERN
    17 #include "conftbl.h"
    18 #include "gvar.h"
    1916
    2017rtems_asr Process_asr_for_pass_1(
     
    4340{
    4441  rtems_status_code status;
     42
     43  Print_Warning();
    4544
    4645  puts( "\n\n*** TIME TEST 19 ***" );
     
    209208  );
    210209
     210  puts( "*** END OF TEST 19 ***" );
    211211  exit( 0 );
    212212}
  • testsuites/tmtests/tm20/system.h

    r5072b07 r3a4ae6c  
    1818#include <tmacros.h>
    1919
     20/* functions */
     21
     22rtems_task Init(
     23  rtems_task_argument argument
     24);
     25
    2026#include <timesys.h>
    21 #include <timegvar.h>
     27
     28/* configuration information */
     29 
     30#define CONFIGURE_TMTEST
     31 
     32#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     33#define CONFIGURE_TEST_NEEDS_TIMER_DRIVER
     34#define CONFIGURE_TEST_NEEDS_STUB_DRIVER
     35
     36#define CONFIGURE_MAXIMUM_PARTITIONS         1
     37#define CONFIGURE_MAXIMUM_REGIONS            1
     38#define CONFIGURE_TICKS_PER_TIMESLICE        0
     39 
     40#include <confdefs.h>
     41
     42/* end of include file */
  • testsuites/tmtests/tm20/task1.c

    r5072b07 r3a4ae6c  
    1212 */
    1313
     14#define TEST_INIT
    1415#include "system.h"
    15 #undef EXTERN
    16 #define EXTERN
    17 #include "conftbl.h"
    18 #include "gvar.h"
    19 
    20 rtems_device_major_number _STUB_major = 0;
     16
     17rtems_device_major_number _STUB_major = 1;
    2118
    2219rtems_id         Region_id;
     
    5047{
    5148  rtems_status_code status;
     49
     50  Print_Warning();
    5251
    5352  puts( "\n\n*** TIME TEST 20 ***" );
     
    426425  );
    427426
     427  puts( "*** END OF TEST 20 ***" );
    428428  exit( 0 );
    429429}
  • testsuites/tmtests/tm21/system.h

    r5072b07 r3a4ae6c  
    1818#include <tmacros.h>
    1919
     20/* functions */
     21
     22rtems_task Init(
     23  rtems_task_argument argument
     24);
     25
    2026#include <timesys.h>
    21 #include <timegvar.h>
     27
     28/* configuration information */
     29 
     30#define CONFIGURE_TMTEST
     31 
     32#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     33#define CONFIGURE_TEST_NEEDS_TIMER_DRIVER
     34
     35#define CONFIGURE_MAXIMUM_TASKS              102
     36#define CONFIGURE_MAXIMUM_TIMERS             100
     37#define CONFIGURE_MAXIMUM_SEMAPHORES         100
     38#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES     100
     39#define CONFIGURE_MAXIMUM_PARTITIONS         100
     40#define CONFIGURE_MAXIMUM_REGIONS            100
     41#define CONFIGURE_MAXIMUM_PORTS              100
     42#define CONFIGURE_MAXIMUM_PERIODS            100
     43
     44#define CONFIGURE_TICKS_PER_TIMESLICE        0
     45 
     46#include <confdefs.h>
     47
     48/* end of include file */
  • testsuites/tmtests/tm21/task1.c

    r5072b07 r3a4ae6c  
    1212 */
    1313
     14#define TEST_INIT
    1415#include "system.h"
    15 #undef EXTERN
    16 #define EXTERN
    17 #include "conftbl.h"
    18 #include "gvar.h"
    1916
    2017rtems_unsigned8 Region_area[ 2048 ] CPU_STRUCTURE_ALIGNMENT;
     
    3128  rtems_id          id;
    3229  rtems_status_code status;
     30
     31  Print_Warning();
    3332
    3433  puts( "\n\n*** TIME TEST 21 ***" );
     
    233232  );
    234233
     234  puts( "*** END OF TEST 21 ***" );
    235235  exit( 0 );
    236236}
  • testsuites/tmtests/tm22/system.h

    r5072b07 r3a4ae6c  
    1818#include <tmacros.h>
    1919
     20/* functions */
     21
     22rtems_task Init(
     23  rtems_task_argument argument
     24);
     25
    2026#include <timesys.h>
    21 #include <timegvar.h>
     27
     28/* configuration information */
     29 
     30#define CONFIGURE_TMTEST
     31 
     32#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     33#define CONFIGURE_TEST_NEEDS_TIMER_DRIVER
     34
     35#define CONFIGURE_MAXIMUM_TASKS              103
     36#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES     1
     37#define CONFIGURE_TICKS_PER_TIMESLICE        0
     38 
     39#include <confdefs.h>
     40
     41/* end of include file */
  • testsuites/tmtests/tm22/task1.c

    r5072b07 r3a4ae6c  
    1212 */
    1313
     14#define TEST_INIT
    1415#include "system.h"
    15 #undef EXTERN
    16 #define EXTERN
    17 #include "conftbl.h"
    18 #include "gvar.h"
    1916
    2017rtems_id Queue_id;
     
    4037  rtems_id          id;
    4138  rtems_status_code status;
     39
     40  Print_Warning();
    4241
    4342  puts( "\n\n*** TIME TEST 22 ***" );
     
    180179  );
    181180
     181  puts( "*** END OF TEST 22 ***" );
    182182  exit( 0 );
    183183}
  • testsuites/tmtests/tm23/system.h

    r5072b07 r3a4ae6c  
    1818#include <tmacros.h>
    1919
     20/* functions */
     21
     22rtems_task Init(
     23  rtems_task_argument argument
     24);
     25
    2026#include <timesys.h>
    21 #include <timegvar.h>
     27
     28/* configuration information */
     29 
     30#define CONFIGURE_TMTEST
     31 
     32#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     33#define CONFIGURE_TEST_NEEDS_TIMER_DRIVER
     34
     35#define CONFIGURE_MAXIMUM_TASKS              111
     36#define CONFIGURE_MAXIMUM_TIMERS             110
     37#define CONFIGURE_TICKS_PER_TIMESLICE        0
     38 
     39#include <confdefs.h>
     40
     41/* end of include file */
  • testsuites/tmtests/tm23/task1.c

    r5072b07 r3a4ae6c  
    1212 */
    1313
     14#define TEST_INIT
    1415#include "system.h"
    15 #undef EXTERN
    16 #define EXTERN
    17 #include "conftbl.h"
    18 #include "gvar.h"
    1916
    2017rtems_id          Timer_id[ OPERATION_COUNT+1 ];
     
    5047  rtems_task_entry    task_entry;
    5148  rtems_status_code   status;
     49
     50  Print_Warning();
    5251
    5352  puts( "\n\n*** TIME TEST 23 ***" );
     
    299298  );
    300299
     300  puts( "*** END OF TEST 23 ***" );
    301301  exit( 0 );
    302302}
  • testsuites/tmtests/tm24/system.h

    r5072b07 r3a4ae6c  
    1818#include <tmacros.h>
    1919
     20/* functions */
     21
     22rtems_task Init(
     23  rtems_task_argument argument
     24);
     25
    2026#include <timesys.h>
    21 #include <timegvar.h>
     27
     28/* configuration information */
     29 
     30#define CONFIGURE_TMTEST
     31 
     32#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     33#define CONFIGURE_TEST_NEEDS_TIMER_DRIVER
     34
     35#define CONFIGURE_MAXIMUM_TASKS              111
     36#define CONFIGURE_TICKS_PER_TIMESLICE        0
     37 
     38#include <confdefs.h>
     39
     40/* end of include file */
  • testsuites/tmtests/tm24/task1.c

    r5072b07 r3a4ae6c  
    1212 */
    1313
     14#define TEST_INIT
    1415#include "system.h"
    15 #undef EXTERN
    16 #define EXTERN
    17 #include "conftbl.h"
    18 #include "gvar.h"
    1916
    2017rtems_unsigned32 Task_count;
     
    3532  rtems_unsigned32  index;
    3633  rtems_status_code status;
     34
     35  Print_Warning();
    3736
    3837  puts( "\n\n*** TIME TEST 24 ***" );
     
    119118    );
    120119
     120  puts( "*** END OF TEST 24 ***" );
    121121    exit( 0 );
    122122  }
  • testsuites/tmtests/tm25/system.h

    r5072b07 r3a4ae6c  
    1818#include <tmacros.h>
    1919
     20/* functions */
     21
     22rtems_task Init(
     23  rtems_task_argument argument
     24);
     25
    2026#include <timesys.h>
    21 #include <timegvar.h>
     27
     28/* configuration information */
     29 
     30#define CONFIGURE_TMTEST
     31 
     32#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     33#define CONFIGURE_TEST_NEEDS_TIMER_DRIVER
     34
     35#define CONFIGURE_MAXIMUM_TASKS              111
     36#define CONFIGURE_MAXIMUM_SEMAPHORES         1
     37#define CONFIGURE_TICKS_PER_TIMESLICE        0
     38 
     39#include <confdefs.h>
     40
     41/* end of include file */
  • testsuites/tmtests/tm25/task1.c

    r5072b07 r3a4ae6c  
    1212 */
    1313
     14#define TEST_INIT
    1415#include "system.h"
    15 #undef EXTERN
    16 #define EXTERN
    17 #include "conftbl.h"
    18 #include "gvar.h"
    1916
    2017rtems_id Semaphore_id;
     
    3532  rtems_unsigned32  index;
    3633  rtems_status_code status;
     34
     35  Print_Warning();
    3736
    3837  puts( "\n\n*** TIME TEST 25 ***" );
     
    106105  );
    107106
     107  puts( "*** END OF TEST 25 ***" );
    108108  exit( 0 );
    109109}
  • testsuites/tmtests/tm26/system.h

    r5072b07 r3a4ae6c  
    1515
    1616
    17 #include <bsp.h>
    1817#include <coverhd.h>
    1918#include <tmacros.h>
    2019
     20/* functions */
     21
     22rtems_task Init(
     23  rtems_task_argument argument
     24);
     25
    2126#include <timesys.h>
    22 #include <timegvar.h>
     27
     28/* configuration information */
     29 
     30#define CONFIGURE_TMTEST
     31 
     32#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     33#define CONFIGURE_TEST_NEEDS_TIMER_DRIVER
     34
     35#define CONFIGURE_MAXIMUM_TASKS              111
     36#define CONFIGURE_MAXIMUM_SEMAPHORES         1
     37#define CONFIGURE_TICKS_PER_TIMESLICE        0
     38 
     39#include <confdefs.h>
     40
     41/* end of include file */
  • testsuites/tmtests/tm26/task1.c

    r5072b07 r3a4ae6c  
    1212 */
    1313
     14#define TEST_INIT
    1415#include <rtems.h>
    1516#include "system.h"
     
    1920#include <timesys.h>
    2021
    21 #undef EXTERN
    22 #define EXTERN
    23 #include "gvar.h"
    24 #include "conftbl.h"
    25 #undef EXTERN
    26 #define EXTERN extern
    2722
    2823/* TEST DATA */
     
    7065  rtems_id          task_id;
    7166  rtems_status_code status;
     67
     68  Print_Warning();
    7269
    7370  puts( "\n\n*** TIME TEST 26 ***" );
     
    546543    0
    547544  );
     545
     546  puts( "*** END OF TEST 26 ***" );
    548547  exit( 0 );
    549548}
  • testsuites/tmtests/tm27/system.h

    r5072b07 r3a4ae6c  
    1818#include <tmacros.h>
    1919
     20/* functions */
     21
     22rtems_task Init(
     23  rtems_task_argument argument
     24);
     25
    2026#include <timesys.h>
    21 #include <timegvar.h>
     27
     28/* configuration information */
     29 
     30#define CONFIGURE_TMTEST
     31 
     32#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     33#define CONFIGURE_TEST_NEEDS_TIMER_DRIVER
     34
     35#define CONFIGURE_MAXIMUM_TASKS              111
     36#define CONFIGURE_TICKS_PER_TIMESLICE        0
     37 
     38#include <confdefs.h>
     39
     40/* end of include file */
  • testsuites/tmtests/tm27/task1.c

    r5072b07 r3a4ae6c  
    1212 */
    1313
     14#define TEST_INIT
    1415#include "system.h"
    15 #undef EXTERN
    16 #define EXTERN
    17 #include "conftbl.h"
    18 #include "gvar.h"
    1916
    2017#include <bsp.h>
     
    5148{
    5249  rtems_status_code status;
     50
     51  Print_Warning();
    5352
    5453  puts( "\n\n*** TIME TEST 27 ***" );
     
    187186  );
    188187
     188  puts( "*** END OF TEST 27 ***" );
    189189  exit( 0 );
    190190}
  • testsuites/tmtests/tm28/system.h

    r5072b07 r3a4ae6c  
    1818#include <tmacros.h>
    1919
     20/* functions */
     21
     22rtems_task Init(
     23  rtems_task_argument argument
     24);
     25
    2026#include <timesys.h>
    21 #include <timegvar.h>
     27
     28/* configuration information */
     29 
     30#define CONFIGURE_TMTEST
     31 
     32#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     33#define CONFIGURE_TEST_NEEDS_TIMER_DRIVER
     34
     35#define CONFIGURE_MAXIMUM_TASKS              2
     36#define CONFIGURE_MAXIMUM_PORTS              1
     37#define CONFIGURE_TICKS_PER_TIMESLICE        0
     38 
     39#include <confdefs.h>
     40
     41/* end of include file */
  • testsuites/tmtests/tm28/task1.c

    r5072b07 r3a4ae6c  
    1212 */
    1313
     14#define TEST_INIT
    1415#include "system.h"
    15 #undef EXTERN
    16 #define EXTERN
    17 #include "conftbl.h"
    18 #include "gvar.h"
    1916
    2017rtems_id Port_id;
    2118
    22 rtems_unsigned8 Internal_area[ 256 ];
    23 rtems_unsigned8 External_area[ 256 ];
     19rtems_unsigned8 Internal_area[ 256 ] CPU_STRUCTURE_ALIGNMENT;
     20rtems_unsigned8 External_area[ 256 ] CPU_STRUCTURE_ALIGNMENT;
    2421
    2522rtems_task Test_task(
     
    3229{
    3330  rtems_status_code status;
     31
     32  Print_Warning();
    3433
    3534  puts( "\n\n*** TIME TEST 28 ***" );
     
    131130  );
    132131
     132  puts( "*** END OF TEST 28 ***" );
    133133  exit( 0 );
    134134}
  • testsuites/tmtests/tm29/system.h

    r5072b07 r3a4ae6c  
    1818#include <tmacros.h>
    1919
     20/* functions */
     21
     22rtems_task Init(
     23  rtems_task_argument argument
     24);
     25
    2026#include <timesys.h>
    21 #include <timegvar.h>
     27
     28/* configuration information */
     29 
     30#define CONFIGURE_TMTEST
     31 
     32#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     33#define CONFIGURE_TEST_NEEDS_TIMER_DRIVER
     34
     35#define CONFIGURE_MAXIMUM_TASKS              111
     36#define CONFIGURE_MAXIMUM_PERIODS            111
     37#define CONFIGURE_TICKS_PER_TIMESLICE        0
     38 
     39#include <confdefs.h>
     40
     41/* end of include file */
  • testsuites/tmtests/tm29/task1.c

    r5072b07 r3a4ae6c  
    1212 */
    1313
     14#define TEST_INIT
    1415#include "system.h"
    15 #undef EXTERN
    16 #define EXTERN
    17 #include "conftbl.h"
    18 #include "gvar.h"
    1916
    2017rtems_name Period_name;
     
    3734  rtems_unsigned32  index;
    3835  rtems_status_code status;
     36
     37  Print_Warning();
    3938
    4039  puts( "\n\n*** TIME TEST 29 ***" );
     
    204203  );
    205204
     205  puts( "*** END OF TEST 29 ***" );
    206206  exit( 0 );
    207207}
  • testsuites/tmtests/tmck/system.h

    r5072b07 r3a4ae6c  
    1818#include <tmacros.h>
    1919
     20/* functions */
     21
     22rtems_task Init(
     23  rtems_task_argument argument
     24);
     25
    2026#include <timesys.h>
    21 #include <timegvar.h>
     27
     28/* configuration information */
     29 
     30#define CONFIGURE_TMTEST
     31 
     32#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     33#define CONFIGURE_TEST_NEEDS_TIMER_DRIVER
     34
     35#define CONFIGURE_MAXIMUM_TASKS              2111
     36#define CONFIGURE_TICKS_PER_TIMESLICE        0
     37 
     38#include <confdefs.h>
     39
     40/* end of include file */
  • testsuites/tmtests/tmck/task1.c

    r5072b07 r3a4ae6c  
    1313
    1414
     15#define TEST_INIT
    1516#include "system.h"
    16 #undef EXTERN
    17 #define EXTERN
    18 #include "conftbl.h"
    19 #include "gvar.h"
    2017
    2118#define MAXIMUM_DISTRIBUTION 10000
     
    4441
    4542  Set_find_average_overhead( 1 );
     43
     44  Print_Warning();
    4645
    4746  puts( "\n\n*** TIME CHECKER ***" );
     
    138137  );
    139138
     139  puts( "*** END OF TIME CHECKER ***" );
    140140  exit( 0 );
    141141}
  • testsuites/tmtests/tmoverhd/system.h

    r5072b07 r3a4ae6c  
    1818#include <tmacros.h>
    1919
     20/* functions */
     21
     22rtems_task Init(
     23  rtems_task_argument argument
     24);
     25
     26rtems_timer_service_routine Timer_handler(
     27  rtems_id argument
     28);
     29 
     30rtems_asr Isr_handler(
     31  rtems_signal_set signals
     32);
     33 
     34rtems_asr Asr_handler(
     35  rtems_signal_set signals
     36);
     37 
     38rtems_task task_func();
     39 
     40void null_func();
     41 
     42rtems_status_code Empty_directive();
     43
    2044#include <timesys.h>
    21 #include <timegvar.h>
     45
     46/* configuration information */
     47 
     48#define CONFIGURE_TMTEST
     49 
     50#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     51#define CONFIGURE_TEST_NEEDS_TIMER_DRIVER
     52
     53#define CONFIGURE_MAXIMUM_TASKS              2
     54#define CONFIGURE_TICKS_PER_TIMESLICE        0
     55 
     56#include <confdefs.h>
     57
     58/* end of include file */
  • testsuites/tmtests/tmoverhd/testtask.c

    r5072b07 r3a4ae6c  
    1212 */
    1313
     14#define TEST_INIT
    1415#include "system.h"
    15 #undef EXTERN
    16 #define EXTERN
    17 #include "conftbl.h"
    18 #include "gvar.h"
    1916
    2017rtems_unsigned8 Memory_area[ 2048 ];
     
    3431  Set_find_average_overhead( TRUE );
    3532
    36   puts( "\n\n*** TIME TEST overhead ***" );
     33  Print_Warning();
     34
     35  puts( "\n\n*** TIME TEST OVERHEAD ***" );
    3736
    3837  status = rtems_task_create(
     
    12751274      );
    12761275
    1277   puts( "*** END OF TIME OVERHEAD ***\n" );
     1276  puts( "*** END OF TIME OVERHEAD ***" );
    12781277
    12791278  exit( 0 );
Note: See TracChangeset for help on using the changeset viewer.