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

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [newlib/] [newlib/] [libc/] [sys/] [rtems/] [sys/] [features.h] - Blame information for rev 1782

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 39 lampret
/*
2
 *  This file lists the symbols which may be defined to indicate
3
 *  the presence of POSIX features subsets.  If defined, the
4
 *  feature must be supported.
5
 *
6
 *  NOTE:  This file lists all feature constants.  The ones not supported
7
 *         should be commented out.
8
 *
9
 *  XXX: These are all "Compile-Time Symbolic Constants".  Need to
10
 *       address "Execution-Time" ones.
11
 *
12 56 joel
 *  $Id: features.h,v 1.1.1.2 2000-08-30 19:04:15 joel Exp $
13 39 lampret
 */
14
 
15
#ifndef __RTEMS_POSIX_FEATURES_h
16
#define __RTEMS_POSIX_FEATURES_h
17
 
18
/*
19
 *  XXX: Temporary function so we can break when something that is
20
 *       not implemented is invoked.
21
 */
22
 
23
int POSIX_MP_NOT_IMPLEMENTED( void );
24
int POSIX_NOT_IMPLEMENTED( void );
25
int POSIX_BOTTOM_REACHED( void );
26
 
27
/****************************************************************************
28
 ****************************************************************************
29
 *                                                                          *
30
 *         P1003.1b-1993 defines the constants below this comment.          *
31
 *                                                                          *
32
 ****************************************************************************
33
 ****************************************************************************/
34
 
35
/*
36
 *  Newlib may already have this set defined.
37
 */
38
 
39
#ifndef _POSIX_JOB_CONTROL
40
#define _POSIX_JOB_CONTROL
41
#endif
42
 
43
#ifndef _POSIX_SAVED_IDS
44
#define _POSIX_SAVED_IDS
45
#endif
46
 
47
#define _POSIX_ASYNCHRONOUS_IO
48
#define _POSIX_FSYNC
49
#define _POSIX_MAPPED_FILES
50
#define _POSIX_MEMLOCK
51
#define _POSIX_MEMLOCK_RANGE
52
#define _POSIX_MEMORY_PROTECTION
53
#define _POSIX_MESSAGE_PASSING
54
#define _POSIX_PRIORITIZED_IO
55
#define _POSIX_PRIORITY_SCHEDULING
56
#define _POSIX_REALTIME_SIGNALS
57
#define _POSIX_SEMAPHORES
58
#define _POSIX_SHARED_MEMORY_OBJECTS
59
#define _POSIX_SYNCHRONIZED_IO
60
#define _POSIX_TIMERS
61
 
62
/*
63
 *  This indicates the version number of the POSIX standard we are
64
 *  trying to be compliant with.
65
 *
66
 *  NOTE: Newlib may already have this set defined.
67
 */
68
 
69
#ifdef _POSIX_VERSION
70
#undef _POSIX_VERSION
71
#define _POSIX_VERSION           199309L
72
#endif
73
 
74
/****************************************************************************
75
 ****************************************************************************
76
 *                                                                          *
77
 *         P1003.1c/D10 defines the constants below this comment.           *
78
 *                                                                          *
79
 ****************************************************************************
80
 ****************************************************************************/
81
 
82
#define _POSIX_THREADS
83
#define _POSIX_THREAD_ATTR_STACKADDR
84
#define _POSIX_THREAD_ATTR_STACKSIZE
85
#define _POSIX_THREAD_PRIORITY_SCHEDULING
86
#define _POSIX_THREAD_PRIO_INHERIT
87
#define _POSIX_THREAD_PRIO_PROTECT
88
#define _POSIX_THREAD_PROCESS_SHARED
89
#define _POSIX_THREAD_SAFE_FUNCTIONS
90
 
91
/****************************************************************************
92
 ****************************************************************************
93
 *                                                                          *
94
 *         P1003.4b/D8 defines the constants below this comment.            *
95
 *                                                                          *
96
 ****************************************************************************
97
 ****************************************************************************/
98
 
99
#define _POSIX_SPAWN
100
#define _POSIX_TIMEOUTS
101
#define _POSIX_CPUTIME
102
#define _POSIX_THREAD_CPUTIME
103
#define _POSIX_SPORADIC_SERVER
104
#define _POSIX_THREAD_SPORADIC_SERVER
105
#define _POSIX_DEVICE_CONTROL
106
#define _POSIX_DEVCTL_DIRECTION
107
#define _POSIX_INTERRUPT_CONTROL
108
#define _POSIX_ADVISORY_INFO
109
 
110
#endif
111
/* end of include file */

powered by: WebSVN 2.1.0

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