Changeset 46e69ff in rtems


Ignore:
Timestamp:
Jun 20, 2010, 7:41:33 PM (9 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
aff1ea5a
Parents:
659019e
Message:

2010-06-20 Joel Sherrill <joel.sherrill@…>

  • sapi/include/confdefs.h: Add parameters for FIFOs and pipes since they are distinct to the user.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r659019e r46e69ff  
     12010-06-20      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * sapi/include/confdefs.h: Add parameters for FIFOs and pipes since
     4        they are distinct to the user.
     5
    162010-06-19      Joel Sherrill <joel.sherrilL@OARcorp.com>
    27
  • cpukit/sapi/include/confdefs.h

    r659019e r46e69ff  
    289289
    290290/**
    291  *  It should be called FIFOs not pipes
     291 *  Internall it is called FIFOs not pipes
    292292 */
    293293#if defined(CONFIGURE_PIPES_ENABLED)
    294294  #define CONFIGURE_FIFOS_ENABLED
    295   #warning "Use CONFIGURE_FIFOS_ENABLED not CONFIGURE_PIPES_ENABLED"
    296295#endif
    297296
     
    314313 */
    315314#if defined(CONFIGURE_FIFOS_ENABLED)
     315  #if !defined(CONFIGURE_MAXIMUM_FIFOS) && !defined(CONFIGURE_MAXIMUM_PIPES)
     316     #error "No FIFOs or PIPES configured"
     317  #endif
    316318  #if !defined(CONFIGURE_MAXIMUM_FIFOS)
    317     #error "FIFOs enabled but no FIFOs configured."
    318   #endif
    319   #define CONFIGURE_BARRIERS_FOR_FIFOS   (2 * CONFIGURE_MAXIMUM_FIFOS)
    320   #define CONFIGURE_SEMAPHORES_FOR_FIFOS (1 + CONFIGURE_MAXIMUM_FIFOS)
     319    #define CONFIGURE_MAXIMUM_FIFOS 0
     320  #endif
     321  #if !defined(CONFIGURE_MAXIMUM_PIPES)
     322    #define CONFIGURE_MAXIMUM_PIPES 0
     323  #endif
     324  #define CONFIGURE_BARRIERS_FOR_FIFOS \
     325    (2 * (CONFIGURE_MAXIMUM_FIFOS + CONFIGURE_MAXIMUM_PIPES))
     326  #define CONFIGURE_SEMAPHORES_FOR_FIFOS \
     327    (1 + (CONFIGURE_MAXIMUM_FIFOS + CONFIGURE_MAXIMUM_PIPES))
    321328#else
    322329  #define CONFIGURE_BARRIERS_FOR_FIFOS   0
Note: See TracChangeset for help on using the changeset viewer.