Changeset 3a4ae6c in rtems for testsuites/sptests


Ignore:
Timestamp:
Sep 11, 1995, 7:35:39 PM (24 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/sptests
Files:
58 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/sp01/init.c

    r5072b07 r3a4ae6c  
    2323 */
    2424
     25#define TEST_INIT
    2526#include "system.h"
    26 #undef EXTERN
    27 #define EXTERN
    28 #include "conftbl.h"
    29 #include "gvar.h"
    3027
    3128rtems_task Init(
  • testsuites/sptests/sp01/system.h

    r5072b07 r3a4ae6c  
    1717#include <tmacros.h>
    1818
    19 /* Miscellaneous */
     19/* functions */
    2020
    21 #define EXTERN  extern             /* external definition */
     21rtems_task Init(
     22  rtems_task_argument argument
     23);
    2224
    23 /* macros */
     25rtems_task Task_1_through_3(
     26  rtems_task_argument argument
     27);
    2428
    25 /* structures */
     29/* configuration information */
    2630
    27 #include "gvar.h"
     31#define CONFIGURE_SPTEST
     32
     33#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     34#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
     35
     36#include <confdefs.h>
     37
     38/* global variables */
     39
     40TEST_EXTERN rtems_id   Task_id[ 4 ];         /* array of task ids */
     41TEST_EXTERN rtems_name Task_name[ 4 ];       /* array of task names */
    2842
    2943/* end of include file */
  • testsuites/sptests/sp02/init.c

    r5072b07 r3a4ae6c  
    2020 *  notice must appear in all copies of this file and its derivatives.
    2121 *
    22  *  $Id$
     22 *  init.c,v 1.2 1995/05/31 17:06:49 joel Exp
    2323 */
    2424
     25#define TEST_INIT
    2526#include "system.h"
    26 #undef EXTERN
    27 #define EXTERN
    28 #include "conftbl.h"
    29 #include "gvar.h"
    3027
    3128rtems_task Init(
  • testsuites/sptests/sp02/preempt.c

    r5072b07 r3a4ae6c  
    1616 *  notice must appear in all copies of this file and its derivatives.
    1717 *
    18  *  $Id$
     18 *  preempt.c,v 1.2 1995/05/31 17:06:51 joel Exp
    1919 */
    2020
  • testsuites/sptests/sp02/system.h

    r5072b07 r3a4ae6c  
    1717#include <tmacros.h>
    1818
    19 /* Miscellaneous */
     19/* functions */
    2020
    21 #define EXTERN  extern             /* external definition */
     21rtems_task Init(
     22  rtems_task_argument argument
     23);
    2224
    23 /* macros */
     25rtems_task Preempt_task(
     26  rtems_task_argument argument
     27);
    2428
     29rtems_task Task_1(
     30  rtems_task_argument argument
     31);
    2532
    26 /* structures */
     33rtems_task Task_2(
     34  rtems_task_argument argument
     35);
    2736
    28 #include "gvar.h"
     37rtems_task Task_3(
     38  rtems_task_argument argument
     39);
     40
     41/* configuration information */
     42
     43#define CONFIGURE_SPTEST
     44
     45#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     46#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
     47
     48#include <confdefs.h>
     49
     50/* global variables */
     51
     52TEST_EXTERN rtems_id   Task_id[ 4 ];         /* array of task ids */
     53TEST_EXTERN rtems_name Task_name[ 4 ];       /* array of task names */
     54
     55TEST_EXTERN rtems_id   Preempt_task_id;         /* preempt task id */
     56TEST_EXTERN rtems_name Preempt_task_name;       /* preempt task name */
    2957
    3058/* end of include file */
  • testsuites/sptests/sp02/task1.c

    r5072b07 r3a4ae6c  
    1616 *  notice must appear in all copies of this file and its derivatives.
    1717 *
    18  *  $Id$
     18 *  task1.c,v 1.2 1995/05/31 17:06:56 joel Exp
    1919 */
    2020
  • testsuites/sptests/sp02/task2.c

    r5072b07 r3a4ae6c  
    1818 *  notice must appear in all copies of this file and its derivatives.
    1919 *
    20  *  $Id$
     20 *  task2.c,v 1.2 1995/05/31 17:06:58 joel Exp
    2121 */
    2222
  • testsuites/sptests/sp02/task3.c

    r5072b07 r3a4ae6c  
    1717 *  notice must appear in all copies of this file and its derivatives.
    1818 *
    19  *  $Id$
     19 *  task3.c,v 1.2 1995/05/31 17:07:00 joel Exp
    2020 */
    2121
  • testsuites/sptests/sp03/init.c

    r5072b07 r3a4ae6c  
    2323 */
    2424
     25#define TEST_INIT
    2526#include "system.h"
    26 #undef EXTERN
    27 #define EXTERN
    28 #include "conftbl.h"
    29 #include "gvar.h"
    3027
    3128rtems_task Init(
  • testsuites/sptests/sp03/system.h

    r5072b07 r3a4ae6c  
    1717#include <tmacros.h>
    1818
    19 /* Miscellaneous */
     19/* functions */
    2020
    21 #define EXTERN  extern             /* external definition */
     21rtems_task Init(
     22  rtems_task_argument argument
     23);
    2224
    23 /* macros */
     25rtems_task Task_1(
     26  rtems_task_argument argument
     27);
     28 
     29rtems_task Task_2(
     30  rtems_task_argument argument
     31);
    2432
    25 /* structures */
     33/* configuration information */
    2634
    27 #include "gvar.h"
     35#define CONFIGURE_SPTEST
     36
     37#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     38#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
     39
     40#include <confdefs.h>
     41
     42/* global variables */
     43
     44TEST_EXTERN rtems_id   Task_id[ 4 ];         /* array of task ids */
     45TEST_EXTERN rtems_name Task_name[ 4 ];       /* array of task names */
    2846
    2947/* end of include file */
  • testsuites/sptests/sp04/init.c

    r5072b07 r3a4ae6c  
    2323 */
    2424
     25#define TEST_INIT
    2526#include "system.h"
    26 #undef EXTERN
    27 #define EXTERN
    28 #include "conftbl.h"
    29 #include "gvar.h"
    3027
    3128rtems_extensions_table Extensions = {
     
    3532  NULL,                      /* task delete user extension */
    3633  Task_switch,               /* task switch user extension */
     34  NULL,                      /* task post switch user extension */
    3735  NULL,                      /* task begin user extension */
    3836  NULL,                      /* task exitted user extension */
  • testsuites/sptests/sp04/system.h

    r5072b07 r3a4ae6c  
    1717#include <tmacros.h>
    1818
    19 /* Miscellaneous */
     19/* functions */
    2020
    21 #define EXTERN  extern             /* external definition */
     21rtems_task Init(
     22  rtems_task_argument argument
     23);
    2224
    23 /* macros */
     25rtems_task Task_1(
     26  rtems_task_argument argument
     27);
     28 
     29rtems_task Task_2(
     30  rtems_task_argument argument
     31);
     32 
     33rtems_task Task_3(
     34  rtems_task_argument argument
     35);
     36 
     37void Task_switch(
     38  rtems_tcb *unused,
     39  rtems_tcb *heir
     40);
    2441
    25 /* structures */
     42/* configuration information */
    2643
    27 #include "gvar.h"
     44#define CONFIGURE_SPTEST
    2845
     46#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     47#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
     48
     49#define CONFIGURE_MAXIMUM_USER_EXTENSIONS     1
     50#define CONFIGURE_TICKS_PER_TIMESLICE       100
     51
     52#include <confdefs.h>
     53
     54/* global variables */
     55
     56TEST_EXTERN rtems_id   Task_id[ 4 ];         /* array of task ids */
     57TEST_EXTERN rtems_name Task_name[ 4 ];       /* array of task names */
     58
     59TEST_EXTERN rtems_id   Extension_id[ 4 ];
     60TEST_EXTERN rtems_name Extension_name[ 4 ];  /* array of task names */
     61 
     62/* array of task run counts */
     63TEST_EXTERN volatile rtems_unsigned32 Run_count[ 4 ]; 
     64 
    2965/* end of include file */
  • testsuites/sptests/sp05/init.c

    r5072b07 r3a4ae6c  
    2323 */
    2424
     25#define TEST_INIT
    2526#include "system.h"
    26 #undef EXTERN
    27 #define EXTERN
    28 #include "conftbl.h"
    29 #include "gvar.h"
    3027
    3128rtems_task Init(
  • testsuites/sptests/sp05/system.h

    r5072b07 r3a4ae6c  
    1717#include <tmacros.h>
    1818
    19 /* Miscellaneous */
     19/* functions */
    2020
    21 #define EXTERN  extern             /* external definition */
     21rtems_task Init(
     22  rtems_task_argument argument
     23);
    2224
    23 /* macros */
     25rtems_task Task_1(
     26  rtems_task_argument argument
     27);
     28 
     29rtems_task Task_2(
     30  rtems_task_argument argument
     31);
     32 
     33rtems_task Task_3(
     34  rtems_task_argument argument
     35);
     36 
     37/* configuration information */
    2438
    25 /* structures */
     39#define CONFIGURE_SPTEST
    2640
    27 #include "gvar.h"
     41#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     42#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
     43
     44#define CONFIGURE_TICKS_PER_TIMESLICE       100
     45
     46#include <confdefs.h>
     47
     48/* global variables */
     49
     50TEST_EXTERN rtems_id   Task_id[ 4 ];         /* array of task ids */
     51TEST_EXTERN rtems_name Task_name[ 4 ];       /* array of task names */
    2852
    2953/* end of include file */
  • testsuites/sptests/sp06/init.c

    r5072b07 r3a4ae6c  
    2323 */
    2424
     25#define TEST_INIT
    2526#include "system.h"
    26 #undef EXTERN
    27 #define EXTERN
    28 #include "conftbl.h"
    29 #include "gvar.h"
    3027
    3128rtems_task Init(
  • testsuites/sptests/sp06/system.h

    r5072b07 r3a4ae6c  
    1717#include <tmacros.h>
    1818
    19 /* Miscellaneous */
     19/* functions */
    2020
    21 #define EXTERN  extern             /* external definition */
     21rtems_task Init(
     22  rtems_task_argument argument
     23);
    2224
    23 /* macros */
     25rtems_task Task_1(
     26  rtems_task_argument argument
     27);
     28 
     29rtems_task Task_2(
     30  rtems_task_argument argument
     31);
     32 
     33rtems_task Task_3(
     34  rtems_task_argument argument
     35);
     36 
     37/* configuration information */
    2438
    25 /* structures */
     39#define CONFIGURE_SPTEST
    2640
    27 #include "gvar.h"
     41#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     42#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
     43
     44#define CONFIGURE_TICKS_PER_TIMESLICE       100
     45
     46#include <confdefs.h>
     47
     48/* global variables */
     49
     50TEST_EXTERN rtems_id   Task_id[ 4 ];         /* array of task ids */
     51TEST_EXTERN rtems_name Task_name[ 4 ];       /* array of task names */
     52
     53TEST_EXTERN rtems_task_argument Argument;         /* generic task argument */
     54TEST_EXTERN rtems_task_argument Restart_argument; /* task 1 restart argument */
    2855
    2956/* end of include file */
  • testsuites/sptests/sp07/init.c

    r5072b07 r3a4ae6c  
    2323 */
    2424
     25#define TEST_INIT
    2526#include "system.h"
    26 #undef EXTERN
    27 #define EXTERN
    28 #include "conftbl.h"
    29 #include "gvar.h"
    3027
    3128rtems_extensions_table Extensions = {
     
    3532  Task_delete_extension,     /* task delete user extension */
    3633  NULL,                      /* task switch user extension */
     34  NULL,                      /* task post switch user extension */
    3735  NULL,                      /* begin user extension */
    3836  Task_exit_extension,       /* task exitted user extension */
  • testsuites/sptests/sp07/system.h

    r5072b07 r3a4ae6c  
    1717#include <tmacros.h>
    1818
    19 /* constants */
     19/* functions */
    2020
    21 #define SI_NAME       0x53595349     /* name - "SYSI" */
    22 #define I_NAME        0x49444c45     /* name - "IDLE" */
     21rtems_task Init(
     22  rtems_task_argument argument
     23);
    2324
    24 /* Miscellaneous */
     25rtems_task Task_1(
     26  rtems_task_argument argument
     27);
     28 
     29rtems_task Task_2(
     30  rtems_task_argument argument
     31);
     32 
     33rtems_task Task_3(
     34  rtems_task_argument argument
     35);
     36 
     37rtems_task Task_4(
     38  rtems_task_argument argument
     39);
     40 
     41rtems_boolean Task_create_extension(
     42  rtems_tcb *unused,
     43  rtems_tcb *created_task
     44);
     45 
     46rtems_extension Task_delete_extension(
     47  rtems_tcb *running_task,
     48  rtems_tcb *deleted_task
     49);
     50 
     51rtems_extension Task_restart_extension(
     52  rtems_tcb *unused,
     53  rtems_tcb *restarted_task
     54);
     55 
     56rtems_extension Task_start_extension(
     57  rtems_tcb *unused,
     58  rtems_tcb *started_task
     59);
     60 
     61rtems_extension Task_exit_extension(
     62  rtems_tcb *running_task
     63);
    2564
    26 #define EXTERN  extern             /* external definition */
     65/* configuration information */
    2766
    28 /* macros */
     67#define CONFIGURE_SPTEST
    2968
    30 /* structures */
     69#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     70#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
    3171
    32 #include "gvar.h"
     72#define CONFIGURE_MAXIMUM_USER_EXTENSIONS     1
     73#define CONFIGURE_TICKS_PER_TIMESLICE       100
    3374
     75#include <confdefs.h>
     76
     77/* global variables */
     78
     79TEST_EXTERN rtems_id   Task_id[ 4 ];         /* array of task ids */
     80TEST_EXTERN rtems_name Task_name[ 4 ];       /* array of task names */
     81
     82TEST_EXTERN rtems_id   Extension_id[ 4 ];
     83TEST_EXTERN rtems_name Extension_name[ 4 ];  /* array of task names */
     84 
    3485/* end of include file */
  • testsuites/sptests/sp07/tcreate.c

    r5072b07 r3a4ae6c  
    2222#include "system.h"
    2323
    24 rtems_extension Task_create_extension(
     24rtems_boolean Task_create_extension(
    2525  rtems_tcb *unused,
    2626  rtems_tcb *created_task
     
    3232    puts( " - created." );
    3333  }
     34  return TRUE;
    3435}
  • testsuites/sptests/sp08/init.c

    r5072b07 r3a4ae6c  
    2323 */
    2424
     25#define TEST_INIT
    2526#include "system.h"
    26 #undef EXTERN
    27 #define EXTERN
    28 #include "conftbl.h"
    29 #include "gvar.h"
    3027
    3128rtems_task Init(
  • testsuites/sptests/sp08/system.h

    r5072b07 r3a4ae6c  
    1717#include <tmacros.h>
    1818
    19 /* Miscellaneous */
     19/* functions */
    2020
    21 #define EXTERN  extern             /* external definition */
     21rtems_task Init(
     22  rtems_task_argument argument
     23);
    2224
    23 /* macros */
    24 
     25rtems_task Task_1(
     26  rtems_task_argument argument
     27);
     28 
    2529#define put_mode( _comment, _output_mode ) \
    2630   printf( "%s %08x\n", _comment, _output_mode );
    2731
    28 /* structures */
     32/* configuration information */
    2933
    30 #include "gvar.h"
     34#define CONFIGURE_SPTEST
     35
     36#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     37#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
     38
     39#define CONFIGURE_TICKS_PER_TIMESLICE       100
     40
     41#include <confdefs.h>
     42
     43/* global variables */
     44
     45TEST_EXTERN rtems_id   Task_id[ 4 ];         /* array of task ids */
     46TEST_EXTERN rtems_name Task_name[ 4 ];       /* array of task names */
    3147
    3248/* end of include file */
  • testsuites/sptests/sp09/init.c

    r5072b07 r3a4ae6c  
    2323 */
    2424
     25#define TEST_INIT
    2526#include "system.h"
    26 #undef EXTERN
    27 #define EXTERN
    28 #include "conftbl.h"
    29 #include "gvar.h"
    3027
    3128rtems_task Init(
  • testsuites/sptests/sp09/system.h

    r5072b07 r3a4ae6c  
    1717#include <tmacros.h>
    1818
    19 /* Miscellaneous */
     19/* functions */
    2020
    21 #define EXTERN  extern             /* external definition */
     21rtems_task Init(
     22  rtems_task_argument argument
     23);
    2224
    23 /* macros */
     25rtems_timer_service_routine Delayed_routine(
     26  rtems_id  ignored_id,
     27  void     *ignored_address
     28);
    2429
    25 /* structures */
     30rtems_task Task_1(
     31  rtems_task_argument argument
     32);
    2633
    27 #include "gvar.h"
     34rtems_task Task_2(
     35  rtems_task_argument argument
     36);
     37
     38rtems_task Task_3(
     39  rtems_task_argument argument
     40);
     41
     42rtems_task Task_4(
     43  rtems_task_argument argument
     44);
     45
     46rtems_isr Service_routine(
     47  rtems_vector_number ignored
     48);
     49
     50rtems_timer_service_routine Io_during_interrupt(
     51  rtems_id ignored
     52);
     53
     54void Screen1( void );
     55
     56void Screen2( void );
     57
     58void Screen3( void );
     59
     60void Screen4( void );
     61
     62void Screen5( void );
     63
     64void Screen6( void );
     65
     66void Screen7( void );
     67
     68void Screen8( void );
     69
     70void Screen9( void );
     71
     72void Screen10( void );
     73
     74void Screen11( void );
     75
     76void Screen12( void );
     77
     78void Screen13( void );
     79
     80void Screen14( void );
     81
     82/* configuration information */
     83
     84#define CONFIGURE_SPTEST
     85
     86#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     87#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
     88
     89#define CONFIGURE_MAXIMUM_TIMERS              1
     90#define CONFIGURE_MAXIMUM_SEMAPHORES          2
     91#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES      1
     92#define CONFIGURE_MAXIMUM_PARTITIONS          1
     93#define CONFIGURE_MAXIMUM_REGIONS             1
     94#define CONFIGURE_MAXIMUM_PERIODS             1
     95#define CONFIGURE_MAXIMUM_USER_EXTENSIONS     0
     96#define CONFIGURE_TICKS_PER_TIMESLICE       100
     97
     98#include <confdefs.h>
     99
     100/* global variables */
     101
     102TEST_EXTERN rtems_id   Task_id[ 11 ];       /* array of task ids */
     103TEST_EXTERN rtems_name Task_name[ 11 ];     /* array of task names */
     104 
     105TEST_EXTERN rtems_name Timer_name[ 2 ];     /* array of timer names */
     106TEST_EXTERN rtems_id   Timer_id[ 2 ];       /* array of timer ids */
     107 
     108TEST_EXTERN rtems_name Semaphore_name[ 4 ]; /* array of semaphore names */
     109TEST_EXTERN rtems_id   Semaphore_id[ 4 ];   /* array of semaphore ids */
     110 
     111TEST_EXTERN rtems_name Queue_name[ 3 ];     /* array of queue names */
     112TEST_EXTERN rtems_id   Queue_id[ 3 ];       /* array of queue ids */
     113 
     114TEST_EXTERN rtems_name Partition_name[ 2 ]; /* array of partition names */
     115TEST_EXTERN rtems_id   Partition_id[ 2 ];   /* array of partition ids */
     116 
     117TEST_EXTERN rtems_name Region_name[ 2 ];    /* array of region names */
     118TEST_EXTERN rtems_id   Region_id[ 2 ];      /* array of region ids */
     119 
     120TEST_EXTERN rtems_name Port_name[ 2 ];      /* array of port names */
     121TEST_EXTERN rtems_id   Port_id[ 2 ];        /* array of port ids */
     122 
     123TEST_EXTERN rtems_name Period_name[ 2 ];    /* array of period names */
     124TEST_EXTERN rtems_id   Period_id[ 2 ];      /* array of period ids */
     125 
     126TEST_EXTERN rtems_id   Junk_id;             /* id used to return errors */
     127 
     128#define Internal_port_area (void *) 0x00001000
     129#define External_port_area (void *) 0x00002000
     130 
     131TEST_EXTERN rtems_unsigned8 Partition_good_area[256] CPU_STRUCTURE_ALIGNMENT;
     132#define Partition_bad_area (void *) 0x00000006
     133 
     134TEST_EXTERN rtems_unsigned32 Region_good_area[4096] CPU_STRUCTURE_ALIGNMENT;
     135#define Region_bad_area    (void *) 0x00000006
     136#define REGION_START_OFFSET 1024
     137#define REGION_LENGTH       512
    28138
    29139/* end of include file */
  • testsuites/sptests/sp11/init.c

    r5072b07 r3a4ae6c  
    2323 */
    2424
     25#define TEST_INIT
    2526#include "system.h"
    26 #undef EXTERN
    27 #define EXTERN
    28 #include "conftbl.h"
    29 #include "gvar.h"
    3027
    3128rtems_task Init(
  • testsuites/sptests/sp11/system.h

    r5072b07 r3a4ae6c  
    1717#include <tmacros.h>
    1818
    19 /* Miscellaneous */
     19/* functions */
    2020
    21 #define EXTERN  extern             /* external definition */
     21rtems_task Init(
     22  rtems_task_argument argument
     23);
     24 
     25rtems_task Task_1(
     26  rtems_task_argument argument
     27);
     28 
     29rtems_task Task_2(
     30  rtems_task_argument argument
     31);
     32 
     33rtems_timer_service_routine TA1_send_18_to_self_5_seconds(
     34  rtems_id  ignored_id,
     35  void     *ignored_address
     36);
     37 
     38rtems_timer_service_routine TA1_send_8_to_self_60_seconds(
     39  rtems_id  ignored_id,
     40  void     *ignored_address
     41);
     42 
     43rtems_timer_service_routine TA1_send_9_to_self_60_seconds(
     44  rtems_id  ignored_id,
     45  void     *ignored_address
     46);
     47 
     48rtems_timer_service_routine TA1_send_10_to_self(
     49  rtems_id  ignored_id,
     50  void     *ignored_address
     51);
     52 
     53rtems_timer_service_routine TA1_send_1_to_self_every_second(
     54  rtems_id  ignored_id,
     55  void     *ignored_address
     56);
     57 
     58rtems_timer_service_routine TA1_send_11_to_self(
     59  rtems_id  ignored_id,
     60  void     *ignored_address
     61);
     62 
     63rtems_timer_service_routine TA2_send_10_to_self(
     64  rtems_id  ignored_id,
     65  void     *ignored_address
     66);
    2267
    23 /* macros */
     68/* configuration information */
    2469
    25 /* structures */
     70#define CONFIGURE_SPTEST
    2671
    27 #include "gvar.h"
     72#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     73#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
     74
     75#define CONFIGURE_MAXIMUM_TIMERS              6
     76#define CONFIGURE_TICKS_PER_TIMESLICE       100
     77
     78#include <confdefs.h>
     79
     80/* global variables */
     81
     82TEST_EXTERN rtems_id   Task_id[ 4 ];         /* array of task ids */
     83TEST_EXTERN rtems_name Task_name[ 4 ];       /* array of task names */
     84
     85TEST_EXTERN rtems_id   Timer_id[ 7 ];     /* array of timer ids */
     86TEST_EXTERN rtems_name Timer_name[ 7 ];   /* array of timer names */
    2887
    2988/* end of include file */
  • testsuites/sptests/sp12/init.c

    r5072b07 r3a4ae6c  
    2323 */
    2424
     25#define TEST_INIT
    2526#include "system.h"
    26 #undef EXTERN
    27 #define EXTERN
    28 #include "conftbl.h"
    29 #include "gvar.h"
    3027
    3128rtems_task Init(
  • testsuites/sptests/sp12/sp12.scn

    r5072b07 r3a4ae6c  
    3636PRI5 - priority of PRI5 is 68
    3737<pause>
    38 TA1 - rtems_semaphore_ident - smid => 10010001
     38TA1 - rtems_semaphore_ident - smid => 10010002
    3939TA1 - rtems_semaphore_obtain - wait forever on SM2
    4040TA1 - got SM2
  • testsuites/sptests/sp12/system.h

    r5072b07 r3a4ae6c  
    1717#include <tmacros.h>
    1818
    19 /* Miscellaneous */
     19/* functions */
    2020
    21 #define EXTERN  extern             /* external definition */
     21rtems_task Init(
     22  rtems_task_argument argument
     23);
     24 
     25void Priority_test_driver(
     26  rtems_unsigned32 priority_base
     27);
     28 
     29rtems_task Priority_task(
     30  rtems_task_argument its_index
     31);
     32 
     33rtems_task Task_1(
     34  rtems_task_argument argument
     35);
     36 
     37rtems_task Task_2(
     38  rtems_task_argument argument
     39);
     40 
     41rtems_task Task_3(
     42  rtems_task_argument argument
     43);
     44 
     45rtems_task Task_4(
     46  rtems_task_argument argument
     47);
     48 
     49rtems_task Task5(
     50  rtems_task_argument argument
     51);
    2252
    23 /* macros */
     53/* configuration information */
    2454
    25 /* structures */
     55#define CONFIGURE_SPTEST
    2656
    27 #include "gvar.h"
     57#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     58#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
     59
     60#define CONFIGURE_MAXIMUM_SEMAPHORES         10
     61#define CONFIGURE_TICKS_PER_TIMESLICE       100
     62
     63#include <confdefs.h>
     64
     65/* global variables */
     66
     67 
     68TEST_EXTERN rtems_id   Task_id[ 6 ];             /* array of task ids */
     69TEST_EXTERN rtems_name Task_name[ 6 ];           /* array of task names */
     70 
     71TEST_EXTERN rtems_id   Priority_task_id[ 6 ];    /* array of task ids */
     72TEST_EXTERN rtems_name Priority_task_name[ 6 ];  /* array of task names */
     73 
     74TEST_EXTERN rtems_task_priority Task_priority[ 6 ];
     75 
     76TEST_EXTERN rtems_id   Semaphore_id[ 4 ];        /* array of semaphore ids */
     77TEST_EXTERN rtems_name Semaphore_name[ 4 ];      /* array of semaphore names */
    2878
    2979/* end of include file */
  • testsuites/sptests/sp13/init.c

    r5072b07 r3a4ae6c  
    2323 */
    2424
     25#define TEST_INIT
    2526#include "system.h"
    26 #undef EXTERN
    27 #define EXTERN
    28 #include "conftbl.h"
    29 #include "gvar.h"
    3027
    3128rtems_task Init(
  • testsuites/sptests/sp13/sp13.scn

    r5072b07 r3a4ae6c  
    6969<pause>
    7070TA1 - rtems_message_queue_create - variable sizes
    71 <pause>
    7271TA1 - rtems_message_queue_create and send - variable sizes
    73 TA1 - message queue size: 1
    74 TA1 - message queue size: 2
    75 TA1 - message queue size: 3
    76 TA1 - message queue size: 4
    77 TA1 - message queue size: 5
    78 TA1 - message queue size: 6
    79 TA1 - message queue size: 7
    80 TA1 - message queue size: 8
    81 TA1 - message queue size: 9
    82 TA1 - message queue size: 10
    83 TA1 - message queue size: 11
    84 TA1 - message queue size: 12
    85 TA1 - message queue size: 13
    86 TA1 - message queue size: 14
    87 TA1 - message queue size: 15
    88 TA1 - message queue size: 16
    89 TA1 - message queue size: 17
    90 TA1 - message queue size: 18
    91 TA1 - message queue size: 19
    92 TA1 - message queue size: 20
    93 TA1 - message queue size: 21
    94 TA1 - message queue size: 22
    95 TA1 - message queue size: 23
    96 TA1 - message queue size: 24
    97 TA1 - message queue size: 25
    98 TA1 - message queue size: 26
    99 TA1 - message queue size: 27
    100 TA1 - message queue size: 28
    101 TA1 - message queue size: 29
    102 TA1 - message queue size: 30
    103 TA1 - message queue size: 31
    104 TA1 - message queue size: 32
    105 TA1 - message queue size: 33
    106 TA1 - message queue size: 34
    107 TA1 - message queue size: 35
    108 TA1 - message queue size: 36
    109 TA1 - message queue size: 37
    110 TA1 - message queue size: 38
    111 TA1 - message queue size: 39
    112 TA1 - message queue size: 40
    113 TA1 - message queue size: 41
    114 TA1 - message queue size: 42
    115 TA1 - message queue size: 43
    116 TA1 - message queue size: 44
    117 TA1 - message queue size: 45
    118 TA1 - message queue size: 46
    119 TA1 - message queue size: 47
    120 TA1 - message queue size: 48
    121 TA1 - message queue size: 49
    122 TA1 - message queue size: 50
    123 TA1 - message queue size: 51
    124 TA1 - message queue size: 52
    125 TA1 - message queue size: 53
    126 TA1 - message queue size: 54
    127 TA1 - message queue size: 55
    128 TA1 - message queue size: 56
    129 TA1 - message queue size: 57
    130 TA1 - message queue size: 58
    131 TA1 - message queue size: 59
    132 TA1 - message queue size: 60
    133 TA1 - message queue size: 61
    134 TA1 - message queue size: 62
    135 TA1 - message queue size: 63
    136 TA1 - message queue size: 64
    137 TA1 - message queue size: 65
    138 TA1 - message queue size: 66
    139 TA1 - message queue size: 67
    140 TA1 - message queue size: 68
    141 TA1 - message queue size: 69
    142 TA1 - message queue size: 70
    143 TA1 - message queue size: 71
    144 TA1 - message queue size: 72
    145 TA1 - message queue size: 73
    146 TA1 - message queue size: 74
    147 TA1 - message queue size: 75
    148 TA1 - message queue size: 76
    149 TA1 - message queue size: 77
    150 TA1 - message queue size: 78
    151 TA1 - message queue size: 79
    152 TA1 - message queue size: 80
    153 TA1 - message queue size: 81
    154 TA1 - message queue size: 82
    155 TA1 - message queue size: 83
    156 TA1 - message queue size: 84
    157 TA1 - message queue size: 85
    158 TA1 - message queue size: 86
    159 TA1 - message queue size: 87
    160 TA1 - message queue size: 88
    161 TA1 - message queue size: 89
    162 TA1 - message queue size: 90
    163 TA1 - message queue size: 91
    164 TA1 - message queue size: 92
    165 TA1 - message queue size: 93
    166 TA1 - message queue size: 94
    167 TA1 - message queue size: 95
    168 TA1 - message queue size: 96
    169 TA1 - message queue size: 97
    170 TA1 - message queue size: 98
    171 TA1 - message queue size: 99
    172 TA1 - message queue size: 100
    173 TA1 - message queue size: 101
    174 TA1 - message queue size: 102
    175 TA1 - message queue size: 103
    176 TA1 - message queue size: 104
    177 TA1 - message queue size: 105
    178 TA1 - message queue size: 106
    179 TA1 - message queue size: 107
    180 TA1 - message queue size: 108
    181 TA1 - message queue size: 109
    182 TA1 - message queue size: 110
    183 TA1 - message queue size: 111
    184 TA1 - message queue size: 112
    185 TA1 - message queue size: 113
    186 TA1 - message queue size: 114
    187 TA1 - message queue size: 115
    188 TA1 - message queue size: 116
    189 TA1 - message queue size: 117
    190 TA1 - message queue size: 118
    191 TA1 - message queue size: 119
    192 TA1 - message queue size: 120
    193 TA1 - message queue size: 121
    194 TA1 - message queue size: 122
    195 TA1 - message queue size: 123
    196 TA1 - message queue size: 124
    197 TA1 - message queue size: 125
    198 TA1 - message queue size: 126
    199 TA1 - message queue size: 127
    200 TA1 - message queue size: 128
    201 TA1 - message queue size: 129
    202 TA1 - message queue size: 130
    203 TA1 - message queue size: 131
    204 TA1 - message queue size: 132
    205 TA1 - message queue size: 133
    206 TA1 - message queue size: 134
    207 TA1 - message queue size: 135
    208 TA1 - message queue size: 136
    209 TA1 - message queue size: 137
    210 TA1 - message queue size: 138
    211 TA1 - message queue size: 139
    212 TA1 - message queue size: 140
    213 TA1 - message queue size: 141
    214 TA1 - message queue size: 142
    215 TA1 - message queue size: 143
    216 TA1 - message queue size: 144
    217 TA1 - message queue size: 145
    218 TA1 - message queue size: 146
    219 TA1 - message queue size: 147
    220 TA1 - message queue size: 148
    221 TA1 - message queue size: 149
    222 TA1 - message queue size: 150
    223 TA1 - message queue size: 151
    224 TA1 - message queue size: 152
    225 TA1 - message queue size: 153
    226 TA1 - message queue size: 154
    227 TA1 - message queue size: 155
    228 TA1 - message queue size: 156
    229 TA1 - message queue size: 157
    230 TA1 - message queue size: 158
    231 TA1 - message queue size: 159
    232 TA1 - message queue size: 160
    233 TA1 - message queue size: 161
    234 TA1 - message queue size: 162
    235 TA1 - message queue size: 163
    236 TA1 - message queue size: 164
    237 TA1 - message queue size: 165
    238 TA1 - message queue size: 166
    239 TA1 - message queue size: 167
    240 TA1 - message queue size: 168
    241 TA1 - message queue size: 169
    242 TA1 - message queue size: 170
    243 TA1 - message queue size: 171
    244 TA1 - message queue size: 172
    245 TA1 - message queue size: 173
    246 TA1 - message queue size: 174
    247 TA1 - message queue size: 175
    248 TA1 - message queue size: 176
    249 TA1 - message queue size: 177
    250 TA1 - message queue size: 178
    251 TA1 - message queue size: 179
    252 TA1 - message queue size: 180
    253 TA1 - message queue size: 181
    254 TA1 - message queue size: 182
    255 TA1 - message queue size: 183
    256 TA1 - message queue size: 184
    257 TA1 - message queue size: 185
    258 TA1 - message queue size: 186
    259 TA1 - message queue size: 187
    260 TA1 - message queue size: 188
    261 TA1 - message queue size: 189
    262 TA1 - message queue size: 190
    263 TA1 - message queue size: 191
    264 TA1 - message queue size: 192
    265 TA1 - message queue size: 193
    266 TA1 - message queue size: 194
    267 TA1 - message queue size: 195
    268 TA1 - message queue size: 196
    269 TA1 - message queue size: 197
    270 TA1 - message queue size: 198
    271 TA1 - message queue size: 199
    272 TA1 - message queue size: 200
    273 TA1 - message queue size: 201
    274 TA1 - message queue size: 202
    275 TA1 - message queue size: 203
    276 TA1 - message queue size: 204
    277 TA1 - message queue size: 205
    278 TA1 - message queue size: 206
    279 TA1 - message queue size: 207
    280 TA1 - message queue size: 208
    281 TA1 - message queue size: 209
    282 TA1 - message queue size: 210
    283 TA1 - message queue size: 211
    284 TA1 - message queue size: 212
    285 TA1 - message queue size: 213
    286 TA1 - message queue size: 214
    287 TA1 - message queue size: 215
    288 TA1 - message queue size: 216
    289 TA1 - message queue size: 217
    290 TA1 - message queue size: 218
    291 TA1 - message queue size: 219
    292 TA1 - message queue size: 220
    293 TA1 - message queue size: 221
    294 TA1 - message queue size: 222
    295 TA1 - message queue size: 223
    296 TA1 - message queue size: 224
    297 TA1 - message queue size: 225
    298 TA1 - message queue size: 226
    299 TA1 - message queue size: 227
    300 TA1 - message queue size: 228
    301 TA1 - message queue size: 229
    302 TA1 - message queue size: 230
    303 TA1 - message queue size: 231
    304 TA1 - message queue size: 232
    305 TA1 - message queue size: 233
    306 TA1 - message queue size: 234
    307 TA1 - message queue size: 235
    308 TA1 - message queue size: 236
    309 TA1 - message queue size: 237
    310 TA1 - message queue size: 238
    311 TA1 - message queue size: 239
    312 TA1 - message queue size: 240
    313 TA1 - message queue size: 241
    314 TA1 - message queue size: 242
    315 TA1 - message queue size: 243
    316 TA1 - message queue size: 244
    317 TA1 - message queue size: 245
    318 TA1 - message queue size: 246
    319 TA1 - message queue size: 247
    320 TA1 - message queue size: 248
    321 TA1 - message queue size: 249
    322 TA1 - message queue size: 250
    323 TA1 - message queue size: 251
    324 TA1 - message queue size: 252
    325 TA1 - message queue size: 253
    326 TA1 - message queue size: 254
    327 TA1 - message queue size: 255
    328 TA1 - message queue size: 256
    329 TA1 - message queue size: 257
    330 TA1 - message queue size: 258
    331 TA1 - message queue size: 259
    332 TA1 - message queue size: 260
    333 TA1 - message queue size: 261
    334 TA1 - message queue size: 262
    335 TA1 - message queue size: 263
    336 TA1 - message queue size: 264
    337 TA1 - message queue size: 265
    338 TA1 - message queue size: 266
    339 TA1 - message queue size: 267
    340 TA1 - message queue size: 268
    341 TA1 - message queue size: 269
    342 TA1 - message queue size: 270
    343 TA1 - message queue size: 271
    344 TA1 - message queue size: 272
    345 TA1 - message queue size: 273
    346 TA1 - message queue size: 274
    347 TA1 - message queue size: 275
    348 TA1 - message queue size: 276
    349 TA1 - message queue size: 277
    350 TA1 - message queue size: 278
    351 TA1 - message queue size: 279
    352 TA1 - message queue size: 280
    353 TA1 - message queue size: 281
    354 TA1 - message queue size: 282
    355 TA1 - message queue size: 283
    356 TA1 - message queue size: 284
    357 TA1 - message queue size: 285
    358 TA1 - message queue size: 286
    359 TA1 - message queue size: 287
    360 TA1 - message queue size: 288
    361 TA1 - message queue size: 289
    362 TA1 - message queue size: 290
    363 TA1 - message queue size: 291
    364 TA1 - message queue size: 292
    365 TA1 - message queue size: 293
    366 TA1 - message queue size: 294
    367 TA1 - message queue size: 295
    368 TA1 - message queue size: 296
    369 TA1 - message queue size: 297
    370 TA1 - message queue size: 298
    371 TA1 - message queue size: 299
    372 TA1 - message queue size: 300
    373 TA1 - message queue size: 301
    374 TA1 - message queue size: 302
    375 TA1 - message queue size: 303
    376 TA1 - message queue size: 304
    377 TA1 - message queue size: 305
    378 TA1 - message queue size: 306
    379 TA1 - message queue size: 307
    380 TA1 - message queue size: 308
    381 TA1 - message queue size: 309
    382 TA1 - message queue size: 310
    383 TA1 - message queue size: 311
    384 TA1 - message queue size: 312
    385 TA1 - message queue size: 313
    386 TA1 - message queue size: 314
    387 TA1 - message queue size: 315
    388 TA1 - message queue size: 316
    389 TA1 - message queue size: 317
    390 TA1 - message queue size: 318
    391 TA1 - message queue size: 319
    392 TA1 - message queue size: 320
    393 TA1 - message queue size: 321
    394 TA1 - message queue size: 322
    395 TA1 - message queue size: 323
    396 TA1 - message queue size: 324
    397 TA1 - message queue size: 325
    398 TA1 - message queue size: 326
    399 TA1 - message queue size: 327
    400 TA1 - message queue size: 328
    401 TA1 - message queue size: 329
    402 TA1 - message queue size: 330
    403 TA1 - message queue size: 331
    404 TA1 - message queue size: 332
    405 TA1 - message queue size: 333
    406 TA1 - message queue size: 334
    407 TA1 - message queue size: 335
    408 TA1 - message queue size: 336
    409 TA1 - message queue size: 337
    410 TA1 - message queue size: 338
    411 TA1 - message queue size: 339
    412 TA1 - message queue size: 340
    413 TA1 - message queue size: 341
    414 TA1 - message queue size: 342
    415 TA1 - message queue size: 343
    416 TA1 - message queue size: 344
    417 TA1 - message queue size: 345
    418 TA1 - message queue size: 346
    419 TA1 - message queue size: 347
    420 TA1 - message queue size: 348
    421 TA1 - message queue size: 349
    422 TA1 - message queue size: 350
    423 TA1 - message queue size: 351
    424 TA1 - message queue size: 352
    425 TA1 - message queue size: 353
    426 TA1 - message queue size: 354
    427 TA1 - message queue size: 355
    428 TA1 - message queue size: 356
    429 TA1 - message queue size: 357
    430 TA1 - message queue size: 358
    431 TA1 - message queue size: 359
    432 TA1 - message queue size: 360
    433 TA1 - message queue size: 361
    434 TA1 - message queue size: 362
    435 TA1 - message queue size: 363
    436 TA1 - message queue size: 364
    437 TA1 - message queue size: 365
    438 TA1 - message queue size: 366
    439 TA1 - message queue size: 367
    440 TA1 - message queue size: 368
    441 TA1 - message queue size: 369
    442 TA1 - message queue size: 370
    443 TA1 - message queue size: 371
    444 TA1 - message queue size: 372
    445 TA1 - message queue size: 373
    446 TA1 - message queue size: 374
    447 TA1 - message queue size: 375
    448 TA1 - message queue size: 376
    449 TA1 - message queue size: 377
    450 TA1 - message queue size: 378
    451 TA1 - message queue size: 379
    452 TA1 - message queue size: 380
    453 TA1 - message queue size: 381
    454 TA1 - message queue size: 382
    455 TA1 - message queue size: 383
    456 TA1 - message queue size: 384
    457 TA1 - message queue size: 385
    458 TA1 - message queue size: 386
    459 TA1 - message queue size: 387
    460 TA1 - message queue size: 388
    461 TA1 - message queue size: 389
    462 TA1 - message queue size: 390
    463 TA1 - message queue size: 391
    464 TA1 - message queue size: 392
    465 TA1 - message queue size: 393
    466 TA1 - message queue size: 394
    467 TA1 - message queue size: 395
    468 TA1 - message queue size: 396
    469 TA1 - message queue size: 397
    470 TA1 - message queue size: 398
    471 TA1 - message queue size: 399
    472 TA1 - message queue size: 400
    473 TA1 - message queue size: 401
    474 TA1 - message queue size: 402
    475 TA1 - message queue size: 403
    476 TA1 - message queue size: 404
    477 TA1 - message queue size: 405
    478 TA1 - message queue size: 406
    479 TA1 - message queue size: 407
    480 TA1 - message queue size: 408
    481 TA1 - message queue size: 409
    482 TA1 - message queue size: 410
    483 TA1 - message queue size: 411
    484 TA1 - message queue size: 412
    485 TA1 - message queue size: 413
    486 TA1 - message queue size: 414
    487 TA1 - message queue size: 415
    488 TA1 - message queue size: 416
    489 TA1 - message queue size: 417
    490 TA1 - message queue size: 418
    491 TA1 - message queue size: 419
    492 TA1 - message queue size: 420
    493 TA1 - message queue size: 421
    494 TA1 - message queue size: 422
    495 TA1 - message queue size: 423
    496 TA1 - message queue size: 424
    497 TA1 - message queue size: 425
    498 TA1 - message queue size: 426
    499 TA1 - message queue size: 427
    500 TA1 - message queue size: 428
    501 TA1 - message queue size: 429
    502 TA1 - message queue size: 430
    503 TA1 - message queue size: 431
    504 TA1 - message queue size: 432
    505 TA1 - message queue size: 433
    506 TA1 - message queue size: 434
    507 TA1 - message queue size: 435
    508 TA1 - message queue size: 436
    509 TA1 - message queue size: 437
    510 TA1 - message queue size: 438
    511 TA1 - message queue size: 439
    512 TA1 - message queue size: 440
    513 TA1 - message queue size: 441
    514 TA1 - message queue size: 442
    515 TA1 - message queue size: 443
    516 TA1 - message queue size: 444
    517 TA1 - message queue size: 445
    518 TA1 - message queue size: 446
    519 TA1 - message queue size: 447
    520 TA1 - message queue size: 448
    521 TA1 - message queue size: 449
    522 TA1 - message queue size: 450
    523 TA1 - message queue size: 451
    524 TA1 - message queue size: 452
    525 TA1 - message queue size: 453
    526 TA1 - message queue size: 454
    527 TA1 - message queue size: 455
    528 TA1 - message queue size: 456
    529 TA1 - message queue size: 457
    530 TA1 - message queue size: 458
    531 TA1 - message queue size: 459
    532 TA1 - message queue size: 460
    533 TA1 - message queue size: 461
    534 TA1 - message queue size: 462
    535 TA1 - message queue size: 463
    536 TA1 - message queue size: 464
    537 TA1 - message queue size: 465
    538 TA1 - message queue size: 466
    539 TA1 - message queue size: 467
    540 TA1 - message queue size: 468
    541 TA1 - message queue size: 469
    542 TA1 - message queue size: 470
    543 TA1 - message queue size: 471
    544 TA1 - message queue size: 472
    545 TA1 - message queue size: 473
    546 TA1 - message queue size: 474
    547 TA1 - message queue size: 475
    548 TA1 - message queue size: 476
    549 TA1 - message queue size: 477
    550 TA1 - message queue size: 478
    551 TA1 - message queue size: 479
    552 TA1 - message queue size: 480
    553 TA1 - message queue size: 481
    554 TA1 - message queue size: 482
    555 TA1 - message queue size: 483
    556 TA1 - message queue size: 484
    557 TA1 - message queue size: 485
    558 TA1 - message queue size: 486
    559 TA1 - message queue size: 487
    560 TA1 - message queue size: 488
    561 TA1 - message queue size: 489
    562 TA1 - message queue size: 490
    563 TA1 - message queue size: 491
    564 TA1 - message queue size: 492
    565 TA1 - message queue size: 493
    566 TA1 - message queue size: 494
    567 TA1 - message queue size: 495
    568 TA1 - message queue size: 496
    569 TA1 - message queue size: 497
    570 TA1 - message queue size: 498
    571 TA1 - message queue size: 499
    572 TA1 - message queue size: 500
    573 TA1 - message queue size: 501
    574 TA1 - message queue size: 502
    575 TA1 - message queue size: 503
    576 TA1 - message queue size: 504
    577 TA1 - message queue size: 505
    578 TA1 - message queue size: 506
    579 TA1 - message queue size: 507
    580 TA1 - message queue size: 508
    581 TA1 - message queue size: 509
    582 TA1 - message queue size: 510
    583 TA1 - message queue size: 511
    584 TA1 - message queue size: 512
    585 TA1 - message queue size: 513
    586 TA1 - message queue size: 514
    587 TA1 - message queue size: 515
    588 TA1 - message queue size: 516
    589 TA1 - message queue size: 517
    590 TA1 - message queue size: 518
    591 TA1 - message queue size: 519
    592 TA1 - message queue size: 520
    593 TA1 - message queue size: 521
    594 TA1 - message queue size: 522
    595 TA1 - message queue size: 523
    596 TA1 - message queue size: 524
    597 TA1 - message queue size: 525
    598 TA1 - message queue size: 526
    599 TA1 - message queue size: 527
    600 TA1 - message queue size: 528
    601 TA1 - message queue size: 529
    602 TA1 - message queue size: 530
    603 TA1 - message queue size: 531
    604 TA1 - message queue size: 532
    605 TA1 - message queue size: 533
    606 TA1 - message queue size: 534
    607 TA1 - message queue size: 535
    608 TA1 - message queue size: 536
    609 TA1 - message queue size: 537
    610 TA1 - message queue size: 538
    611 TA1 - message queue size: 539
    612 TA1 - message queue size: 540
    613 TA1 - message queue size: 541
    614 TA1 - message queue size: 542
    615 TA1 - message queue size: 543
    616 TA1 - message queue size: 544
    617 TA1 - message queue size: 545
    618 TA1 - message queue size: 546
    619 TA1 - message queue size: 547
    620 TA1 - message queue size: 548
    621 TA1 - message queue size: 549
    622 TA1 - message queue size: 550
    623 TA1 - message queue size: 551
    624 TA1 - message queue size: 552
    625 TA1 - message queue size: 553
    626 TA1 - message queue size: 554
    627 TA1 - message queue size: 555
    628 TA1 - message queue size: 556
    629 TA1 - message queue size: 557
    630 TA1 - message queue size: 558
    631 TA1 - message queue size: 559
    632 TA1 - message queue size: 560
    633 TA1 - message queue size: 561
    634 TA1 - message queue size: 562
    635 TA1 - message queue size: 563
    636 TA1 - message queue size: 564
    637 TA1 - message queue size: 565
    638 TA1 - message queue size: 566
    639 TA1 - message queue size: 567
    640 TA1 - message queue size: 568
    641 TA1 - message queue size: 569
    642 TA1 - message queue size: 570
    643 TA1 - message queue size: 571
    644 TA1 - message queue size: 572
    645 TA1 - message queue size: 573
    646 TA1 - message queue size: 574
    647 TA1 - message queue size: 575
    648 TA1 - message queue size: 576
    649 TA1 - message queue size: 577
    650 TA1 - message queue size: 578
    651 TA1 - message queue size: 579
    652 TA1 - message queue size: 580
    653 TA1 - message queue size: 581
    654 TA1 - message queue size: 582
    655 TA1 - message queue size: 583
    656 TA1 - message queue size: 584
    657 TA1 - message queue size: 585
    658 TA1 - message queue size: 586
    659 TA1 - message queue size: 587
    660 TA1 - message queue size: 588
    661 TA1 - message queue size: 589
    662 TA1 - message queue size: 590
    663 TA1 - message queue size: 591
    664 TA1 - message queue size: 592
    665 TA1 - message queue size: 593
    666 TA1 - message queue size: 594
    667 TA1 - message queue size: 595
    668 TA1 - message queue size: 596
    669 TA1 - message queue size: 597
    670 TA1 - message queue size: 598
    671 TA1 - message queue size: 599
    672 TA1 - message queue size: 600
    673 TA1 - message queue size: 601
    674 TA1 - message queue size: 602
    675 TA1 - message queue size: 603
    676 TA1 - message queue size: 604
    677 TA1 - message queue size: 605
    678 TA1 - message queue size: 606
    679 TA1 - message queue size: 607
    680 TA1 - message queue size: 608
    681 TA1 - message queue size: 609
    682 TA1 - message queue size: 610
    683 TA1 - message queue size: 611
    684 TA1 - message queue size: 612
    685 TA1 - message queue size: 613
    686 TA1 - message queue size: 614
    687 TA1 - message queue size: 615
    688 TA1 - message queue size: 616
    689 TA1 - message queue size: 617
    690 TA1 - message queue size: 618
    691 TA1 - message queue size: 619
    692 TA1 - message queue size: 620
    693 TA1 - message queue size: 621
    694 TA1 - message queue size: 622
    695 TA1 - message queue size: 623
    696 TA1 - message queue size: 624
    697 TA1 - message queue size: 625
    698 TA1 - message queue size: 626
    699 TA1 - message queue size: 627
    700 TA1 - message queue size: 628
    701 TA1 - message queue size: 629
    702 TA1 - message queue size: 630
    703 TA1 - message queue size: 631
    704 TA1 - message queue size: 632
    705 TA1 - message queue size: 633
    706 TA1 - message queue size: 634
    707 TA1 - message queue size: 635
    708 TA1 - message queue size: 636
    709 TA1 - message queue size: 637
    710 TA1 - message queue size: 638
    711 TA1 - message queue size: 639
    712 TA1 - message queue size: 640
    713 TA1 - message queue size: 641
    714 TA1 - message queue size: 642
    715 TA1 - message queue size: 643
    716 TA1 - message queue size: 644
    717 TA1 - message queue size: 645
    718 TA1 - message queue size: 646
    719 TA1 - message queue size: 647
    720 TA1 - message queue size: 648
    721 TA1 - message queue size: 649
    722 TA1 - message queue size: 650
    723 TA1 - message queue size: 651
    724 TA1 - message queue size: 652
    725 TA1 - message queue size: 653
    726 TA1 - message queue size: 654
    727 TA1 - message queue size: 655
    728 TA1 - message queue size: 656
    729 TA1 - message queue size: 657
    730 TA1 - message queue size: 658
    731 TA1 - message queue size: 659
    732 TA1 - message queue size: 660
    733 TA1 - message queue size: 661
    734 TA1 - message queue size: 662
    735 TA1 - message queue size: 663
    736 TA1 - message queue size: 664
    737 TA1 - message queue size: 665
    738 TA1 - message queue size: 666
    739 TA1 - message queue size: 667
    740 TA1 - message queue size: 668
    741 TA1 - message queue size: 669
    742 TA1 - message queue size: 670
    743 TA1 - message queue size: 671
    744 TA1 - message queue size: 672
    745 TA1 - message queue size: 673
    746 TA1 - message queue size: 674
    747 TA1 - message queue size: 675
    748 TA1 - message queue size: 676
    749 TA1 - message queue size: 677
    750 TA1 - message queue size: 678
    751 TA1 - message queue size: 679
    752 TA1 - message queue size: 680
    753 TA1 - message queue size: 681
    754 TA1 - message queue size: 682
    755 TA1 - message queue size: 683
    756 TA1 - message queue size: 684
    757 TA1 - message queue size: 685
    758 TA1 - message queue size: 686
    759 TA1 - message queue size: 687
    760 TA1 - message queue size: 688
    761 TA1 - message queue size: 689
    762 TA1 - message queue size: 690
    763 TA1 - message queue size: 691
    764 TA1 - message queue size: 692
    765 TA1 - message queue size: 693
    766 TA1 - message queue size: 694
    767 TA1 - message queue size: 695
    768 TA1 - message queue size: 696
    769 TA1 - message queue size: 697
    770 TA1 - message queue size: 698
    771 TA1 - message queue size: 699
    772 TA1 - message queue size: 700
    773 TA1 - message queue size: 701
    774 TA1 - message queue size: 702
    775 TA1 - message queue size: 703
    776 TA1 - message queue size: 704
    777 TA1 - message queue size: 705
    778 TA1 - message queue size: 706
    779 TA1 - message queue size: 707
    780 TA1 - message queue size: 708
    781 TA1 - message queue size: 709
    782 TA1 - message queue size: 710
    783 TA1 - message queue size: 711
    784 TA1 - message queue size: 712
    785 TA1 - message queue size: 713
    786 TA1 - message queue size: 714
    787 TA1 - message queue size: 715
    788 TA1 - message queue size: 716
    789 TA1 - message queue size: 717
    790 TA1 - message queue size: 718
    791 TA1 - message queue size: 719
    792 TA1 - message queue size: 720
    793 TA1 - message queue size: 721
    794 TA1 - message queue size: 722
    795 TA1 - message queue size: 723
    796 TA1 - message queue size: 724
    797 TA1 - message queue size: 725
    798 TA1 - message queue size: 726
    799 TA1 - message queue size: 727
    800 TA1 - message queue size: 728
    801 TA1 - message queue size: 729
    802 TA1 - message queue size: 730
    803 TA1 - message queue size: 731
    804 TA1 - message queue size: 732
    805 TA1 - message queue size: 733
    806 TA1 - message queue size: 734
    807 TA1 - message queue size: 735
    808 TA1 - message queue size: 736
    809 TA1 - message queue size: 737
    810 TA1 - message queue size: 738
    811 TA1 - message queue size: 739
    812 TA1 - message queue size: 740
    813 TA1 - message queue size: 741
    814 TA1 - message queue size: 742
    815 TA1 - message queue size: 743
    816 TA1 - message queue size: 744
    817 TA1 - message queue size: 745
    818 TA1 - message queue size: 746
    819 TA1 - message queue size: 747
    820 TA1 - message queue size: 748
    821 TA1 - message queue size: 749
    822 TA1 - message queue size: 750
    823 TA1 - message queue size: 751
    824 TA1 - message queue size: 752
    825 TA1 - message queue size: 753
    826 TA1 - message queue size: 754
    827 TA1 - message queue size: 755
    828 TA1 - message queue size: 756
    829 TA1 - message queue size: 757
    830 TA1 - message queue size: 758
    831 TA1 - message queue size: 759
    832 TA1 - message queue size: 760
    833 TA1 - message queue size: 761
    834 TA1 - message queue size: 762
    835 TA1 - message queue size: 763
    836 TA1 - message queue size: 764
    837 TA1 - message queue size: 765
    838 TA1 - message queue size: 766
    839 TA1 - message queue size: 767
    840 TA1 - message queue size: 768
    841 TA1 - message queue size: 769
    842 TA1 - message queue size: 770
    843 TA1 - message queue size: 771
    844 TA1 - message queue size: 772
    845 TA1 - message queue size: 773
    846 TA1 - message queue size: 774
    847 TA1 - message queue size: 775
    848 TA1 - message queue size: 776
    849 TA1 - message queue size: 777
    850 TA1 - message queue size: 778
    851 TA1 - message queue size: 779
    852 TA1 - message queue size: 780
    853 TA1 - message queue size: 781
    854 TA1 - message queue size: 782
    855 TA1 - message queue size: 783
    856 TA1 - message queue size: 784
    857 TA1 - message queue size: 785
    858 TA1 - message queue size: 786
    859 TA1 - message queue size: 787
    860 TA1 - message queue size: 788
    861 TA1 - message queue size: 789
    862 TA1 - message queue size: 790
    863 TA1 - message queue size: 791
    864 TA1 - message queue size: 792
    865 TA1 - message queue size: 793
    866 TA1 - message queue size: 794
    867 TA1 - message queue size: 795
    868 TA1 - message queue size: 796
    869 TA1 - message queue size: 797
    870 TA1 - message queue size: 798
    871 TA1 - message queue size: 799
    872 TA1 - message queue size: 800
    873 TA1 - message queue size: 801
    874 TA1 - message queue size: 802
    875 TA1 - message queue size: 803
    876 TA1 - message queue size: 804
    877 TA1 - message queue size: 805
    878 TA1 - message queue size: 806
    879 TA1 - message queue size: 807
    880 TA1 - message queue size: 808
    881 TA1 - message queue size: 809
    882 TA1 - message queue size: 810
    883 TA1 - message queue size: 811
    884 TA1 - message queue size: 812
    885 TA1 - message queue size: 813
    886 TA1 - message queue size: 814
    887 TA1 - message queue size: 815
    888 TA1 - message queue size: 816
    889 TA1 - message queue size: 817
    890 TA1 - message queue size: 818
    891 TA1 - message queue size: 819
    892 TA1 - message queue size: 820
    893 TA1 - message queue size: 821
    894 TA1 - message queue size: 822
    895 TA1 - message queue size: 823
    896 TA1 - message queue size: 824
    897 TA1 - message queue size: 825
    898 TA1 - message queue size: 826
    899 TA1 - message queue size: 827
    900 TA1 - message queue size: 828
    901 TA1 - message queue size: 829
    902 TA1 - message queue size: 830
    903 TA1 - message queue size: 831
    904 TA1 - message queue size: 832
    905 TA1 - message queue size: 833
    906 TA1 - message queue size: 834
    907 TA1 - message queue size: 835
    908 TA1 - message queue size: 836
    909 TA1 - message queue size: 837
    910 TA1 - message queue size: 838
    911 TA1 - message queue size: 839
    912 TA1 - message queue size: 840
    913 TA1 - message queue size: 841
    914 TA1 - message queue size: 842
    915 TA1 - message queue size: 843
    916 TA1 - message queue size: 844
    917 TA1 - message queue size: 845
    918 TA1 - message queue size: 846
    919 TA1 - message queue size: 847
    920 TA1 - message queue size: 848
    921 TA1 - message queue size: 849
    922 TA1 - message queue size: 850
    923 TA1 - message queue size: 851
    924 TA1 - message queue size: 852
    925 TA1 - message queue size: 853
    926 TA1 - message queue size: 854
    927 TA1 - message queue size: 855
    928 TA1 - message queue size: 856
    929 TA1 - message queue size: 857
    930 TA1 - message queue size: 858
    931 TA1 - message queue size: 859
    932 TA1 - message queue size: 860
    933 TA1 - message queue size: 861
    934 TA1 - message queue size: 862
    935 TA1 - message queue size: 863
    936 TA1 - message queue size: 864
    937 TA1 - message queue size: 865
    938 TA1 - message queue size: 866
    939 TA1 - message queue size: 867
    940 TA1 - message queue size: 868
    941 TA1 - message queue size: 869
    942 TA1 - message queue size: 870
    943 TA1 - message queue size: 871
    944 TA1 - message queue size: 872
    945 TA1 - message queue size: 873
    946 TA1 - message queue size: 874
    947 TA1 - message queue size: 875
    948 TA1 - message queue size: 876
    949 TA1 - message queue size: 877
    950 TA1 - message queue size: 878
    951 TA1 - message queue size: 879
    952 TA1 - message queue size: 880
    953 TA1 - message queue size: 881
    954 TA1 - message queue size: 882
    955 TA1 - message queue size: 883
    956 TA1 - message queue size: 884
    957 TA1 - message queue size: 885
    958 TA1 - message queue size: 886
    959 TA1 - message queue size: 887
    960 TA1 - message queue size: 888
    961 TA1 - message queue size: 889
    962 TA1 - message queue size: 890
    963 TA1 - message queue size: 891
    964 TA1 - message queue size: 892
    965 TA1 - message queue size: 893
    966 TA1 - message queue size: 894
    967 TA1 - message queue size: 895
    968 TA1 - message queue size: 896
    969 TA1 - message queue size: 897
    970 TA1 - message queue size: 898
    971 TA1 - message queue size: 899
    972 TA1 - message queue size: 900
    973 TA1 - message queue size: 901
    974 TA1 - message queue size: 902
    975 TA1 - message queue size: 903
    976 TA1 - message queue size: 904
    977 TA1 - message queue size: 905
    978 TA1 - message queue size: 906
    979 TA1 - message queue size: 907
    980 TA1 - message queue size: 908
    981 TA1 - message queue size: 909
    982 TA1 - message queue size: 910
    983 TA1 - message queue size: 911
    984 TA1 - message queue size: 912
    985 TA1 - message queue size: 913
    986 TA1 - message queue size: 914
    987 TA1 - message queue size: 915
    988 TA1 - message queue size: 916
    989 TA1 - message queue size: 917
    990 TA1 - message queue size: 918
    991 TA1 - message queue size: 919
    992 TA1 - message queue size: 920
    993 TA1 - message queue size: 921
    994 TA1 - message queue size: 922
    995 TA1 - message queue size: 923
    996 TA1 - message queue size: 924
    997 TA1 - message queue size: 925
    998 TA1 - message queue size: 926
    999 TA1 - message queue size: 927
    1000 TA1 - message queue size: 928
    1001 TA1 - message queue size: 929
    1002 TA1 - message queue size: 930
    1003 TA1 - message queue size: 931
    1004 TA1 - message queue size: 932
    1005 TA1 - message queue size: 933
    1006 TA1 - message queue size: 934
    1007 TA1 - message queue size: 935
    1008 TA1 - message queue size: 936
    1009 TA1 - message queue size: 937
    1010 TA1 - message queue size: 938
    1011 TA1 - message queue size: 939
    1012 TA1 - message queue size: 940
    1013 TA1 - message queue size: 941
    1014 TA1 - message queue size: 942
    1015 TA1 - message queue size: 943
    1016 TA1 - message queue size: 944
    1017 TA1 - message queue size: 945
    1018 TA1 - message queue size: 946
    1019 TA1 - message queue size: 947
    1020 TA1 - message queue size: 948
    1021 TA1 - message queue size: 949
    1022 TA1 - message queue size: 950
    1023 TA1 - message queue size: 951
    1024 TA1 - message queue size: 952
    1025 TA1 - message queue size: 953
    1026 TA1 - message queue size: 954
    1027 TA1 - message queue size: 955
    1028 TA1 - message queue size: 956
    1029 TA1 - message queue size: 957
    1030 TA1 - message queue size: 958
    1031 TA1 - message queue size: 959
    1032 TA1 - message queue size: 960
    1033 TA1 - message queue size: 961
    1034 TA1 - message queue size: 962
    1035 TA1 - message queue size: 963
    1036 TA1 - message queue size: 964
    1037 TA1 - message queue size: 965
    1038 TA1 - message queue size: 966
    1039 TA1 - message queue size: 967
    1040 TA1 - message queue size: 968
    1041 TA1 - message queue size: 969
    1042 TA1 - message queue size: 970
    1043 TA1 - message queue size: 971
    1044 TA1 - message queue size: 972
    1045 TA1 - message queue size: 973
    1046 TA1 - message queue size: 974
    1047 TA1 - message queue size: 975
    1048 TA1 - message queue size: 976
    1049 TA1 - message queue size: 977
    1050 TA1 - message queue size: 978
    1051 TA1 - message queue size: 979
    1052 TA1 - message queue size: 980
    1053 TA1 - message queue size: 981
    1054 TA1 - message queue size: 982
    1055 TA1 - message queue size: 983
    1056 TA1 - message queue size: 984
    1057 TA1 - message queue size: 985
    1058 TA1 - message queue size: 986
    1059 TA1 - message queue size: 987
    1060 TA1 - message queue size: 988
    1061 TA1 - message queue size: 989
    1062 TA1 - message queue size: 990
    1063 TA1 - message queue size: 991
    1064 TA1 - message queue size: 992
    1065 TA1 - message queue size: 993
    1066 TA1 - message queue size: 994
    1067 TA1 - message queue size: 995
    1068 TA1 - message queue size: 996
    1069 TA1 - message queue size: 997
    1070 TA1 - message queue size: 998
    1071 TA1 - message queue size: 999
    1072 TA1 - message queue size: 1000
    1073 TA1 - message queue size: 1001
    1074 TA1 - message queue size: 1002
    1075 TA1 - message queue size: 1003
    1076 TA1 - message queue size: 1004
    1077 TA1 - message queue size: 1005
    1078 TA1 - message queue size: 1006
    1079 TA1 - message queue size: 1007
    1080 TA1 - message queue size: 1008
    1081 TA1 - message queue size: 1009
    1082 TA1 - message queue size: 1010
    1083 TA1 - message queue size: 1011
    1084 TA1 - message queue size: 1012
    1085 TA1 - message queue size: 1013
    1086 TA1 - message queue size: 1014
    1087 TA1 - message queue size: 1015
    1088 TA1 - message queue size: 1016
    1089 TA1 - message queue size: 1017
    1090 TA1 - message queue size: 1018
    1091 TA1 - message queue size: 1019
    1092 TA1 - message queue size: 1020
    1093 TA1 - message queue size: 1021
    1094 TA1 - message queue size: 1022
    1095 TA1 - message queue size: 1023
    1096 TA1 - message queue size: 1024
    1097 TA1 - message queue size: 1025
    1098 TA1 - message queue size: 1026
    1099 TA1 - message queue size: 1027
    1100 TA1 - message queue size: 1028
    1101 TA1 - message queue size: 1029
    110272*** END OF TEST 13 ***
  • testsuites/sptests/sp13/system.h

    r5072b07 r3a4ae6c  
    1717#include <tmacros.h>
    1818
    19 /* Miscellaneous */
     19/* functions */
    2020
    21 #define EXTERN  extern             /* external definition */
     21rtems_task Init(
     22  rtems_task_argument argument
     23);
     24 
     25void Fill_buffer(
     26  char  source[],
     27  long *buffer
     28);
     29 
     30void Put_buffer(
     31  long *buffer
     32);
     33 
     34rtems_task Task_1(
     35  rtems_task_argument argument
     36);
     37 
     38rtems_task Task_2(
     39  rtems_task_argument argument
     40);
     41 
     42rtems_task Task_3(
     43  rtems_task_argument argument
     44);
    2245
    23 /* macros */
     46/* configuration information */
    2447
    25 /* structures */
     48#define CONFIGURE_SPTEST
    2649
    27 #include "gvar.h"
     50#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     51#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
     52
     53#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES     10
     54#define CONFIGURE_TICKS_PER_TIMESLICE       100
     55
     56#include <confdefs.h>
     57
     58/* global variables */
     59
     60TEST_EXTERN rtems_id   Task_id[ 4 ];         /* array of task ids */
     61TEST_EXTERN rtems_name Task_name[ 4 ];       /* array of task names */
     62
     63TEST_EXTERN rtems_id   Queue_id[ 4 ];        /* array of queue ids */
     64TEST_EXTERN rtems_name Queue_name[ 4 ];      /* array of queue names */
    2865
    2966/* end of include file */
  • testsuites/sptests/sp13/task1.c

    r5072b07 r3a4ae6c  
    274274  }
    275275 
    276 pause();
    277  
    278276  puts( "TA1 - rtems_message_queue_create and send - variable sizes " );
    279277  for (queue_size = 1; queue_size < 1030; queue_size++)
    280278  {
    281       printf("TA1 - message queue size: %d\n", queue_size);
     279      /* printf("TA1 - message queue size: %d\n", queue_size); */
    282280
    283281      status = rtems_message_queue_create(
  • testsuites/sptests/sp14/init.c

    r5072b07 r3a4ae6c  
    2323 */
    2424
     25#define TEST_INIT
    2526#include "system.h"
    26 #undef EXTERN
    27 #define EXTERN
    28 #include "conftbl.h"
    29 #include "gvar.h"
    3027
    3128rtems_task Init(
  • testsuites/sptests/sp14/system.h

    r5072b07 r3a4ae6c  
    1717#include <tmacros.h>
    1818
    19 /* Miscellaneous */
     19/* functions */
    2020
    21 #define EXTERN  extern             /* external definition */
     21rtems_task Init(
     22  rtems_task_argument argument
     23);
     24 
     25rtems_timer_service_routine Signal_3_to_task_1(
     26  rtems_id  id,
     27  void     *pointer
     28);
     29 
     30rtems_asr Process_asr(
     31  rtems_signal_set the_signal_set
     32);
     33 
     34rtems_task Task_1(
     35  rtems_task_argument argument
     36);
     37 
     38rtems_task Task_2(
     39  rtems_task_argument argument
     40);
    2241
    23 /* macros */
     42/* configuration information */
    2443
    25 /* structures */
     44#define CONFIGURE_SPTEST
    2645
    27 #include "gvar.h"
     46#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     47#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
     48
     49#define CONFIGURE_MAXIMUM_TIMERS              1
     50#define CONFIGURE_TICKS_PER_TIMESLICE       100
     51
     52#include <confdefs.h>
     53
     54/* global variables */
     55
     56TEST_EXTERN rtems_id   Task_id[ 4 ];         /* array of task ids */
     57TEST_EXTERN rtems_name Task_name[ 4 ];       /* array of task names */
     58
     59TEST_EXTERN rtems_id   Timer_id[ 3 ];      /* array of timer ids */
     60TEST_EXTERN rtems_name Timer_name[ 3 ];    /* array of timer names */
     61
     62TEST_EXTERN volatile rtems_unsigned32 Signals_sent;
     63                                      /* set to TRUE to indicate that a */
     64                                      /* signal set has been sent from  */
     65                                      /* an ISR to the executing task   */
     66
     67TEST_EXTERN volatile rtems_unsigned32 Asr_fired;
     68                                      /* set to TRUE to indicate that the */
     69                                      /* RTEMS_ASR has executed and was   */
     70                                      /* passed the correct signal set    */
     71
     72TEST_EXTERN volatile rtems_id  Timer_got_this_id;
     73
     74TEST_EXTERN volatile void     *Timer_got_this_pointer;
    2875
    2976/* end of include file */
  • testsuites/sptests/sp15/init.c

    r5072b07 r3a4ae6c  
    2323 */
    2424
     25#define TEST_INIT
    2526#include "system.h"
    26 #undef EXTERN
    27 #define EXTERN
    28 #include "conftbl.h"
    29 #include "gvar.h"
    3027
    3128rtems_task Init(
  • testsuites/sptests/sp15/system.h

    r5072b07 r3a4ae6c  
    1717#include <tmacros.h>
    1818
    19 /* Miscellaneous */
     19/* functions */
    2020
    21 #define EXTERN  extern             /* external definition */
     21rtems_task Init(
     22  rtems_task_argument argument
     23);
     24 
     25rtems_task Task_1(
     26  rtems_task_argument argument
     27);
    2228
    23 /* macros */
     29/* configuration information */
    2430
    25 /* structures */
     31#define CONFIGURE_SPTEST
    2632
    27 #include "gvar.h"
     33#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     34#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
    2835
     36#define CONFIGURE_MAXIMUM_PARTITIONS          2
     37#define CONFIGURE_TICKS_PER_TIMESLICE       100
     38
     39#include <confdefs.h>
     40
     41/* global variables */
     42
     43TEST_EXTERN rtems_id   Task_id[ 4 ];         /* array of task ids */
     44TEST_EXTERN rtems_name Task_name[ 4 ];       /* array of task names */
     45
     46TEST_EXTERN rtems_name Partition_id[ 4 ];   /* array of partition ids */
     47TEST_EXTERN rtems_name Partition_name[ 4 ]; /* array of partition names */
     48 
     49TEST_EXTERN rtems_unsigned8 Area_1[4096] CPU_STRUCTURE_ALIGNMENT;
     50TEST_EXTERN rtems_unsigned8 Area_2[274] CPU_STRUCTURE_ALIGNMENT;
     51 
     52#define Put_address_from_area_1( _to_be_printed ) \
     53   printf( "0x%08x", ((rtems_unsigned8 *)(_to_be_printed)) - Area_1 )
     54 
     55#define Put_address_from_area_2( _to_be_printed ) \
     56   printf( "0x%08x", ((rtems_unsigned8 *)(_to_be_printed)) - Area_2 )
     57 
    2958/* end of include file */
  • testsuites/sptests/sp16/init.c

    r5072b07 r3a4ae6c  
    2323 */
    2424
     25#define TEST_INIT
    2526#include "system.h"
    26 #undef EXTERN
    27 #define EXTERN
    28 #include "conftbl.h"
    29 #include "gvar.h"
    3027
    3128rtems_task Init(
  • testsuites/sptests/sp16/system.h

    r5072b07 r3a4ae6c  
    1717#include <tmacros.h>
    1818
    19 /* Miscellaneous */
     19/* functions */
    2020
    21 #define EXTERN  extern             /* external definition */
     21rtems_task Init(
     22  rtems_task_argument argument
     23);
     24 
     25rtems_task Task_1(
     26  rtems_task_argument argument
     27);
     28 
     29rtems_task Task_2(
     30  rtems_task_argument argument
     31);
     32 
     33rtems_task Task_3(
     34  rtems_task_argument argument
     35);
     36 
     37rtems_task Task_4(
     38  rtems_task_argument argument
     39);
     40 
     41rtems_task Task5(
     42  rtems_task_argument argument
     43);
     44 
     45/* configuration information */
    2246
    23 #define BASE_PRIORITY 140                /* all tasks priority */
     47#define CONFIGURE_SPTEST
    2448
    25 /* macros */
     49#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     50#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
    2651
    27 /* structures */
     52#define CONFIGURE_MAXIMUM_REGIONS             4
     53#define CONFIGURE_TICKS_PER_TIMESLICE       100
    2854
    29 #include "gvar.h"
     55#include <confdefs.h>
     56
     57/* global variables */
     58
     59TEST_EXTERN rtems_id   Task_id[ 6 ];      /* array of task ids */
     60TEST_EXTERN rtems_name Task_name[ 6 ];    /* array of task names */
     61TEST_EXTERN rtems_id   Region_id[ 5 ];    /* array of region ids */
     62TEST_EXTERN rtems_name Region_name[ 5 ];  /* array of region names */
     63
     64TEST_EXTERN rtems_unsigned8 Area_1[4096] CPU_STRUCTURE_ALIGNMENT;
     65TEST_EXTERN rtems_unsigned8 Area_2[4096] CPU_STRUCTURE_ALIGNMENT;
     66TEST_EXTERN rtems_unsigned8 Area_3[4096] CPU_STRUCTURE_ALIGNMENT;
     67TEST_EXTERN rtems_unsigned8 Area_4[8192] CPU_STRUCTURE_ALIGNMENT;
     68
     69#define BASE_PRIORITY 140
     70
     71#define Put_address_from_area_1( _to_be_printed ) \
     72   printf( "0x%08x", ((rtems_unsigned8 *)(_to_be_printed)) - Area_1 )
     73
     74#define Put_address_from_area_2( _to_be_printed ) \
     75   printf( "0x%08x", ((rtems_unsigned8 *)(_to_be_printed)) - Area_2 )
     76
     77#define Put_address_from_area_3( _to_be_printed ) \
     78   printf( "0x%08x", ((rtems_unsigned8 *)(_to_be_printed)) - Area_3 )
     79
     80#define Put_address_from_area_4( _to_be_printed ) \
     81   printf( "0x%08x", ((rtems_unsigned8 *)(_to_be_printed)) - Area_4 )
    3082
    3183/* end of include file */
  • testsuites/sptests/sp17/init.c

    r5072b07 r3a4ae6c  
    2323 */
    2424
     25#define TEST_INIT
    2526#include "system.h"
    26 #undef EXTERN
    27 #define EXTERN
    28 #include "conftbl.h"
    29 #include "gvar.h"
    3027
    3128rtems_task Init(
  • testsuites/sptests/sp17/system.h

    r5072b07 r3a4ae6c  
    1717#include <tmacros.h>
    1818
    19 /* Miscellaneous */
     19/* functions */
    2020
    21 #define EXTERN  extern             /* external definition */
     21rtems_task Init(
     22  rtems_task_argument argument
     23);
     24 
     25rtems_asr Process_asr(
     26  rtems_signal_set signal_set
     27);
     28 
     29rtems_task Task_1(
     30  rtems_task_argument argument
     31);
     32 
     33rtems_task Task_2(
     34  rtems_task_argument argument
     35);
    2236
    23 /* macros */
     37/* configuration information */
    2438
    25 /* structures */
     39#define CONFIGURE_SPTEST
    2640
    27 #include "gvar.h"
     41#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     42#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
     43
     44#define CONFIGURE_MICROSECONDS_PER_TICK   RTEMS_MILLISECONDS_TO_MICROSECONDS(25)
     45#define CONFIGURE_TICKS_PER_TIMESLICE     1000
     46
     47#include <confdefs.h>
     48
     49/* global variables */
     50
     51TEST_EXTERN rtems_id   Task_id[ 4 ];         /* array of task ids */
     52TEST_EXTERN rtems_name Task_name[ 4 ];       /* array of task names */
     53
     54TEST_EXTERN rtems_unsigned32 Task_2_preempted;
    2855
    2956/* end of include file */
  • testsuites/sptests/sp19/init.c

    r5072b07 r3a4ae6c  
    2323 */
    2424
     25#define TEST_INIT
    2526#include "system.h"
    26 #undef EXTERN
    27 #define EXTERN
    28 #include "conftbl.h"
    29 #include "gvar.h"
    3027
    3128rtems_task Init(
  • testsuites/sptests/sp19/system.h

    r5072b07 r3a4ae6c  
    1717#include <tmacros.h>
    1818
    19 /* Miscellaneous */
     19/* functions */
    2020
    21 #define EXTERN  extern             /* external definition */
     21rtems_task Init(
     22  rtems_task_argument argument
     23);
     24 
     25rtems_task First_FP_task(
     26  rtems_task_argument argument
     27);
     28 
     29rtems_task FP_task(
     30  rtems_task_argument argument
     31);
     32 
     33rtems_task Task_1(
     34  rtems_task_argument argument
     35);
    2236
    23 /* macros */
     37/* configuration information */
    2438
    25 /* structures */
     39#define CONFIGURE_SPTEST
    2640
    27 #include "gvar.h"
     41#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     42#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
    2843
     44#include <confdefs.h>
     45
     46/* global variables */
     47
     48TEST_EXTERN rtems_id Task_id[ 7 ];     /* array of task ids */
     49TEST_EXTERN rtems_id Task_name[ 7 ];   /* array of task names */
     50
     51TEST_EXTERN rtems_double FP_factors[ 10 ];  /* FP "uniqueness" factors */
     52TEST_EXTERN rtems_unsigned32 INTEGER_factors[ 10 ];  /* INT "uniqueness" factors */
    2953/* end of include file */
  • testsuites/sptests/sp20/init.c

    r5072b07 r3a4ae6c  
    2323 */
    2424
     25#define TEST_INIT
    2526#include "system.h"
    26 #undef EXTERN
    27 #define EXTERN
    28 #include "conftbl.h"
    29 #include "gvar.h"
    3027
    3128rtems_task Init(
  • testsuites/sptests/sp20/system.h

    r5072b07 r3a4ae6c  
    1717#include <tmacros.h>
    1818
    19 /* Miscellaneous */
    20 
    21 #define EXTERN  extern             /* external definition */
    22 
    23 /* macros */
    24 
    25 /* structures */
     19/* types */
    2620
    2721struct counters {
     
    2923};
    3024
    31 #include "gvar.h"
     25/* functions */
     26
     27rtems_task Init(
     28  rtems_task_argument argument
     29);
     30 
     31rtems_task Task_1_through_5(
     32  rtems_task_argument argument
     33);
     34 
     35void Get_all_counters( void );
     36 
     37/* configuration information */
     38
     39#define CONFIGURE_SPTEST
     40
     41#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     42#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
     43
     44#define CONFIGURE_INIT_TASK_PRIORITY          10
     45#define CONFIGURE_INIT_TASK_INITIAL_MODES     RTEMS_DEFAULT_MODES
     46#define CONFIGURE_MAXIMUM_PERIODS             10
     47
     48#include <confdefs.h>
     49
     50/* global variables */
     51
     52TEST_EXTERN rtems_id   Task_id[ 6 ];     /* array of task ids */
     53TEST_EXTERN rtems_name Task_name[ 6 ];   /* array of task names */
     54
     55TEST_EXTERN struct counters Count;       /* iteration counters */
     56TEST_EXTERN struct counters Temporary_count;
     57extern rtems_task_priority Priorities[ 6 ];
    3258
    3359/* end of include file */
  • testsuites/sptests/sp21/init.c

    r5072b07 r3a4ae6c  
    2323 */
    2424
     25#define TEST_INIT
    2526#include "system.h"
    26 #undef EXTERN
    27 #define EXTERN
    28 #include "conftbl.h"
    29 #include "gvar.h"
    3027
    3128rtems_task Init(
  • testsuites/sptests/sp21/system.h

    r5072b07 r3a4ae6c  
    1717#include <tmacros.h>
    1818
    19 /* Miscellaneous */
     19/* functions */
    2020
    21 #define EXTERN  extern             /* external definition */
     21rtems_task Init(
     22  rtems_task_argument argument
     23);
     24 
     25rtems_task Task_1(
     26  rtems_task_argument argument
     27);
    2228
    23 /* macros */
     29/* configuration information */
    2430
    25 /* structures */
     31#define CONFIGURE_SPTEST
    2632
    27 #include "gvar.h"
     33#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     34#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
     35#define CONFIGURE_TEST_NEEDS_STUB_DRIVER
     36
     37#include <confdefs.h>
     38
     39/* global variables */
     40
     41TEST_EXTERN rtems_id   Task_id[ 4 ];         /* array of task ids */
     42TEST_EXTERN rtems_name Task_name[ 4 ];       /* array of task names */
    2843
    2944/* end of include file */
  • testsuites/sptests/sp22/init.c

    r5072b07 r3a4ae6c  
    2323 */
    2424
     25#define TEST_INIT
    2526#include "system.h"
    26 #undef EXTERN
    27 #define EXTERN
    28 #include "conftbl.h"
    29 #include "gvar.h"
    3027
    3128rtems_task Init(
  • testsuites/sptests/sp22/system.h

    r5072b07 r3a4ae6c  
    1717#include <tmacros.h>
    1818
    19 /* Miscellaneous */
     19/* functions */
    2020
    21 #define EXTERN  extern             /* external definition */
     21rtems_task Init(
     22  rtems_task_argument argument
     23);
     24 
     25rtems_timer_service_routine Delayed_resume(
     26  rtems_id  ignored_id,
     27  void     *ignored_address
     28);
     29 
     30void Print_time( void );
     31 
     32rtems_task Task_1(
     33  rtems_task_argument argument
     34);
    2235
    23 /* macros */
     36/* configuration information */
    2437
    25 /* structures */
     38#define CONFIGURE_SPTEST
    2639
    27 #include "gvar.h"
     40#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     41#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
     42
     43#define CONFIGURE_MAXIMUM_TIMERS              2
     44
     45#include <confdefs.h>
     46
     47/* global variables */
     48
     49TEST_EXTERN rtems_id   Task_id[ 4 ];         /* array of task ids */
     50TEST_EXTERN rtems_name Task_name[ 4 ];       /* array of task names */
     51
     52TEST_EXTERN rtems_id   Timer_id[ 2 ];    /* array of timer ids */
     53TEST_EXTERN rtems_name Timer_name[ 2 ];  /* array of timer names */
    2854
    2955/* end of include file */
  • testsuites/sptests/sp23/init.c

    r5072b07 r3a4ae6c  
    2323 */
    2424
     25#define TEST_INIT
    2526#include "system.h"
    26 #undef EXTERN
    27 #define EXTERN
    28 #include "conftbl.h"
    29 #include "gvar.h"
    3027
    3128rtems_task Init(
  • testsuites/sptests/sp23/system.h

    r5072b07 r3a4ae6c  
    1717#include <tmacros.h>
    1818
    19 /* Miscellaneous */
     19/* functions */
    2020
    21 #define EXTERN  extern             /* external definition */
     21rtems_task Init(
     22  rtems_task_argument argument
     23);
    2224
    23 /* macros */
     25rtems_task Task_1(
     26  rtems_task_argument argument
     27);
    2428
    25 /* structures */
     29/* configuration information */
    2630
    27 #include "gvar.h"
     31#define CONFIGURE_SPTEST
     32
     33#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     34#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
     35
     36#define CONFIGURE_MAXIMUM_PORTS               1
     37
     38#include <confdefs.h>
     39
     40/* global variables */
     41
     42TEST_EXTERN rtems_id   Task_id[ 2 ];     /* array of task ids */
     43TEST_EXTERN rtems_name Task_name[ 2 ];   /* array of task names */
     44 
     45TEST_EXTERN rtems_id   Port_id[ 2 ];     /* array of port ids */
     46TEST_EXTERN rtems_name Port_name[ 2 ];   /* array of port names */
     47 
     48#define Internal_port_area ((rtems_unsigned8 *) 0x00001000)
     49#define External_port_area ((rtems_unsigned8 *) 0x00002000)
     50 
     51#define Below_port_area    ((rtems_unsigned8 *) 0x00000500)
     52#define Above_port_area    ((rtems_unsigned8 *) 0x00003000)
    2853
    2954/* end of include file */
  • testsuites/sptests/sp24/init.c

    r5072b07 r3a4ae6c  
    2323 */
    2424
     25#define TEST_INIT
    2526#include "system.h"
    26 #undef EXTERN
    27 #define EXTERN
    28 #include "conftbl.h"
    29 #include "gvar.h"
    3027
    3128rtems_task Init(
  • testsuites/sptests/sp24/system.h

    r5072b07 r3a4ae6c  
    1717#include <tmacros.h>
    1818
    19 /* Miscellaneous */
     19/* functions */
    2020
    21 #define EXTERN  extern             /* external definition */
     21rtems_task Init(
     22  rtems_task_argument argument
     23);
     24 
     25rtems_timer_service_routine Resume_task(
     26  rtems_id  timer_id,
     27  void     *ignored_address
     28);
     29 
     30rtems_task Task_1_through_3(
     31  rtems_task_argument argument
     32);
    2233
    23 /* macros */
     34/* configuration information */
    2435
    25 /* structures */
     36#define CONFIGURE_SPTEST
    2637
    27 #include "gvar.h"
     38#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     39#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
     40
     41#define CONFIGURE_MAXIMUM_TIMERS              3
     42
     43#include <confdefs.h>
     44
     45/* global variables */
     46
     47TEST_EXTERN rtems_id   Task_id[ 4 ];         /* array of task ids */
     48TEST_EXTERN rtems_name Task_name[ 4 ];       /* array of task names */
     49
     50TEST_EXTERN rtems_id   Timer_id[ 4 ];     /* array of timer ids */
     51TEST_EXTERN rtems_name Timer_name[ 4 ];   /* array of timer names */
    2852
    2953/* end of include file */
  • testsuites/sptests/sp25/init.c

    r5072b07 r3a4ae6c  
    2323 */
    2424
     25#define TEST_INIT
    2526#include "system.h"
    26 #undef EXTERN
    27 #define EXTERN
    28 #include "conftbl.h"
    29 #include "gvar.h"
    3027
    3128rtems_task Init(
  • testsuites/sptests/sp25/system.h

    r5072b07 r3a4ae6c  
    1717#include <tmacros.h>
    1818
    19 /* Miscellaneous */
     19/* functions */
    2020
    21 #define EXTERN  extern             /* external definition */
     21rtems_task Init(
     22  rtems_task_argument argument
     23);
    2224
    23 #define BASE_PRIORITY 140                /* all tasks priority */
     25rtems_task Task_1(
     26  rtems_task_argument argument
     27);
    2428
    25 /* macros */
     29/* configuration information */
    2630
    27 /* structures */
     31#define CONFIGURE_SPTEST
    2832
    29 #include "gvar.h"
     33#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     34#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
    3035
     36#define CONFIGURE_MAXIMUM_REGIONS             1
     37
     38#include <confdefs.h>
     39
     40/* global variables */
     41
     42TEST_EXTERN rtems_id   Task_id[ 6 ];      /* array of task ids */
     43TEST_EXTERN rtems_name Task_name[ 6 ];    /* array of task names */
     44TEST_EXTERN rtems_id   Region_id[ 2 ];    /* array of region ids */
     45TEST_EXTERN rtems_name Region_name[ 2 ];  /* array of region names */
     46 
     47TEST_EXTERN rtems_unsigned8 Area_1[64000]  CPU_STRUCTURE_ALIGNMENT;
     48 
     49#define BASE_PRIORITY 140
     50 
     51#define Put_address_from_area_1( _to_be_printed ) \
     52   printf( "0x%08x", ((rtems_unsigned8 *)(_to_be_printed)) - Area_1 )
     53 
    3154/* end of include file */
  • testsuites/sptests/spfatal/init.c

    r5072b07 r3a4ae6c  
    2323 */
    2424
     25#define TEST_INIT
    2526#include "system.h"
    26 #undef EXTERN
    27 #define EXTERN
    28 #include "conftbl.h"
    29 #include "gvar.h"
    3027
    3128rtems_task Init(
  • testsuites/sptests/spfatal/system.h

    r5072b07 r3a4ae6c  
    1717#include <tmacros.h>
    1818
    19 /* Miscellaneous */
     19/* functions */
    2020
    21 #define EXTERN  extern             /* external definition */
     21rtems_task Init(
     22  rtems_task_argument argument
     23);
     24 
     25void put_error(
     26  rtems_unsigned32  error,
     27  rtems_status_code expected
     28);
     29 
     30rtems_extension Fatal_extension(
     31  rtems_unsigned32 error
     32);
     33 
     34rtems_task Task_1(
     35  rtems_task_argument argument
     36);
    2237
    23 /* macros */
     38/* configuration information */
    2439
    25 /* structures */
     40extern rtems_extensions_table initial_extensions;
    2641
    27 #include "gvar.h"
     42#ifdef TEST_INIT
     43rtems_extensions_table initial_extensions = {
     44    NULL,                    /* create */
     45    NULL,                    /* start */
     46    NULL,                    /* restart */
     47    NULL,                    /* delete */
     48    NULL,                    /* switch */
     49    NULL,                    /* post switch */
     50    NULL,                    /* begin */
     51    NULL,                    /* exitted */
     52    Fatal_extension          /* fatal */
     53};
     54#endif
     55
     56#define CONFIGURE_SPTEST
     57
     58#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
     59#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
     60
     61#define CONFIGURE_MICROSECONDS_PER_TICK RTEMS_MILLISECONDS_TO_MICROSECONDS(0)
     62#define CONFIGURE_TICKS_PER_TIMESLICE   0
     63
     64#define CONFIGURE_INITIAL_EXTENSIONS    &initial_extensions
     65
     66#include <confdefs.h>
     67
     68/* global variables */
     69
     70TEST_EXTERN rtems_id   Task_id[ 4 ];         /* array of task ids */
     71TEST_EXTERN rtems_name Task_name[ 4 ];       /* array of task names */
     72
     73TEST_EXTERN rtems_configuration_table        New_Configuration;
     74
     75extern rtems_extensions_table           Extensions;
     76extern rtems_configuration_table        BSP_Configuration;
     77extern rtems_cpu_table                  Cpu_table;
    2878
    2979/* end of include file */
  • testsuites/sptests/spsize/init.c

    r5072b07 r3a4ae6c  
    2323 */
    2424
    25 #include "apps.h"
    26 #undef EXTERN
    27 #define EXTERN
    28 #include "conftbl.h"
    29 #include "gvar.h"
     25#define TEST_INIT
     26#include "system.h"
    3027
    3128rtems_task Test_task();
  • testsuites/sptests/spsize/size.c

    r5072b07 r3a4ae6c  
    1717#include <rtems/system.h>
    1818#include <rtems/config.h>
    19 #include <rtems/copyrt.h>
    20 #include <rtems/clock.h>
    21 #include <rtems/tasks.h>
    22 #include <rtems/dpmem.h>
    23 #include <rtems/event.h>
     19#include <rtems/directives.h>
     20#include <rtems/core/copyrt.h>
     21#include <rtems/rtems/clock.h>
     22#include <rtems/rtems/tasks.h>
     23#include <rtems/rtems/dpmem.h>
     24#include <rtems/rtems/event.h>
    2425#include <rtems/extension.h>
    2526#include <rtems/fatal.h>
    2627#include <rtems/init.h>
    27 #include <rtems/intthrd.h>
    28 #include <rtems/isr.h>
    29 #include <rtems/intr.h>
     28#include <rtems/core/intthrd.h>
     29#include <rtems/core/isr.h>
     30#include <rtems/rtems/intr.h>
    3031#include <rtems/io.h>
    31 #include <rtems/message.h>
    32 #include <rtems/mp.h>
    33 #include <rtems/mpci.h>
    34 #include <rtems/part.h>
    35 #include <rtems/priority.h>
    36 #include <rtems/ratemon.h>
    37 #include <rtems/region.h>
    38 #include <rtems/sem.h>
    39 #include <rtems/signal.h>
     32#include <rtems/rtems/message.h>
     33#include <rtems/rtems/mp.h>
     34#include <rtems/core/mpci.h>
     35#include <rtems/rtems/part.h>
     36#include <rtems/core/priority.h>
     37#include <rtems/rtems/ratemon.h>
     38#include <rtems/rtems/region.h>
     39#include <rtems/rtems/sem.h>
     40#include <rtems/rtems/signal.h>
    4041#include <rtems/sysstate.h>
    41 #include <rtems/thread.h>
    42 #include <rtems/timer.h>
    43 #include <rtems/tod.h>
    44 #include <rtems/userext.h>
    45 #include <rtems/wkspace.h>
    46 #include <rtems/mp.h>
     42#include <rtems/core/thread.h>
     43#include <rtems/rtems/timer.h>
     44#include <rtems/core/tod.h>
     45#include <rtems/core/userext.h>
     46#include <rtems/core/wkspace.h>
    4747
    4848#include <stdlib.h>
     
    204204/*config.h*/    (sizeof _Configuration_Table)             +
    205205                (sizeof _Configuration_MP_table)          +
    206                 (sizeof _Configuration_MPCI_table)        +
    207206
    208207/*context.h*/   (sizeof _Context_Switch_necessary)        +
     
    210209/*copyrt.h*/    0                                         +
    211210
     211/*debug.h*/     (sizeof _Debug_Level)                     +
     212
    212213/*dpmem.h*/     (sizeof _Dual_ported_memory_Information)  +
    213214
     
    226227/*init.h*/      0                                         +
    227228
     229/*interr.h*/    (sizeof Internal_errors_What_happened)    +
     230
    228231/*inthrdmp.h*/  0                                         +
    229232
    230233/*intr.h*/      0                                         +
    231234
    232 /*intthrd.h*/   (sizeof _Internal_threads_System_initialization_thread) +
     235/*intthrd.h*/   (sizeof _Internal_threads_Information)    +
     236                (sizeof _Internal_threads_System_initialization_thread) +
    233237                (sizeof _Internal_threads_Idle_thread)    +
    234                 (sizeof _Internal_threads_MP_Receive_server_entry)    +
     238                (sizeof _Internal_threads_Extensions)     +
    235239
    236240/*io.h*/        (sizeof _IO_Number_of_drivers)            +
    237241                (sizeof _IO_Driver_address_table)         +
     242                (sizeof _IO_Number_of_devices)            +
     243                (sizeof _IO_Driver_name_table)            +
    238244
    239245/*isr.h*/       (sizeof _ISR_Nest_level)                  +
     
    248254
    249255/*mpci.h*/      (sizeof _MPCI_Remote_blocked_threads)     +
     256                (sizeof _MPCI_Semaphore)                  +
     257                (sizeof _MPCI_table)                      +
     258                (sizeof _MPCI_Receive_server_tcb)         +
     259                (sizeof _MPCI_Packet_processors)          +
    250260
    251261/*mppkt.h*/     0                                         +
     
    256266
    257267/*object.h*/    (sizeof _Objects_Local_node)              +
    258 
    259 /*objectmp.h*/  (sizeof _Objects_MP_Inactive_global_objects) +
     268                (sizeof _Objects_Maximum_nodes)           +
     269                (sizeof _Objects_Information_table)       +
     270
     271/*objectmp.h*/  (sizeof _Objects_MP_Maximum_global_objects) +
     272                (sizeof _Objects_MP_Inactive_global_objects) +
    260273
    261274/*options.h*/   0                                         +
     
    290303/*status.h*/    0                                         +
    291304
     305/*sysstate.h*/  (sizeof _System_state_Is_multiprocessing) +
     306                (sizeof _System_state_Current)            +
     307
    292308/*system.h*/    (sizeof _CPU_Table)                       +
    293309
    294 /*sysstate.h*/  (sizeof _System_state_Current)            +
    295 
    296310/*taskmp.h*/    0                                         +
    297311
    298312/*tasks.h*/     (sizeof _RTEMS_tasks_Information)         +
    299 
    300 /*thread.h*/    (sizeof _Thread_Dispatch_disable_level)   +
     313                (sizeof _RTEMS_tasks_User_initialization_tasks) +
     314                (sizeof _RTEMS_tasks_Number_of_initialization_tasks) +
     315
     316/*thread.h*/    (sizeof _Thread_BSP_context)              +
     317                (sizeof _Thread_Dispatch_disable_level)   +
     318                (sizeof _Thread_Maximum_extensions)       +
    301319                (sizeof _Thread_Ticks_remaining_in_timeslice)   +
    302320                (sizeof _Thread_Ticks_per_timeslice)      +
     
    305323                (sizeof _Thread_Heir)                     +
    306324                (sizeof _Thread_Allocated_fp)             +
    307                 (sizeof _Thread_BSP_context)              +
    308325
    309326/*threadmp.h*/  (sizeof _Thread_MP_Receive)               +
     
    311328                (sizeof _Thread_MP_Inactive_proxies)      +
    312329
    313 /*threadq.h*/   0                                         +
     330/*threadq.h*/   (sizeof _Thread_queue_Extract_table)      +
    314331
    315332/*timer.h*/     (sizeof _Timer_Information)               +
     
    329346                (sizeof _User_extensions_List)            +
    330347
    331 /*watchdog.h*/  (sizeof _Watchdog_Ticks_chain)            +
     348/*watchdog.h*/  (sizeof _Watchdog_Sync_level)             +
     349                (sizeof _Watchdog_Sync_count)             +
     350                (sizeof _Watchdog_Ticks_chain)            +
    332351                (sizeof _Watchdog_Seconds_chain)          +
    333                 (sizeof _Watchdog_Sync_count)             +
    334                 (sizeof _Watchdog_Sync_level)             +
    335352
    336353/*wkspace.h*/   (sizeof _Workspace_Area);
     
    384401#endif
    385402
     403#ifdef ppc
     404
     405/* cpu.h */
     406uninitialized += (sizeof _CPU_Interrupt_stack_low) +
     407                 (sizeof _CPU_Interrupt_stack_high) +
     408                 (sizeof _CPU_IRQ_info);
     409
     410#endif
     411
    386412initialized +=
    387413/*copyrt.h*/    (strlen(_Copyright_Notice)+1)             +
    388414
    389 /*sptables.h*/  (sizeof _Configuration_Default_multiprocessing_table)  +
     415/*sptables.h*/  (sizeof _Initialization_Default_multiprocessing_table)  +
    390416                (strlen(_RTEMS_version)+1)      +
    391417                (sizeof _Entry_points)          +
Note: See TracChangeset for help on using the changeset viewer.