source: rtems/testsuites/psxtests/psxkey01/system.h @ 698c2e50

4.115
Last change on this file since 698c2e50 was 698c2e50, checked in by Sebastian Huber <sebastian.huber@…>, on 03/25/14 at 07:06:16

tests/psxtests: Use <rtems/test.h>

  • Property mode set to 100644
File size: 1.1 KB
Line 
1/**
2 *  @file
3 *
4 *  This include file contains information that is included in every
5 *  function in the test set.
6 */
7
8/*
9 *  COPYRIGHT (c) 1989-2014.
10 *  On-Line Applications Research Corporation (OAR).
11 *
12 *  The license and distribution terms for this file may be
13 *  found in the file LICENSE in this distribution or at
14 *  http://www.rtems.org/license/LICENSE.
15 */
16
17/* functions */
18
19#include <pmacros.h>
20
21/* configuration information */
22
23#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
24#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER
25
26#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
27
28#define CONFIGURE_MAXIMUM_TASKS          1
29#define CONFIGURE_MAXIMUM_POSIX_KEYS     1
30
31#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
32
33#include <rtems/confdefs.h>
34
35/* global variables */
36
37#ifdef CONFIGURE_INIT
38#define TEST_EXTERN
39#else
40#define TEST_EXTERN extern
41#endif
42
43TEST_EXTERN pthread_t        Init_id;
44TEST_EXTERN pthread_key_t    Key_id[CONFIGURE_MAXIMUM_POSIX_KEYS - 1];
45TEST_EXTERN uint32_t         Data_array[ CONFIGURE_MAXIMUM_TASKS ];
46
47#undef TEST_EXTERN
48/* end of include file */
Note: See TracBrowser for help on using the repository browser.