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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [exec/] [posix/] [include/] [rtems/] [posix/] [config.h] - Blame information for rev 593

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

Line No. Rev Author Line
1 30 unneback
/*  config.h
2
 *
3
 *  This include file contains the table of user defined configuration
4
 *  parameters specific for the POSIX API.
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.OARcorp.com/rtems/license.html.
12
 *
13
 *  $Id: config.h,v 1.2 2001-09-27 11:59:14 chris Exp $
14
 */
15
 
16
#ifndef __RTEMS_POSIX_CONFIGURATION_h
17
#define __RTEMS_POSIX_CONFIGURATION_h
18
 
19
#ifdef __cplusplus
20
extern "C" {
21
#endif
22
 
23
/*
24
 *  XXX
25
 *
26
 *  The following records define the Configuration Table.  The
27
 *  information contained in this table is required in all
28
 *  RTEMS systems, whether single or multiprocessor.  This
29
 *  table primarily defines the following:
30
 *
31
 *     + required number of each object type
32
 */
33
 
34
/*
35
 *  For now, we are only allowing the user to specify the entry point
36
 *  and stack size for POSIX initialization threads.
37
 */
38
 
39
typedef struct {
40
  void       *(*thread_entry)(void *);
41
  int       stack_size;
42
} posix_initialization_threads_table;
43
 
44
typedef struct {
45
  int                                 maximum_threads;
46
  int                                 maximum_mutexes;
47
  int                                 maximum_condition_variables;
48
  int                                 maximum_keys;
49
  int                                 maximum_timers;
50
  int                                 maximum_queued_signals;
51
  int                                 maximum_message_queues;
52
  int                                 maximum_semaphores;
53
  int                                 number_of_initialization_threads;
54
  posix_initialization_threads_table *User_initialization_threads_table;
55
} posix_api_configuration_table;
56
 
57
#ifdef __cplusplus
58
}
59
#endif
60
 
61
#endif
62
/* end of include file */

powered by: WebSVN 2.1.0

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