source: rtems/testsuites/psxtests/psx08/system.h

Last change on this file was c4b8b147, checked in by Sebastian Huber <sebastian.huber@…>, on Nov 3, 2017 at 7:35:38 AM

tests: Use simple console driver

Update #3170.
Update #3199.

  • 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
30void *Task_3(
31  void *argument
32);
33
34/* configuration information */
35
36#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER
37#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
38
39#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
40
41#define CONFIGURE_MAXIMUM_POSIX_THREADS     4
42
43#define CONFIGURE_POSIX_INIT_THREAD_TABLE
44
45#include <rtems/confdefs.h>
46
47/* global variables */
48
49#ifdef CONFIGURE_INIT
50#define TEST_EXTERN
51#else
52#define TEST_EXTERN extern
53#endif
54
55TEST_EXTERN pthread_t        Init_id;
56TEST_EXTERN pthread_t        Task1_id;
57TEST_EXTERN pthread_t        Task2_id;
58TEST_EXTERN pthread_t        Task3_id;
59
60/* end of include file */
Note: See TracBrowser for help on using the repository browser.