OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [tests/] [psxtests/] [psxtimer/] [system.h] - Blame information for rev 30

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
/*  system.h
2
 *
3
 *  This include file contains information that is included in every
4
 *  function in the test set.
5
 *
6
 *  The license and distribution terms for this file may be
7
 *  found in the file LICENSE in this distribution or at
8
 *  http://www.OARcorp.com/rtems/license.html.
9
 *
10
 *  system.h,v 1.9 1996/08/09 18:48:33 joel Exp
11
 */
12
 
13
/* functions */
14
 
15
#include <pmacros.h>
16
#include <unistd.h>
17
#include <errno.h>
18
#include <sched.h>
19
 
20
void *POSIX_Init (
21
  void *arg
22
);
23
 
24
void *task_a(
25
  void *arg
26
);
27
 
28
void *task_b(
29
  void *arg
30
);
31
 
32
void *task_c(
33
  void *arg
34
);
35
 
36
 
37
/* configuration information */
38
 
39
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
40
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
41
 
42
#define CONFIGURE_POSIX_INIT_THREAD_TABLE
43
 
44
#define CONFIGURE_MAXIMUM_POSIX_THREADS             4 
45
#define CONFIGURE_MAXIMUM_POSIX_TIMERS              4
46
#define CONFIGURE_MAXIMUM_TIMERS                    4
47
#define CONFIGURE_MAXIMUM_POSIX_MUTEXES             2
48
#define CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES 2
49
 
50
 
51
#include <confdefs.h>
52
 
53
/* global variables */
54
 
55
#ifdef CONFIGURE_INIT
56
#define TEST_EXTERN
57
#else
58
#define TEST_EXTERN extern
59
#endif
60
 
61
TEST_EXTERN pthread_t        Init_id;
62
TEST_EXTERN pthread_t        Task_id;
63
 
64
/* end of include file */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.