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