source: rtems/testsuites/tmtests/tm22/system.h @ 6bc63df1

5
Last change on this file since 6bc63df1 was 6bc63df1, checked in by Sebastian Huber <sebastian.huber@…>, on 05/12/17 at 07:53:35

confdefs.h: Add SMP enabled field to configuration

Do not use the processor count to determine if SMP is enabled. Instead
use a dedicated configuration option. Enable SMP by default in SMP
configurations.

Add CONFIGURE_DISABLE_SMP_CONFIGURATION to all test which would fail
otherwise.

Update #3001.

  • Property mode set to 100644
File size: 1.0 KB
Line 
1/*  system.h
2 *
3 *  This include file is used by all tests in the Time Suite.
4 *
5 *  COPYRIGHT (c) 1989-1999.
6 *  On-Line Applications Research Corporation (OAR).
7 *
8 *  The license and distribution terms for this file may be
9 *  found in the file LICENSE in this distribution or at
10 *  http://www.rtems.org/license/LICENSE.
11 */
12
13
14#include <coverhd.h>
15#include <tmacros.h>
16
17/* functions */
18
19rtems_task Init(
20  rtems_task_argument argument
21);
22
23#define MESSAGE_SIZE (sizeof(long) * 4)
24
25#include <timesys.h>
26
27/* configuration information */
28
29#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
30#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER
31
32#define CONFIGURE_MAXIMUM_TASKS              4
33#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES     1
34#define CONFIGURE_TICKS_PER_TIMESLICE        0
35
36
37#define CONFIGURE_MESSAGE_BUFFER_MEMORY \
38  CONFIGURE_MESSAGE_BUFFERS_FOR_QUEUE(100, MESSAGE_SIZE )
39#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
40
41#define CONFIGURE_DISABLE_SMP_CONFIGURATION
42
43#include <rtems/confdefs.h>
44
45/* end of include file */
Note: See TracBrowser for help on using the repository browser.