source: rtems/testsuites/psxtests/psx07/system.h @ 9a4eca5

5
Last change on this file since 9a4eca5 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/*  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/* functions */
15
16#include <pmacros.h>
17
18void *POSIX_Init(
19  void *argument
20);
21
22void *Task_1(
23  void *argument
24);
25
26void *Task_2(
27  void *argument
28);
29
30
31/* configuration information */
32
33#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
34#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
35
36#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
37
38#define CONFIGURE_MAXIMUM_POSIX_THREADS     3
39
40#define CONFIGURE_POSIX_INIT_THREAD_TABLE
41
42#include <rtems/confdefs.h>
43
44/* global variables */
45
46#ifdef CONFIGURE_INIT
47#define TEST_EXTERN
48#else
49#define TEST_EXTERN extern
50#endif
51
52TEST_EXTERN pthread_t        Init_id;
53TEST_EXTERN pthread_t        Task_id, Task2_id;
54
55#undef TEST_EXTERN
56
57/* end of include file */
Note: See TracBrowser for help on using the repository browser.