source: rtems/testsuites/mptests/mp10/system.h @ 6f6091b3

Last change on this file since 6f6091b3 was f30dd1f, checked in by Sebastian Huber <sebastian.huber@…>, on Dec 12, 2019 at 8:36:16 AM

mptests: Fix configuration

Update #3818.

  • Property mode set to 100644
File size: 1.7 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.org/license/LICENSE.
12 */
13
14#include <tmacros.h>
15
16/* functions */
17
18rtems_task Init(
19  rtems_task_argument argument
20);
21
22rtems_task Test_task1(
23  rtems_task_argument argument
24);
25
26rtems_task Test_task2(
27  rtems_task_argument argument
28);
29
30rtems_task Test_task3(
31  rtems_task_argument restart
32);
33
34/* configuration information */
35
36#define CONFIGURE_MP_APPLICATION
37
38#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER
39#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
40
41#if ( CONFIGURE_MP_NODE_NUMBER == 1 )
42#define CONFIGURE_MAXIMUM_TASKS               1
43#define CONFIGURE_MAXIMUM_SEMAPHORES          1
44#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES      1
45#define CONFIGURE_MESSAGE_BUFFER_MEMORY \
46  CONFIGURE_MESSAGE_BUFFERS_FOR_QUEUE( 3, 16 )
47#else
48#define CONFIGURE_MAXIMUM_TASKS               4
49#endif
50
51#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
52
53#include <rtems/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.