Changeset 6f6091b3 in rtems


Ignore:
Timestamp:
Dec 11, 2019, 6:08:03 PM (4 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
d24b301
Parents:
f30dd1f
git-author:
Sebastian Huber <sebastian.huber@…> (12/11/19 18:08:03)
git-committer:
Sebastian Huber <sebastian.huber@…> (12/13/19 07:22:58)
Message:

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.

Files:
7 edited

Legend:

Unmodified
Added
Removed
  • cpukit/include/rtems/confdefs.h

    rf30dd1f r6f6091b3  
    203203 * This is specified to configure the maximum number of POSIX FIFOs.
    204204 */
    205 #if !defined(CONFIGURE_MAXIMUM_FIFOS)
    206   #define CONFIGURE_MAXIMUM_FIFOS 0
     205#ifdef CONFIGURE_MAXIMUM_FIFOS
     206  #warning "CONFIGURE_MAXIMUM_FIFOS is obsolete since RTEMS 5.1; use CONFIGURE_IMFS_ENABLE_MKFIFO instead"
     207  #if CONFIGURE_MAXIMUM_FIFOS > 0
     208    #define CONFIGURE_IMFS_ENABLE_MKFIFO
     209  #endif
    207210#endif
    208211
     
    210213 * This is specified to configure the maximum number of POSIX named pipes.
    211214 */
    212 #if !defined(CONFIGURE_MAXIMUM_PIPES)
    213   #define CONFIGURE_MAXIMUM_PIPES 0
     215#ifdef CONFIGURE_MAXIMUM_PIPES
     216  #warning "CONFIGURE_MAXIMUM_PIPES is obsolete since RTEMS 5.1; use CONFIGURE_IMFS_ENABLE_MKFIFO instead"
     217  #if CONFIGURE_MAXIMUM_PIPES > 0
     218    #define CONFIGURE_IMFS_ENABLE_MKFIFO
     219  #endif
    214220#endif
    215221
     
    576582          &IMFS_mknod_control_memfile,
    577583        #endif
    578         #if CONFIGURE_MAXIMUM_FIFOS > 0 || CONFIGURE_MAXIMUM_PIPES > 0
     584        #ifdef CONFIGURE_IMFS_ENABLE_MKFIFO
    579585          &IMFS_mknod_control_fifo
    580586        #else
  • testsuites/psxtests/psximfs02/init.c

    rf30dd1f r6f6091b3  
    204204#define CONFIGURE_MAXIMUM_TASKS                  1
    205205#define CONFIGURE_IMFS_MEMFILE_BYTES_PER_BLOCK   16
     206#define CONFIGURE_IMFS_ENABLE_MKFIFO
    206207#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 4
    207208#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
     
    212213#define CONFIGURE_INIT
    213214
    214 #define CONFIGURE_MAXIMUM_FIFOS 1
    215 
    216215#include <rtems/confdefs.h>
    217216/* end of file */
  • testsuites/psxtests/psxpipe01/init.c

    rf30dd1f r6f6091b3  
    112112#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT
    113113
    114 #define CONFIGURE_MAXIMUM_PIPES 2
     114#define CONFIGURE_IMFS_ENABLE_MKFIFO
    115115
    116116#define CONFIGURE_INIT
  • testsuites/sptests/spfifo02/init.c

    rf30dd1f r6f6091b3  
    104104
    105105#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 5
    106 #define CONFIGURE_MAXIMUM_FIFOS 1
     106
     107#define CONFIGURE_IMFS_ENABLE_MKFIFO
    107108
    108109#define CONFIGURE_INIT
  • testsuites/sptests/spfifo03/init.c

    rf30dd1f r6f6091b3  
    216216#define CONFIGURE_MAXIMUM_BARRIERS 1
    217217
    218 #define CONFIGURE_MAXIMUM_FIFOS 1
     218#define CONFIGURE_IMFS_ENABLE_MKFIFO
    219219
    220220#define CONFIGURE_DISABLE_SMP_CONFIGURATION
  • testsuites/sptests/spfifo04/init.c

    rf30dd1f r6f6091b3  
    104104
    105105#define CONFIGURE_MAXIMUM_TASKS 3
    106 #define CONFIGURE_MAXIMUM_FIFOS 1
     106
     107#define CONFIGURE_IMFS_ENABLE_MKFIFO
    107108
    108109#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
  • testsuites/sptests/spfifo05/init.c

    rf30dd1f r6f6091b3  
    272272#define CONFIGURE_MAXIMUM_BARRIERS 2
    273273
    274 #define CONFIGURE_MAXIMUM_FIFOS 1
     274#define CONFIGURE_IMFS_ENABLE_MKFIFO
    275275
    276276#define CONFIGURE_DISABLE_SMP_CONFIGURATION
Note: See TracChangeset for help on using the changeset viewer.