Changeset 2b2bda4 in rtems


Ignore:
Timestamp:
12/01/00 18:57:36 (23 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
7afbca0
Parents:
cde0ec8
Message:

2000-12-01 Joel Sherrill <joel@…>

  • Added macro support to POSIX API. This is known to compile.
  • macros/rtems/posix/cond.inl, macros/rtems/posix/intr.inl, macros/rtems/posix/key.inl, macros/rtems/posix/mqueue.inl, macros/rtems/posix/mutex.inl, macros/rtems/posix/priority.inl, macros/rtems/posix/pthread.inl, macros/rtems/posix/semaphore.inl, macros/rtems/posix/timer.inl: New files.
  • configure.in: Removed error check for enabling macros.
  • rtems/posix/mutex.h: #if 0'ed out prototypes for inlined routines since you cannot have prototypes for macros.
  • macros/rtems/posix/Makefile.am: Added files.
Files:
18 added
6 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/posix/ChangeLog

    rcde0ec8 r2b2bda4  
     12000-12-01      Joel Sherrill <joel@OARcorp.com>
     2
     3        * Added macro support to POSIX API.  This is known to compile.
     4        * macros/rtems/posix/cond.inl, macros/rtems/posix/intr.inl,
     5        macros/rtems/posix/key.inl, macros/rtems/posix/mqueue.inl,
     6        macros/rtems/posix/mutex.inl, macros/rtems/posix/priority.inl,
     7        macros/rtems/posix/pthread.inl, macros/rtems/posix/semaphore.inl,
     8        macros/rtems/posix/timer.inl: New files.
     9        * configure.in: Removed error check for enabling macros.
     10        * rtems/posix/mutex.h: #if 0'ed out prototypes for inlined routines
     11        since you cannot have prototypes for macros.
     12        * macros/rtems/posix/Makefile.am: Added files.
     13
    1142000-11-30      Joel Sherrill <joel@OARcorp.com>
    215
  • c/src/exec/posix/configure.in

    rcde0ec8 r2b2bda4  
    3232if test "$RTEMS_USE_MACROS" = "yes"; then
    3333  INLINEdir="macros"
    34   if test "$HAS_POSIX_API" = "yes"; then
    35     # The problem is that there is currently no code in posix/macros :)
    36     AC_MSG_ERROR(Macros are not implemented for the POSIX API)
    37   fi
    3834else
    3935  INLINEdir="inline"
     
    4945if test "$HAS_POSIX_API" != "yes"; then
    5046AC_MSG_ERROR([BSP $RTEMS_BSP does not support libposix])
    51 fi
    52 
    53 # If RTEMS macros are enabled, then use them.  Otherwise, refuse to build
    54 if test "$RTEMS_USE_MACROS" = "yes"; then
    55 # The problem is that there is currently no code in posix/macros :)
    56 AC_MSG_ERROR(Macros are not implemented for the POSIX API)
    5747fi
    5848
  • c/src/exec/posix/include/rtems/posix/mutex.h

    rcde0ec8 r2b2bda4  
    8383);
    8484 
     85#if 0
    8586/*
    8687 *  _POSIX_Mutex_Get
     
    113114  POSIX_Mutex_Control *the_mutex
    114115);
     116#endif
    115117
    116118/*
  • c/src/exec/posix/macros/rtems/posix/Makefile.am

    rcde0ec8 r2b2bda4  
    66
    77if MACROS
    8 I_FILES =
     8I_FILES = cond.inl intr.inl key.inl mqueue.inl mutex.inl priority.inl \
     9    pthread.inl semaphore.inl timer.inl
    910
    1011noinst_HEADERS = $(I_FILES)
  • cpukit/posix/ChangeLog

    rcde0ec8 r2b2bda4  
     12000-12-01      Joel Sherrill <joel@OARcorp.com>
     2
     3        * Added macro support to POSIX API.  This is known to compile.
     4        * macros/rtems/posix/cond.inl, macros/rtems/posix/intr.inl,
     5        macros/rtems/posix/key.inl, macros/rtems/posix/mqueue.inl,
     6        macros/rtems/posix/mutex.inl, macros/rtems/posix/priority.inl,
     7        macros/rtems/posix/pthread.inl, macros/rtems/posix/semaphore.inl,
     8        macros/rtems/posix/timer.inl: New files.
     9        * configure.in: Removed error check for enabling macros.
     10        * rtems/posix/mutex.h: #if 0'ed out prototypes for inlined routines
     11        since you cannot have prototypes for macros.
     12        * macros/rtems/posix/Makefile.am: Added files.
     13
    1142000-11-30      Joel Sherrill <joel@OARcorp.com>
    215
  • cpukit/posix/include/rtems/posix/mutex.h

    rcde0ec8 r2b2bda4  
    8383);
    8484 
     85#if 0
    8586/*
    8687 *  _POSIX_Mutex_Get
     
    113114  POSIX_Mutex_Control *the_mutex
    114115);
     116#endif
    115117
    116118/*
Note: See TracChangeset for help on using the changeset viewer.