source: rtems/testsuites/psxtests/psx09/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
30/* configuration information */
31
32#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER
33#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
34
35#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
36
37#define CONFIGURE_MAXIMUM_POSIX_THREADS   2
38#define CONFIGURE_MAXIMUM_POSIX_KEYS     10
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_mutex_t  Mutex_id;
54
55/* end of include file */
Note: See TracBrowser for help on using the repository browser.