Changeset d05ab35 in rtems


Ignore:
Timestamp:
Nov 20, 2008, 9:52:19 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
56e3371
Parents:
ceadb90
Message:

2008-11-20 Joel Sherrill <joel.sherrill@…>

  • posix/Makefile.am, posix/include/rtems/posix/psignal.h: Add stubs for gettimer() and setitimer().
  • posix/src/getitimer.c, posix/src/setitimer.c: New files.
Location:
cpukit
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    rceadb90 rd05ab35  
     12008-11-20      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * posix/Makefile.am, posix/include/rtems/posix/psignal.h: Add stubs for
     4        gettimer() and setitimer().
     5        * posix/src/getitimer.c, posix/src/setitimer.c: New files.
     6
    172008-11-20      Joel Sherrill <joel.sherrill@oarcorp.com>
    28
  • cpukit/posix/Makefile.am

    rceadb90 rd05ab35  
    160160    src/clocksetenableattr.c
    161161
    162 # the timer manager needs to be split further but only after its
    163 # dependence on the Classic API Timer Manager is removed.
    164162## TIMER_C_FILES
    165163libposix_a_SOURCES += src/ptimer.c src/timercreate.c src/timerdelete.c \
    166164    src/timergetoverrun.c src/timergettime.c src/timersettime.c \
    167165    src/timertsr.c src/timerinserthelper.c
     166
     167## ITIMER_C_FILES
     168libposix_a_SOURCES += src/getitimer.c src/setitimer.c
    168169
    169170EXTRA_DIST += src/README.mqueue
  • cpukit/posix/include/rtems/posix/psignal.h

    rceadb90 rd05ab35  
    2424
    2525#define SIGNAL_EMPTY_MASK  0x00000000
    26 #define SIGNAL_ALL_MASK    0xffffffff
     26#define SIGNAL_ALL_MASK    0xffffffffL
    2727
    28 #define signo_to_mask( _sig ) (1 << ((_sig) - 1))
     28static inline sigset_t signo_to_mask(
     29  uint32_t sig
     30)
     31{
     32  return (1 << sig) - 1;
     33}
    2934
    3035#define is_valid_signo( _sig ) \
Note: See TracChangeset for help on using the changeset viewer.