RTEMS
obsolete.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: BSD-2-Clause */
2 
11 /*
12  * Copyright (C) 2017, 2020 embedded brains GmbH (http://www.embedded-brains.de)
13  *
14  * Redistribution and use in source and binary forms, with or without
15  * modification, are permitted provided that the following conditions
16  * are met:
17  * 1. Redistributions of source code must retain the above copyright
18  * notice, this list of conditions and the following disclaimer.
19  * 2. Redistributions in binary form must reproduce the above copyright
20  * notice, this list of conditions and the following disclaimer in the
21  * documentation and/or other materials provided with the distribution.
22  *
23  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
25  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26  * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
27  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
28  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
29  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
30  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
31  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
32  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
33  * POSSIBILITY OF SUCH DAMAGE.
34  */
35 
36 #ifndef _RTEMS_CONFDEFS_OBSOLETE_H
37 #define _RTEMS_CONFDEFS_OBSOLETE_H
38 
39 #ifndef __CONFIGURATION_TEMPLATE_h
40 #error "Do not include this file directly, use <rtems/confdefs.h> instead"
41 #endif
42 
43 #ifdef CONFIGURE_INIT
44 
45 /*
46  * Please keep the list of obsolete configuration options alphabetically sorted.
47  *
48  * Use #warning for renamed options and define the new option accordingly.
49  *
50  * Use #warning for obsolete options which are now superfluous, e.g. because
51  * the objects are now self-contained.
52  *
53  * Use #error for options which require now a different configuration approach,
54  * e.g. options for an own configuration table.
55  *
56  * Mention the RTEMS release which obsoleted the configuration option in the
57  * message.
58  */
59 
60 #ifdef CONFIGURE_BDBUF_BUFFER_SIZE
61  #error "The CONFIGURE_BDBUF_BUFFER_SIZE configuration option is obsolete since RTEMS 4.10.0"
62 #endif
63 
64 #ifdef CONFIGURE_BDBUF_BUFFER_COUNT
65  #error "The CONFIGURE_BDBUF_BUFFER_COUNT configuration option is obsolete since RTEMS 4.10.0"
66 #endif
67 
68 #ifdef CONFIGURE_MAXIMUM_DEVICES
69  #warning "The CONFIGURE_MAXIMUM_DEVICES configuration option is obsolete since RTEMS 5.1"
70 #endif
71 
72 #ifdef CONFIGURE_ENABLE_GO
73  #warning "The CONFIGURE_ENABLE_GO configuration option is obsolete since RTEMS 5.1"
74 #endif
75 
76 #ifdef CONFIGURE_GNAT_RTEMS
77  #warning "The CONFIGURE_GNAT_RTEMS configuration option is obsolete since RTEMS 5.1"
78 #endif
79 
80 #ifdef CONFIGURE_HAS_OWN_CONFIGURATION_TABLE
81  #error "The CONFIGURE_HAS_OWN_CONFIGURATION_TABLE configuration option is obsolete since RTEMS 5.1"
82 #endif
83 
84 #ifdef CONFIGURE_HAS_OWN_BDBUF_TABLE
85  #error "The CONFIGURE_HAS_BDBUF_TABLE configuration option is obsolete since RTEMS 4.10.0"
86 #endif
87 
88 #ifdef CONFIGURE_HAS_OWN_DEVICE_DRIVER_TABLE
89  #error "The CONFIGURE_HAS_OWN_DEVICE_DRIVER_TABLE configuration option is obsolete since RTEMS 5.1"
90 #endif
91 
92 #ifdef CONFIGURE_HAS_OWN_FILESYSTEM_TABLE
93  #error "The CONFIGURE_HAS_OWN_FILESYSTEM_TABLE configuration option is obsolete since RTEMS 5.1"
94 #endif
95 
96 #ifdef CONFIGURE_HAS_OWN_INIT_TABLE
97  #error "The CONFIGURE_HAS_OWN_INIT_TABLE configuration option is obsolete since RTEMS 5.1"
98 #endif
99 
100 #ifdef CONFIGURE_HAS_OWN_MOUNT_TABLE
101  #error "The CONFIGURE_HAS_OWN_MOUNT_TABLE configuration option is obsolete since RTEMS 5.1"
102 #endif
103 
104 #ifdef CONFIGURE_HAS_OWN_MULTIPROCESSING_TABLE
105  #error "The CONFIGURE_HAS_OWN_MULTIPROCESSING_TABLE configuration option is obsolete since RTEMS 5.1"
106 #endif
107 
108 #ifdef CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS
109  #warning "CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS has been renamed to CONFIGURE_MAXIMUM_FILE_DESCRIPTORS since RTEMS 5.1"
110  #define CONFIGURE_MAXIMUM_FILE_DESCRIPTORS CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS
111 #endif
112 
113 #ifdef CONFIGURE_MAXIMUM_ADA_TASKS
114  #warning "The CONFIGURE_MAXIMUM_ADA_TASKS configuration option is obsolete since RTEMS 5.1"
115 #endif
116 
117 #ifdef CONFIGURE_MAXIMUM_FAKE_ADA_TASKS
118  #warning "The CONFIGURE_MAXIMUM_FAKE_ADA_TASKS configuration option is obsolete since RTEMS 5.1"
119 #endif
120 
121 #ifdef CONFIGURE_MAXIMUM_FIFOS
122  #warning "CONFIGURE_MAXIMUM_FIFOS is obsolete since RTEMS 5.1; use CONFIGURE_IMFS_ENABLE_MKFIFO instead"
123  #if CONFIGURE_MAXIMUM_FIFOS > 0
124  #define CONFIGURE_IMFS_ENABLE_MKFIFO
125  #endif
126 #endif
127 
128 #ifdef CONFIGURE_MAXIMUM_GOROUTINES
129  #warning "The CONFIGURE_MAXIMUM_GOROUTINES configuration option is obsolete since RTEMS 5.1"
130 #endif
131 
132 #ifdef CONFIGURE_MAXIMUM_GO_CHANNELS
133  #warning "The CONFIGURE_MAXIMUM_GO_CHANNELS configuration option is obsolete since RTEMS 5.1"
134 #endif
135 
136 #ifdef CONFIGURE_MAXIMUM_MRSP_SEMAPHORES
137  #warning "The CONFIGURE_MAXIMUM_MRSP_SEMAPHORES configuration option is obsolete since RTEMS 5.1"
138 #endif
139 
140 #ifdef CONFIGURE_MAXIMUM_PIPES
141  #warning "CONFIGURE_MAXIMUM_PIPES is obsolete since RTEMS 5.1; use CONFIGURE_IMFS_ENABLE_MKFIFO instead"
142  #if CONFIGURE_MAXIMUM_PIPES > 0
143  #define CONFIGURE_IMFS_ENABLE_MKFIFO
144  #endif
145 #endif
146 
147 #ifdef CONFIGURE_MAXIMUM_POSIX_BARRIERS
148  #warning "The CONFIGURE_MAXIMUM_POSIX_BARRIERS configuration option is obsolete since RTEMS 5.1"
149 #endif
150 
151 #ifdef CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES
152  #warning "The CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES configuration option is obsolete since RTEMS 5.1"
153 #endif
154 
155 #ifdef CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUE_DESCRIPTORS
156  #warning "The CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUE_DESCRIPTORS configuration option is obsolete since RTEMS 5.1"
157 #endif
158 
159 #ifdef CONFIGURE_MAXIMUM_POSIX_MUTEXES
160  #warning "The CONFIGURE_MAXIMUM_POSIX_MUTEXES configuration option is obsolete since RTEMS 5.1"
161 #endif
162 
163 #ifdef CONFIGURE_MAXIMUM_POSIX_RWLOCKS
164  #warning "The CONFIGURE_MAXIMUM_POSIX_RWLOCKS configuration option is obsolete since RTEMS 5.1"
165 #endif
166 
167 #ifdef CONFIGURE_MAXIMUM_POSIX_SPINLOCKS
168  #warning "The CONFIGURE_MAXIMUM_POSIX_SPINLOCKS configuration option is obsolete since RTEMS 5.1"
169 #endif
170 
171 #ifdef CONFIGURE_MAXIMUM_PTYS
172  #warning "The CONFIGURE_MAXIMUM_PTYS configuration option is obsolete since RTEMS 5.1"
173 #endif
174 
175 #ifdef CONFIGURE_NUMBER_OF_TERMIOS_PORTS
176  #warning "The CONFIGURE_NUMBER_OF_TERMIOS_PORTS configuration option is obsolete since RTEMS 5.1"
177 #endif
178 
179 #ifdef CONFIGURE_POSIX_HAS_OWN_INIT_THREAD_TABLE
180  #error "The CONFIGURE_POSIX_HAS_OWN_INIT_THREAD_TABLE configuration option is obsolete since RTEMS 5.1"
181 #endif
182 
183 #ifdef CONFIGURE_SCHEDULER_CONTEXT
184  #warning "CONFIGURE_SCHEDULER_CONTEXT has been renamed to CONFIGURE_SCHEDULER since RTEMS 5.1"
185  #define CONFIGURE_SCHEDULER CONFIGURE_SCHEDULER_CONTEXT
186 #endif
187 
188 #ifdef CONFIGURE_SCHEDULER_CONTROLS
189  #warning "CONFIGURE_SCHEDULER_CONTROLS has been renamed to CONFIGURE_SCHEDULER_TABLE_ENTRIES since RTEMS 5.1"
190  #define CONFIGURE_SCHEDULER_TABLE_ENTRIES CONFIGURE_SCHEDULER_CONTROLS
191 #endif
192 
193 #ifdef CONFIGURE_SMP_APPLICATION
194  #warning "CONFIGURE_SMP_APPLICATION is obsolete since RTEMS 5.1"
195 #endif
196 
197 #ifdef CONFIGURE_SMP_MAXIMUM_PROCESSORS
198  #warning "CONFIGURE_SMP_MAXIMUM_PROCESSORS has been renamed to CONFIGURE_MAXIMUM_PROCESSORS since RTEMS 5.1"
199  #define CONFIGURE_MAXIMUM_PROCESSORS CONFIGURE_SMP_MAXIMUM_PROCESSORS
200 #endif
201 
202 #ifdef CONFIGURE_SMP_SCHEDULER_ASSIGNMENTS
203  #warning "CONFIGURE_SMP_SCHEDULER_ASSIGNMENTS has been renamed to CONFIGURE_SCHEDULER_ASSIGNMENTS since RTEMS 5.1"
204  #define CONFIGURE_SCHEDULER_ASSIGNMENTS CONFIGURE_SMP_SCHEDULER_ASSIGNMENTS
205 #endif
206 
207 #ifdef CONFIGURE_TERMIOS_DISABLED
208  #warning "The CONFIGURE_TERMIOS_DISABLED configuration option is obsolete since RTEMS 5.1"
209 #endif
210 
211 #ifdef CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
212  #error "The CONFIGURE_TEST_NEEDS_CLOCK_DRIVER configuration option is obsolete since at least RTEMS 4.5.0"
213 #endif
214 
215 #ifdef CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
216  #error "The CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER configuration option is obsolete at least RTEMS 4.5.0"
217 #endif
218 
219 #ifdef CONFIGURE_TEST_NEEDS_RTC_DRIVER
220  #error "The CONFIGURE_TEST_NEEDS_RTC_DRIVER configuration option is obsolete at least RTEMS 4.5.0"
221 #endif
222 
223 #ifdef CONFIGURE_TEST_NEEDS_STUB_DRIVER
224  #error "The CONFIGURE_TEST_NEEDS_STUB_DRIVER configuration option is obsolete at least RTEMS 4.5.0"
225 #endif
226 
227 #ifdef CONFIGURE_TEST_NEEDS_TIMER_DRIVER
228  #error "The CONFIGURE_TEST_NEEDS_TIMER_DRIVER configuration option is obsolete at least RTEMS 4.5.0"
229 #endif
230 
231 #ifdef STACK_CHECKER_ON
232  #warning "STACK_CHECKER_ON has been renamed to CONFIGURE_STACK_CHECKER_ENABLED since RTEMS 4.10.0"
233  #define CONFIGURE_STACK_CHECKER_ENABLED
234 #endif
235 
236 #endif /* CONFIGURE_INIT */
237 
238 #endif /* _RTEMS_CONFDEFS_OBSOLETE_H */