Files
rtems/testsuites/psxtests/psx01/system.h
Joel Sherrill 66c348cb12 2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* 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.
2008-02-01 00:45:08 +00:00

48 lines
940 B
C

/* system.h
*
* This include file contains information that is included in every
* function in the test set.
*
* COPYRIGHT (c) 1989-1999.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
*
* $Id$
*/
/* functions */
#include <pmacros.h>
#include <unistd.h>
#include <errno.h>
#include <sched.h>
void *POSIX_Init(
void *argument
);
void *Task_1_through_3(
void *argument
);
/* configuration information */
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
#define CONFIGURE_MAXIMUM_POSIX_THREADS 2
#define CONFIGURE_POSIX_INIT_THREAD_TABLE
#include <rtems/confdefs.h>
/* global variables */
TEST_EXTERN pthread_t Init_id;
TEST_EXTERN pthread_t Task_id;
/* end of include file */