source: rtems/testsuites/mptests/mp10/system.h @ 1b22030

4.104.114.84.9
Last change on this file since 1b22030 was d7a0857, checked in by Joel Sherrill <joel.sherrill@…>, on Sep 4, 2003 at 6:53:31 PM

2003-09-04 Joel Sherrill <joel@…>

  • mp01/init.c, mp01/system.h, mp01/task1.c, mp01/node1/mp01.doc, mp01/node2/mp01.doc, mp02/init.c, mp02/system.h, mp02/task1.c, mp02/node1/mp02.doc, mp02/node2/mp02.doc, mp03/delay.c, mp03/init.c, mp03/system.h, mp03/task1.c, mp03/node1/mp03.doc, mp03/node2/mp03.doc, mp04/init.c, mp04/system.h, mp04/task1.c, mp04/node1/mp04.doc, mp04/node2/mp04.doc, mp05/asr.c, mp05/init.c, mp05/system.h, mp05/task1.c, mp05/node1/mp05.doc, mp05/node2/mp05.doc, mp06/init.c, mp06/system.h, mp06/task1.c, mp06/node1/mp06.doc, mp06/node2/mp06.doc, mp07/init.c, mp07/system.h, mp07/task1.c, mp07/node1/mp07.doc, mp07/node2/mp07.doc, mp08/init.c, mp08/system.h, mp08/task1.c, mp08/node1/mp08.doc, mp08/node2/mp08.doc, mp09/init.c, mp09/recvmsg.c, mp09/sendmsg.c, mp09/system.h, mp09/task1.c, mp09/node1/mp09.doc, mp09/node2/mp09.doc, mp10/init.c, mp10/system.h, mp10/task1.c, mp10/task2.c, mp10/task3.c, mp10/node1/mp10.doc, mp10/node2/mp10.doc, mp11/init.c, mp11/system.h, mp11/node1/mp11.doc, mp11/node2/mp11.doc, mp12/init.c, mp12/system.h, mp12/node1/mp12.doc, mp12/node2/mp12.doc, mp13/init.c, mp13/system.h, mp13/task1.c, mp13/task2.c, mp13/node1/mp13.doc, mp13/node2/mp13.doc, mp14/delay.c, mp14/evtask1.c, mp14/evtmtask.c, mp14/exit.c, mp14/init.c, mp14/msgtask1.c, mp14/pttask1.c, mp14/smtask1.c, mp14/system.h, mp14/node1/mp14.doc, mp14/node2/mp14.doc: URL for license changed.
  • Property mode set to 100644
File size: 1.6 KB
Line 
1/*  system.h
2 *
3 *  This include file contains information that is included in every
4 *  function in the test set.
5 *
6 *  COPYRIGHT (c) 1989-1999.
7 *  On-Line Applications Research Corporation (OAR).
8 *
9 *  The license and distribution terms for this file may be
10 *  found in the file LICENSE in this distribution or at
11 *  http://www.rtems.com/license/LICENSE.
12 *
13 *  $Id$
14 */
15
16#include <tmacros.h>
17
18/* functions */
19
20rtems_task Init(
21  rtems_task_argument argument
22);
23 
24rtems_task Test_task1(
25  rtems_task_argument argument
26);
27 
28rtems_task Test_task2(
29  rtems_task_argument argument
30);
31 
32rtems_task Test_task3(
33  rtems_task_argument restart
34);
35
36/* configuration information */
37 
38#define CONFIGURE_MP_APPLICATION
39 
40#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
41#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
42 
43#if ( NODE_NUMBER == 1 )
44#define CONFIGURE_MAXIMUM_TASKS               1
45#define CONFIGURE_MAXIMUM_SEMAPHORES          1
46#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES      1
47#else
48#define CONFIGURE_MAXIMUM_TASKS               4
49#endif
50
51#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
52
53#include <confdefs.h>
54
55/* variables */
56
57TEST_EXTERN rtems_id   Task_id[ 4 ];     /* array of task ids */
58TEST_EXTERN rtems_name Task_name[ 4 ];   /* array of task names */
59
60TEST_EXTERN rtems_id   Queue_id[ 2 ];       /* array of message queue ids */
61TEST_EXTERN rtems_name Queue_name[ 2 ];     /* array of message queue names */
62
63TEST_EXTERN rtems_id   Semaphore_id[ 2 ];   /* array of semaphore ids */
64TEST_EXTERN rtems_name Semaphore_name[ 2 ]; /* array of semaphore names */
65
66/* end of include file */
Note: See TracBrowser for help on using the repository browser.