source: rtems/testsuites/smptests/smpatomic04/system.h @ d1c5c01f

4.115
Last change on this file since d1c5c01f was 7e02305, checked in by WeiY <wei.a.yang@…>, on 01/25/13 at 16:01:17

tests: atomic support for RTEMS. SMP tests for atomic operations.

  • Property mode set to 100644
File size: 1.0 KB
Line 
1/*
2 *  COPYRIGHT (c) 1989-2011.
3 *  On-Line Applications Research Corporation (OAR).
4 *
5 *  The license and distribution terms for this file may be
6 *  found in the file LICENSE in this distribution or at
7 *  http://www.rtems.com/license/LICENSE.
8 */
9
10#include "tmacros.h"
11#include "test_support.h"
12
13/* functions */
14
15rtems_task Init(
16  rtems_task_argument argument
17);
18
19rtems_task Test_task(
20  rtems_task_argument argument
21);
22
23/* configuration information */
24
25#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER
26#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
27
28#define CONFIGURE_SMP_APPLICATION
29#define CONFIGURE_SMP_MAXIMUM_PROCESSORS   4
30
31#define CONFIGURE_MAXIMUM_TASKS            \
32    (1 + CONFIGURE_SMP_MAXIMUM_PROCESSORS)
33
34#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
35
36#include <rtems/confdefs.h>
37
38/* global variables */
39
40/*
41 *  Keep the names and IDs in global variables so another task can use them.
42 */
43
44TEST_EXTERN volatile bool TaskRan[ CONFIGURE_SMP_MAXIMUM_PROCESSORS ];
45
46/*
47 *  Handy macros and static inline functions
48 */
49
50/* end of include file */
Note: See TracBrowser for help on using the repository browser.