mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-02-04 20:51:36 +00:00
config: Add CONFIGURE_IMFS_ENABLE_MKFIFO
Obsolete undocumented configuration options CONFIGURE_MAXIMUM_FIFOS and CONFIGURE_MAXIMUM_PIPES. Replace these options with the new CONFIGURE_IMFS_ENABLE_MKFIFO configuration option. Update #3840.
This commit is contained in:
@@ -202,15 +202,21 @@ extern rtems_initialization_tasks_table Initialization_tasks[];
|
||||
/**
|
||||
* This is specified to configure the maximum number of POSIX FIFOs.
|
||||
*/
|
||||
#if !defined(CONFIGURE_MAXIMUM_FIFOS)
|
||||
#define CONFIGURE_MAXIMUM_FIFOS 0
|
||||
#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.
|
||||
*/
|
||||
#if !defined(CONFIGURE_MAXIMUM_PIPES)
|
||||
#define CONFIGURE_MAXIMUM_PIPES 0
|
||||
#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
|
||||
|
||||
/**
|
||||
@@ -575,7 +581,7 @@ extern rtems_initialization_tasks_table Initialization_tasks[];
|
||||
#else
|
||||
&IMFS_mknod_control_memfile,
|
||||
#endif
|
||||
#if CONFIGURE_MAXIMUM_FIFOS > 0 || CONFIGURE_MAXIMUM_PIPES > 0
|
||||
#ifdef CONFIGURE_IMFS_ENABLE_MKFIFO
|
||||
&IMFS_mknod_control_fifo
|
||||
#else
|
||||
&IMFS_mknod_control_enosys
|
||||
|
||||
@@ -203,6 +203,7 @@ rtems_task Init(
|
||||
|
||||
#define CONFIGURE_MAXIMUM_TASKS 1
|
||||
#define CONFIGURE_IMFS_MEMFILE_BYTES_PER_BLOCK 16
|
||||
#define CONFIGURE_IMFS_ENABLE_MKFIFO
|
||||
#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 4
|
||||
#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
|
||||
|
||||
@@ -211,7 +212,5 @@ rtems_task Init(
|
||||
|
||||
#define CONFIGURE_INIT
|
||||
|
||||
#define CONFIGURE_MAXIMUM_FIFOS 1
|
||||
|
||||
#include <rtems/confdefs.h>
|
||||
/* end of file */
|
||||
|
||||
@@ -111,7 +111,7 @@ rtems_task Init(
|
||||
|
||||
#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT
|
||||
|
||||
#define CONFIGURE_MAXIMUM_PIPES 2
|
||||
#define CONFIGURE_IMFS_ENABLE_MKFIFO
|
||||
|
||||
#define CONFIGURE_INIT
|
||||
#include <rtems/confdefs.h>
|
||||
|
||||
@@ -103,7 +103,8 @@ static rtems_task Init(
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 5
|
||||
#define CONFIGURE_MAXIMUM_FIFOS 1
|
||||
|
||||
#define CONFIGURE_IMFS_ENABLE_MKFIFO
|
||||
|
||||
#define CONFIGURE_INIT
|
||||
|
||||
|
||||
@@ -215,7 +215,7 @@ rtems_task Init(
|
||||
|
||||
#define CONFIGURE_MAXIMUM_BARRIERS 1
|
||||
|
||||
#define CONFIGURE_MAXIMUM_FIFOS 1
|
||||
#define CONFIGURE_IMFS_ENABLE_MKFIFO
|
||||
|
||||
#define CONFIGURE_DISABLE_SMP_CONFIGURATION
|
||||
|
||||
|
||||
@@ -103,7 +103,8 @@ rtems_task Init(
|
||||
#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 6
|
||||
|
||||
#define CONFIGURE_MAXIMUM_TASKS 3
|
||||
#define CONFIGURE_MAXIMUM_FIFOS 1
|
||||
|
||||
#define CONFIGURE_IMFS_ENABLE_MKFIFO
|
||||
|
||||
#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
|
||||
|
||||
|
||||
@@ -271,7 +271,7 @@ rtems_task Init(
|
||||
|
||||
#define CONFIGURE_MAXIMUM_BARRIERS 2
|
||||
|
||||
#define CONFIGURE_MAXIMUM_FIFOS 1
|
||||
#define CONFIGURE_IMFS_ENABLE_MKFIFO
|
||||
|
||||
#define CONFIGURE_DISABLE_SMP_CONFIGURATION
|
||||
|
||||
|
||||
Reference in New Issue
Block a user