source: rtems/testsuites/psxtests/psx01/system.h @ 66c348cb

4.104.114.95
Last change on this file since 66c348cb was 66c348cb, checked in by Joel Sherrill <joel.sherrill@…>, on 02/01/08 at 00:45:08

2008-01-31 Joel Sherrill <joel.sherrill@…>

  • include/pmacros.h, psx01/init.c, psx01/system.h, psx13/main.c, psxbarrier01/main.c, psxchroot01/main.c, psxfatal_support/init.c, psxfile01/main.c, psxfile01/test.c, psxmount/main.c, psxrdwrv/main.c, psxreaddir/main.c, psxrwlock01/main.c, psxspin01/main.c, psxstat/main.c, psxtime/main.c: Change TEST_INIT to CONFIGURE_INIT. Make tmacros.h available to all POSIX tests. Add a clock_settime case for < 1988.
  • Property mode set to 100644
File size: 940 bytes
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.com/license/LICENSE.
12 *
13 *  $Id$
14 */
15
16/* functions */
17
18#include <pmacros.h>
19#include <unistd.h>
20#include <errno.h>
21#include <sched.h>
22
23void *POSIX_Init(
24  void *argument
25);
26
27void *Task_1_through_3(
28  void *argument
29);
30
31/* configuration information */
32
33#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
34#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
35
36#define CONFIGURE_MAXIMUM_POSIX_THREADS     2
37
38#define CONFIGURE_POSIX_INIT_THREAD_TABLE
39
40#include <rtems/confdefs.h>
41
42/* global variables */
43
44TEST_EXTERN pthread_t        Init_id;
45TEST_EXTERN pthread_t        Task_id;
46
47/* end of include file */
Note: See TracBrowser for help on using the repository browser.