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