<div dir="ltr">Thanks looks good to me.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Feb 15, 2020 at 10:58 AM Sebastian Huber <<a href="mailto:sebastian.huber@embedded-brains.de">sebastian.huber@embedded-brains.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Unify handling of obsolete configuration options. Change license to<br>
BSD-2-Clause.<br>
<br>
Update #3053.<br>
Update #3875.<br>
---<br>
cpukit/<a href="http://header-dirs.am" rel="noreferrer" target="_blank">header-dirs.am</a> | 2 +<br>
cpukit/<a href="http://headers.am" rel="noreferrer" target="_blank">headers.am</a> | 1 +<br>
cpukit/include/rtems/confdefs.h | 167 +---------------------<br>
cpukit/include/rtems/confdefs/obsolete.h | 234 +++++++++++++++++++++++++++++++<br>
4 files changed, 238 insertions(+), 166 deletions(-)<br>
create mode 100644 cpukit/include/rtems/confdefs/obsolete.h<br>
<br>
diff --git a/cpukit/<a href="http://header-dirs.am" rel="noreferrer" target="_blank">header-dirs.am</a> b/cpukit/<a href="http://header-dirs.am" rel="noreferrer" target="_blank">header-dirs.am</a><br>
index 7197f1a29f..d90271be9e 100644<br>
--- a/cpukit/<a href="http://header-dirs.am" rel="noreferrer" target="_blank">header-dirs.am</a><br>
+++ b/cpukit/<a href="http://header-dirs.am" rel="noreferrer" target="_blank">header-dirs.am</a><br>
@@ -50,6 +50,8 @@ include_rtems_bfindir = $(includedir)/rtems/bfin<br>
include_rtems_bfin_HEADERS =<br>
include_rtems_bsdnetdir = $(includedir)/rtems/bsdnet<br>
include_rtems_bsdnet_HEADERS =<br>
+include_rtems_confdefsdir = $(includedir)/rtems/confdefs<br>
+include_rtems_confdefs_HEADERS =<br>
include_rtems_debuggerdir = $(includedir)/rtems/debugger<br>
include_rtems_debugger_HEADERS =<br>
include_rtems_m68kdir = $(includedir)/rtems/m68k<br>
diff --git a/cpukit/<a href="http://headers.am" rel="noreferrer" target="_blank">headers.am</a> b/cpukit/<a href="http://headers.am" rel="noreferrer" target="_blank">headers.am</a><br>
index 6e1ab4ccd0..f0c8319dcb 100644<br>
--- a/cpukit/<a href="http://headers.am" rel="noreferrer" target="_blank">headers.am</a><br>
+++ b/cpukit/<a href="http://headers.am" rel="noreferrer" target="_blank">headers.am</a><br>
@@ -183,6 +183,7 @@ include_rtems_HEADERS += include/rtems/userenv.h<br>
include_rtems_HEADERS += include/rtems/version.h<br>
include_rtems_HEADERS += include/rtems/vmeintr.h<br>
include_rtems_HEADERS += include/rtems/watchdogdrv.h<br>
+include_rtems_confdefs_HEADERS += include/rtems/confdefs/obsolete.h<br>
include_rtems_debugger_HEADERS += include/rtems/debugger/rtems-debugger-bsp.h<br>
include_rtems_debugger_HEADERS += include/rtems/debugger/rtems-debugger-remote.h<br>
include_rtems_debugger_HEADERS += include/rtems/debugger/rtems-debugger-server.h<br>
diff --git a/cpukit/include/rtems/confdefs.h b/cpukit/include/rtems/confdefs.h<br>
index e0d4a77075..0b3b2af546 100644<br>
--- a/cpukit/include/rtems/confdefs.h<br>
+++ b/cpukit/include/rtems/confdefs.h<br>
@@ -50,6 +50,7 @@<br>
#include <rtems/posix/semaphore.h><br>
#include <rtems/posix/shm.h><br>
#include <rtems/posix/timer.h><br>
+#include <rtems/confdefs/obsolete.h><br>
<br>
#include <limits.h><br>
<br>
@@ -138,11 +139,6 @@ extern "C" {<br>
#endif<br>
#endif<br>
<br>
-#ifdef CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS<br>
- #warning "CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS has been renamed to CONFIGURE_MAXIMUM_FILE_DESCRIPTORS since RTEMS 5.1"<br>
- #define CONFIGURE_MAXIMUM_FILE_DESCRIPTORS CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS<br>
-#endif<br>
-<br>
/**<br>
* This macro defines the number of POSIX file descriptors allocated<br>
* and managed by libio. These are the "integer" file descriptors that<br>
@@ -167,11 +163,6 @@ extern "C" {<br>
const uint32_t rtems_libio_number_iops = RTEMS_ARRAY_SIZE(rtems_libio_iops);<br>
#endif<br>
<br>
-#ifdef CONFIGURE_SMP_MAXIMUM_PROCESSORS<br>
- #warning "CONFIGURE_SMP_MAXIMUM_PROCESSORS has been renamed to CONFIGURE_MAXIMUM_PROCESSORS since RTEMS 5.1"<br>
- #define CONFIGURE_MAXIMUM_PROCESSORS CONFIGURE_SMP_MAXIMUM_PROCESSORS<br>
-#endif<br>
-<br>
/* Ensure that _CONFIGURE_MAXIMUM_PROCESSORS > 1 only in SMP configurations */<br>
#if defined(CONFIGURE_MAXIMUM_PROCESSORS) && defined(RTEMS_SMP)<br>
#define _CONFIGURE_MAXIMUM_PROCESSORS CONFIGURE_MAXIMUM_PROCESSORS<br>
@@ -191,34 +182,10 @@ extern "C" {<br>
#endif<br>
#endif<br>
<br>
-#ifdef CONFIGURE_SMP_APPLICATION<br>
- #warning "CONFIGURE_SMP_APPLICATION is obsolete since RTEMS 5.1"<br>
-#endif<br>
-<br>
/*<br>
* This sets up the resources for the FIFOs/pipes.<br>
*/<br>
<br>
-/**<br>
- * This is specified to configure the maximum number of POSIX FIFOs.<br>
- */<br>
-#ifdef CONFIGURE_MAXIMUM_FIFOS<br>
- #warning "CONFIGURE_MAXIMUM_FIFOS is obsolete since RTEMS 5.1; use CONFIGURE_IMFS_ENABLE_MKFIFO instead"<br>
- #if CONFIGURE_MAXIMUM_FIFOS > 0<br>
- #define CONFIGURE_IMFS_ENABLE_MKFIFO<br>
- #endif<br>
-#endif<br>
-<br>
-/**<br>
- * This is specified to configure the maximum number of POSIX named pipes.<br>
- */<br>
-#ifdef CONFIGURE_MAXIMUM_PIPES<br>
- #warning "CONFIGURE_MAXIMUM_PIPES is obsolete since RTEMS 5.1; use CONFIGURE_IMFS_ENABLE_MKFIFO instead"<br>
- #if CONFIGURE_MAXIMUM_PIPES > 0<br>
- #define CONFIGURE_IMFS_ENABLE_MKFIFO<br>
- #endif<br>
-#endif<br>
-<br>
/**<br>
* @defgroup ConfigFilesystems Filesystems and Mount Table Configuration<br>
*<br>
@@ -617,14 +584,6 @@ extern "C" {<br>
#endif<br>
/**@}*/ /* end of file system group */<br>
<br>
-/*<br>
- * STACK_CHECKER_ON was still available in 4.9 so give a warning for now.<br>
- */<br>
-#if defined(STACK_CHECKER_ON)<br>
- #define CONFIGURE_STACK_CHECKER_ENABLED<br>
- #warning "STACK_CHECKER_ON deprecated -- use CONFIGURE_STACK_CHECKER_ENABLED"<br>
-#endif<br>
-<br>
/**<br>
* This configures the stack checker user extension.<br>
*/<br>
@@ -702,21 +661,6 @@ extern "C" {<br>
* - CONFIGURE_SCHEDULER_USER_PER_THREAD<br>
*/<br>
<br>
-#ifdef CONFIGURE_SCHEDULER_CONTEXT<br>
- #warning "CONFIGURE_SCHEDULER_CONTEXT has been renamed to CONFIGURE_SCHEDULER since RTEMS 5.1"<br>
- #define CONFIGURE_SCHEDULER CONFIGURE_SCHEDULER_CONTEXT<br>
-#endif<br>
-<br>
-#ifdef CONFIGURE_SCHEDULER_CONTROLS<br>
- #warning "CONFIGURE_SCHEDULER_CONTROLS has been renamed to CONFIGURE_SCHEDULER_TABLE_ENTRIES since RTEMS 5.1"<br>
- #define CONFIGURE_SCHEDULER_TABLE_ENTRIES CONFIGURE_SCHEDULER_CONTROLS<br>
-#endif<br>
-<br>
-#ifdef CONFIGURE_SMP_SCHEDULER_ASSIGNMENTS<br>
- #warning "CONFIGURE_SMP_SCHEDULER_ASSIGNMENTS has been renamed to CONFIGURE_SCHEDULER_ASSIGNMENTS since RTEMS 5.1"<br>
- #define CONFIGURE_SCHEDULER_ASSIGNMENTS CONFIGURE_SMP_SCHEDULER_ASSIGNMENTS<br>
-#endif<br>
-<br>
#if !defined(CONFIGURE_SCHEDULER_USER) && \<br>
!defined(CONFIGURE_SCHEDULER_PRIORITY) && \<br>
!defined(CONFIGURE_SCHEDULER_PRIORITY_SMP) && \<br>
@@ -1665,12 +1609,6 @@ const Thread_Idle_body _Thread_Idle_body = CONFIGURE_IDLE_TASK_BODY;<br>
(_CONFIGURE_LIBBLOCK_TASKS * \<br>
(CONFIGURE_BDBUF_TASK_STACK_SIZE <= CONFIGURE_MINIMUM_TASK_STACK_SIZE ? \<br>
0 : CONFIGURE_BDBUF_TASK_STACK_SIZE - CONFIGURE_MINIMUM_TASK_STACK_SIZE))<br>
-<br>
- #if defined(CONFIGURE_HAS_OWN_BDBUF_TABLE) || \<br>
- defined(CONFIGURE_BDBUF_BUFFER_SIZE) || \<br>
- defined(CONFIGURE_BDBUF_BUFFER_COUNT)<br>
- #error BDBUF Cache does not use a buffer configuration table. Please remove.<br>
- #endif<br>
#else<br>
/** This specifies the number of libblock tasks. */<br>
#define _CONFIGURE_LIBBLOCK_TASKS 0<br>
@@ -2904,17 +2842,6 @@ struct _reent *__getreent(void)<br>
#endif<br>
#endif /* !defined(RTEMS_SCHEDSIM) */<br>
<br>
-/*<br>
- * These names have been obsoleted so make the user application stop compiling<br>
- */<br>
-#if defined(CONFIGURE_TEST_NEEDS_TIMER_DRIVER) || \<br>
- defined(CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER) || \<br>
- defined(CONFIGURE_TEST_NEEDS_CLOCK_DRIVER) || \<br>
- defined(CONFIGURE_TEST_NEEDS_RTC_DRIVER) || \<br>
- defined(CONFIGURE_TEST_NEEDS_STUB_DRIVER)<br>
-#error "CONFIGURATION ERROR: CONFIGURE_TEST_XXX constants are obsolete"<br>
-#endif<br>
-<br>
/*<br>
* Validate the configured maximum priority<br>
*/<br>
@@ -2932,82 +2859,6 @@ struct _reent *__getreent(void)<br>
#error "Maximum priority configured higher than supported by target."<br>
#endif<br>
<br>
-#ifdef CONFIGURE_HAS_OWN_CONFIGURATION_TABLE<br>
- #warning "The CONFIGURE_HAS_OWN_CONFIGURATION_TABLE configuration option is obsolete since RTEMS 5.1"<br>
-#endif<br>
-<br>
-#ifdef CONFIGURE_HAS_OWN_DEVICE_DRIVER_TABLE<br>
- #warning "The CONFIGURE_HAS_OWN_DEVICE_DRIVER_TABLE configuration option is obsolete since RTEMS 5.1"<br>
-#endif<br>
-<br>
-#ifdef CONFIGURE_HAS_OWN_FILESYSTEM_TABLE<br>
- #warning "The CONFIGURE_HAS_OWN_FILESYSTEM_TABLE configuration option is obsolete since RTEMS 5.1"<br>
-#endif<br>
-<br>
-#ifdef CONFIGURE_HAS_OWN_INIT_TABLE<br>
- #warning "The CONFIGURE_HAS_OWN_INIT_TABLE configuration option is obsolete since RTEMS 5.1"<br>
-#endif<br>
-<br>
-#ifdef CONFIGURE_HAS_OWN_MOUNT_TABLE<br>
- #warning "The CONFIGURE_HAS_OWN_MOUNT_TABLE configuration option is obsolete since RTEMS 5.1"<br>
-#endif<br>
-<br>
-#ifdef CONFIGURE_HAS_OWN_MULTIPROCESSING_TABLE<br>
- #warning "The CONFIGURE_HAS_OWN_MOUNT_TABLE configuration option is obsolete since RTEMS 5.1"<br>
-#endif<br>
-<br>
-#ifdef CONFIGURE_NUMBER_OF_TERMIOS_PORTS<br>
- #warning "The CONFIGURE_NUMBER_OF_TERMIOS_PORTS configuration option is obsolete since RTEMS 5.1"<br>
-#endif<br>
-<br>
-#ifdef CONFIGURE_MAXIMUM_ADA_TASKS<br>
- #warning "The CONFIGURE_MAXIMUM_ADA_TASKS configuration option is obsolete since RTEMS 5.1"<br>
-#endif<br>
-<br>
-#ifdef CONFIGURE_MAXIMUM_FAKE_ADA_TASKS<br>
- #warning "The CONFIGURE_MAXIMUM_FAKE_ADA_TASKS configuration option is obsolete since RTEMS 5.1"<br>
-#endif<br>
-<br>
-#ifdef CONFIGURE_MAXIMUM_MRSP_SEMAPHORES<br>
- #warning "The CONFIGURE_MAXIMUM_MRSP_SEMAPHORES configuration option is obsolete since RTEMS 5.1"<br>
-#endif<br>
-<br>
-#ifdef CONFIGURE_MAXIMUM_POSIX_BARRIERS<br>
- #warning "The CONFIGURE_MAXIMUM_POSIX_BARRIERS configuration option is obsolete since RTEMS 5.1"<br>
-#endif<br>
-<br>
-#ifdef CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES<br>
- #warning "The CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES configuration option is obsolete since RTEMS 5.1"<br>
-#endif<br>
-<br>
-#ifdef CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUE_DESCRIPTORS<br>
- #warning "The CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUE_DESCRIPTORS configuration option is obsolete since RTEMS 5.1"<br>
-#endif<br>
-<br>
-#ifdef CONFIGURE_MAXIMUM_POSIX_MUTEXES<br>
- #warning "The CONFIGURE_MAXIMUM_POSIX_MUTEXES configuration option is obsolete since RTEMS 5.1"<br>
-#endif<br>
-<br>
-#ifdef CONFIGURE_MAXIMUM_POSIX_RWLOCKS<br>
- #warning "The CONFIGURE_MAXIMUM_POSIX_RWLOCKS configuration option is obsolete since RTEMS 5.1"<br>
-#endif<br>
-<br>
-#ifdef CONFIGURE_MAXIMUM_POSIX_SPINLOCKS<br>
- #warning "The CONFIGURE_MAXIMUM_POSIX_SPINLOCKS configuration option is obsolete since RTEMS 5.1"<br>
-#endif<br>
-<br>
-#ifdef CONFIGURE_MAXIMUM_PTYS<br>
- #warning "The CONFIGURE_MAXIMUM_PTYS configuration option is obsolete since RTEMS 5.1"<br>
-#endif<br>
-<br>
-#ifdef CONFIGURE_POSIX_HAS_OWN_INIT_THREAD_TABLE<br>
- #warning "The CONFIGURE_POSIX_HAS_OWN_INIT_THREAD_TABLE configuration option is obsolete since RTEMS 5.1"<br>
-#endif<br>
-<br>
-#ifdef CONFIGURE_TERMIOS_DISABLED<br>
- #warning "The CONFIGURE_TERMIOS_DISABLED configuration option is obsolete since RTEMS 5.1"<br>
-#endif<br>
-<br>
/*<br>
* POSIX Key pair shouldn't be less than POSIX Key, which is highly<br>
* likely to be error.<br>
@@ -3032,21 +2883,5 @@ struct _reent *__getreent(void)<br>
#error "IMFS Memfile block size must be a power of 2 between 16 and 512"<br>
#endif<br>
<br>
-#ifdef CONFIGURE_ENABLE_GO<br>
- #warning "The CONFIGURE_ENABLE_GO configuration option is obsolete since RTEMS 5.1"<br>
-#endif<br>
-<br>
-#ifdef CONFIGURE_GNAT_RTEMS<br>
- #warning "The CONFIGURE_GNAT_RTEMS configuration option is obsolete since RTEMS 5.1"<br>
-#endif<br>
-<br>
-#ifdef CONFIGURE_MAXIMUM_GOROUTINES<br>
- #warning "The CONFIGURE_MAXIMUM_GOROUTINES configuration option is obsolete since RTEMS 5.1"<br>
-#endif<br>
-<br>
-#ifdef CONFIGURE_MAXIMUM_GO_CHANNELS<br>
- #warning "The CONFIGURE_MAXIMUM_GO_CHANNELS configuration option is obsolete since RTEMS 5.1"<br>
-#endif<br>
-<br>
#endif<br>
/* end of include file */<br>
diff --git a/cpukit/include/rtems/confdefs/obsolete.h b/cpukit/include/rtems/confdefs/obsolete.h<br>
new file mode 100644<br>
index 0000000000..6321810c43<br>
--- /dev/null<br>
+++ b/cpukit/include/rtems/confdefs/obsolete.h<br>
@@ -0,0 +1,234 @@<br>
+/**<br>
+ * @file<br>
+ *<br>
+ * @ingroup RTEMSApplicationConfiguration<br>
+ *<br>
+ * @brief This header file deals with obsolete configuration options.<br>
+ */<br>
+<br>
+/*<br>
+ * SPDX-License-Identifier: BSD-2-Clause<br>
+ *<br>
+ * Copyright (C) 2017, 2020 embedded brains GmbH<br>
+ *<br>
+ * Redistribution and use in source and binary forms, with or without<br>
+ * modification, are permitted provided that the following conditions<br>
+ * are met:<br>
+ * 1. Redistributions of source code must retain the above copyright<br>
+ * notice, this list of conditions and the following disclaimer.<br>
+ * 2. Redistributions in binary form must reproduce the above copyright<br>
+ * notice, this list of conditions and the following disclaimer in the<br>
+ * documentation and/or other materials provided with the distribution.<br>
+ *<br>
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"<br>
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE<br>
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE<br>
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE<br>
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR<br>
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF<br>
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS<br>
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN<br>
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)<br>
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE<br>
+ * POSSIBILITY OF SUCH DAMAGE.<br>
+ */<br>
+<br>
+#ifndef _RTEMS_CONFDEFS_OBSOLETE_H<br>
+#define _RTEMS_CONFDEFS_OBSOLETE_H<br>
+<br>
+#ifndef __CONFIGURATION_TEMPLATE_h<br>
+#error "Do not include this file directly, use <rtems/confdefs.h> instead"<br>
+#endif<br>
+<br>
+#ifdef CONFIGURE_INIT<br>
+<br>
+/*<br>
+ * Please keep the list of obsolete configuration options alphabetically sorted.<br>
+ *<br>
+ * Use #warning for renamed options and define the new option accordingly.<br>
+ *<br>
+ * Use #warning for obsolete options which are now superfluous, e.g. because<br>
+ * the objects are now self-contained.<br>
+ *<br>
+ * Use #error for options which require now a different configuration approach,<br>
+ * e.g. options for an own configuration table.<br>
+ *<br>
+ * Mention the RTEMS release which obsoleted the configuration option in the<br>
+ * message.<br>
+ */<br>
+<br>
+#ifdef CONFIGURE_BDBUF_BUFFER_SIZE<br>
+ #error "The CONFIGURE_BDBUF_BUFFER_SIZE configuration option is obsolete since RTEMS 4.10.0"<br>
+#endif<br>
+<br>
+#ifdef CONFIGURE_BDBUF_BUFFER_COUNT<br>
+ #error "The CONFIGURE_BDBUF_BUFFER_COUNT configuration option is obsolete since RTEMS 4.10.0"<br>
+#endif<br>
+<br>
+#ifdef CONFIGURE_ENABLE_GO<br>
+ #warning "The CONFIGURE_ENABLE_GO configuration option is obsolete since RTEMS 5.1"<br>
+#endif<br>
+<br>
+#ifdef CONFIGURE_GNAT_RTEMS<br>
+ #warning "The CONFIGURE_GNAT_RTEMS configuration option is obsolete since RTEMS 5.1"<br>
+#endif<br>
+<br>
+#ifdef CONFIGURE_HAS_OWN_CONFIGURATION_TABLE<br>
+ #error "The CONFIGURE_HAS_OWN_CONFIGURATION_TABLE configuration option is obsolete since RTEMS 5.1"<br>
+#endif<br>
+<br>
+#ifdef CONFIGURE_HAS_OWN_BDBUF_TABLE<br>
+ #error "The CONFIGURE_HAS_BDBUF_TABLE configuration option is obsolete since RTEMS 4.10.0"<br>
+#endif<br>
+<br>
+#ifdef CONFIGURE_HAS_OWN_DEVICE_DRIVER_TABLE<br>
+ #error "The CONFIGURE_HAS_OWN_DEVICE_DRIVER_TABLE configuration option is obsolete since RTEMS 5.1"<br>
+#endif<br>
+<br>
+#ifdef CONFIGURE_HAS_OWN_FILESYSTEM_TABLE<br>
+ #error "The CONFIGURE_HAS_OWN_FILESYSTEM_TABLE configuration option is obsolete since RTEMS 5.1"<br>
+#endif<br>
+<br>
+#ifdef CONFIGURE_HAS_OWN_INIT_TABLE<br>
+ #error "The CONFIGURE_HAS_OWN_INIT_TABLE configuration option is obsolete since RTEMS 5.1"<br>
+#endif<br>
+<br>
+#ifdef CONFIGURE_HAS_OWN_MOUNT_TABLE<br>
+ #error "The CONFIGURE_HAS_OWN_MOUNT_TABLE configuration option is obsolete since RTEMS 5.1"<br>
+#endif<br>
+<br>
+#ifdef CONFIGURE_HAS_OWN_MULTIPROCESSING_TABLE<br>
+ #error "The CONFIGURE_HAS_OWN_MOUNT_TABLE configuration option is obsolete since RTEMS 5.1"<br>
+#endif<br>
+<br>
+#ifdef CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS<br>
+ #warning "CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS has been renamed to CONFIGURE_MAXIMUM_FILE_DESCRIPTORS since RTEMS 5.1"<br>
+ #define CONFIGURE_MAXIMUM_FILE_DESCRIPTORS CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS<br>
+#endif<br>
+<br>
+#ifdef CONFIGURE_MAXIMUM_ADA_TASKS<br>
+ #warning "The CONFIGURE_MAXIMUM_ADA_TASKS configuration option is obsolete since RTEMS 5.1"<br>
+#endif<br>
+<br>
+#ifdef CONFIGURE_MAXIMUM_FAKE_ADA_TASKS<br>
+ #warning "The CONFIGURE_MAXIMUM_FAKE_ADA_TASKS configuration option is obsolete since RTEMS 5.1"<br>
+#endif<br>
+<br>
+#ifdef CONFIGURE_MAXIMUM_FIFOS<br>
+ #warning "CONFIGURE_MAXIMUM_FIFOS is obsolete since RTEMS 5.1; use CONFIGURE_IMFS_ENABLE_MKFIFO instead"<br>
+ #if CONFIGURE_MAXIMUM_FIFOS > 0<br>
+ #define CONFIGURE_IMFS_ENABLE_MKFIFO<br>
+ #endif<br>
+#endif<br>
+<br>
+#ifdef CONFIGURE_MAXIMUM_GOROUTINES<br>
+ #warning "The CONFIGURE_MAXIMUM_GOROUTINES configuration option is obsolete since RTEMS 5.1"<br>
+#endif<br>
+<br>
+#ifdef CONFIGURE_MAXIMUM_GO_CHANNELS<br>
+ #warning "The CONFIGURE_MAXIMUM_GO_CHANNELS configuration option is obsolete since RTEMS 5.1"<br>
+#endif<br>
+<br>
+#ifdef CONFIGURE_MAXIMUM_MRSP_SEMAPHORES<br>
+ #warning "The CONFIGURE_MAXIMUM_MRSP_SEMAPHORES configuration option is obsolete since RTEMS 5.1"<br>
+#endif<br>
+<br>
+#ifdef CONFIGURE_MAXIMUM_PIPES<br>
+ #warning "CONFIGURE_MAXIMUM_PIPES is obsolete since RTEMS 5.1; use CONFIGURE_IMFS_ENABLE_MKFIFO instead"<br>
+ #if CONFIGURE_MAXIMUM_PIPES > 0<br>
+ #define CONFIGURE_IMFS_ENABLE_MKFIFO<br>
+ #endif<br>
+#endif<br>
+<br>
+#ifdef CONFIGURE_MAXIMUM_POSIX_BARRIERS<br>
+ #warning "The CONFIGURE_MAXIMUM_POSIX_BARRIERS configuration option is obsolete since RTEMS 5.1"<br>
+#endif<br>
+<br>
+#ifdef CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES<br>
+ #warning "The CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES configuration option is obsolete since RTEMS 5.1"<br>
+#endif<br>
+<br>
+#ifdef CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUE_DESCRIPTORS<br>
+ #warning "The CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUE_DESCRIPTORS configuration option is obsolete since RTEMS 5.1"<br>
+#endif<br>
+<br>
+#ifdef CONFIGURE_MAXIMUM_POSIX_MUTEXES<br>
+ #warning "The CONFIGURE_MAXIMUM_POSIX_MUTEXES configuration option is obsolete since RTEMS 5.1"<br>
+#endif<br>
+<br>
+#ifdef CONFIGURE_MAXIMUM_POSIX_RWLOCKS<br>
+ #warning "The CONFIGURE_MAXIMUM_POSIX_RWLOCKS configuration option is obsolete since RTEMS 5.1"<br>
+#endif<br>
+<br>
+#ifdef CONFIGURE_MAXIMUM_POSIX_SPINLOCKS<br>
+ #warning "The CONFIGURE_MAXIMUM_POSIX_SPINLOCKS configuration option is obsolete since RTEMS 5.1"<br>
+#endif<br>
+<br>
+#ifdef CONFIGURE_MAXIMUM_PTYS<br>
+ #warning "The CONFIGURE_MAXIMUM_PTYS configuration option is obsolete since RTEMS 5.1"<br>
+#endif<br>
+<br>
+#ifdef CONFIGURE_NUMBER_OF_TERMIOS_PORTS<br>
+ #warning "The CONFIGURE_NUMBER_OF_TERMIOS_PORTS configuration option is obsolete since RTEMS 5.1"<br>
+#endif<br>
+<br>
+#ifdef CONFIGURE_POSIX_HAS_OWN_INIT_THREAD_TABLE<br>
+ #error "The CONFIGURE_POSIX_HAS_OWN_INIT_THREAD_TABLE configuration option is obsolete since RTEMS 5.1"<br>
+#endif<br>
+<br>
+#ifdef CONFIGURE_SCHEDULER_CONTEXT<br>
+ #warning "CONFIGURE_SCHEDULER_CONTEXT has been renamed to CONFIGURE_SCHEDULER since RTEMS 5.1"<br>
+ #define CONFIGURE_SCHEDULER CONFIGURE_SCHEDULER_CONTEXT<br>
+#endif<br>
+<br>
+#ifdef CONFIGURE_SCHEDULER_CONTROLS<br>
+ #warning "CONFIGURE_SCHEDULER_CONTROLS has been renamed to CONFIGURE_SCHEDULER_TABLE_ENTRIES since RTEMS 5.1"<br>
+ #define CONFIGURE_SCHEDULER_TABLE_ENTRIES CONFIGURE_SCHEDULER_CONTROLS<br>
+#endif<br>
+<br>
+#ifdef CONFIGURE_SMP_APPLICATION<br>
+ #warning "CONFIGURE_SMP_APPLICATION is obsolete since RTEMS 5.1"<br>
+#endif<br>
+<br>
+#ifdef CONFIGURE_SMP_MAXIMUM_PROCESSORS<br>
+ #warning "CONFIGURE_SMP_MAXIMUM_PROCESSORS has been renamed to CONFIGURE_MAXIMUM_PROCESSORS since RTEMS 5.1"<br>
+ #define CONFIGURE_MAXIMUM_PROCESSORS CONFIGURE_SMP_MAXIMUM_PROCESSORS<br>
+#endif<br>
+<br>
+#ifdef CONFIGURE_SMP_SCHEDULER_ASSIGNMENTS<br>
+ #warning "CONFIGURE_SMP_SCHEDULER_ASSIGNMENTS has been renamed to CONFIGURE_SCHEDULER_ASSIGNMENTS since RTEMS 5.1"<br>
+ #define CONFIGURE_SCHEDULER_ASSIGNMENTS CONFIGURE_SMP_SCHEDULER_ASSIGNMENTS<br>
+#endif<br>
+<br>
+#ifdef CONFIGURE_TERMIOS_DISABLED<br>
+ #warning "The CONFIGURE_TERMIOS_DISABLED configuration option is obsolete since RTEMS 5.1"<br>
+#endif<br>
+<br>
+#ifdef CONFIGURE_TEST_NEEDS_CLOCK_DRIVER<br>
+ #error "The CONFIGURE_TEST_NEEDS_CLOCK_DRIVER configuration option is obsolete since at least RTEMS 4.5.0"<br>
+#endif<br>
+<br>
+#ifdef CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER<br>
+ #error "The CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER configuration option is obsolete at least RTEMS 4.5.0"<br>
+#endif<br>
+<br>
+#ifdef CONFIGURE_TEST_NEEDS_RTC_DRIVER<br>
+ #error "The CONFIGURE_TEST_NEEDS_RTC_DRIVER configuration option is obsolete at least RTEMS 4.5.0"<br>
+#endif<br>
+<br>
+#ifdef CONFIGURE_TEST_NEEDS_STUB_DRIVER<br>
+ #error "The CONFIGURE_TEST_NEEDS_STUB_DRIVER configuration option is obsolete at least RTEMS 4.5.0"<br>
+#endif<br>
+<br>
+#ifdef CONFIGURE_TEST_NEEDS_TIMER_DRIVER<br>
+ #error "The CONFIGURE_TEST_NEEDS_TIMER_DRIVER configuration option is obsolete at least RTEMS 4.5.0"<br>
+#endif<br>
+<br>
+#ifdef STACK_CHECKER_ON<br>
+ #warning "STACK_CHECKER_ON has been renamed to CONFIGURE_STACK_CHECKER_ENABLED since RTEMS 4.10.0"<br>
+ #define CONFIGURE_STACK_CHECKER_ENABLED<br>
+#endif<br>
+<br>
+#endif /* CONFIGURE_INIT */<br>
+<br>
+#endif /* _RTEMS_CONFDEFS_OBSOLETE_H */<br>
-- <br>
2.16.4<br>
<br>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
</blockquote></div>