source: rtems/testsuites/sptests/spatomic05/system.h @ fb9fa15

4.115
Last change on this file since fb9fa15 was fb9fa15, checked in by WeiY <wei.a.yang@…>, on 01/25/13 at 15:59:49

tests: atomic support for RTEMS. Uniprocessor tests for atomic ops.

  • Property mode set to 100644
File size: 1010 bytes
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
23rtems_task Wait_task(
24  rtems_task_argument argument
25);
26/* configuration information */
27#define TASK_NUMS 4
28
29#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
30#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
31
32#define CONFIGURE_MAXIMUM_TASKS            \
33    (2 + TASK_NUMS)
34
35#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
36
37#include <rtems/confdefs.h>
38
39/* global variables */
40
41/*
42 *  Keep the names and IDs in global variables so another task can use them.
43 */
44
45TEST_EXTERN volatile bool TaskRan[ TASK_NUMS ];
46
47/*
48 *  Handy macros and static inline functions
49 */
50
51/* end of include file */
Note: See TracBrowser for help on using the repository browser.