Changeset e85d043 in rtems
- Timestamp:
- Dec 16, 2008, 8:55:45 PM (11 years ago)
- Branches:
- 4.10, 4.11, master
- Children:
- 27b2c34b
- Parents:
- 26fb4aa
- Location:
- c/src/librtems++
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/librtems++/ChangeLog
r26fb4aa re85d043 1 2008-12-16 Joel Sherrill <joel.sherrill@oarcorp.com> 2 3 * include/rtems++/rtemsEvent.h, include/rtems++/rtemsMessageQueue.h, 4 include/rtems++/rtemsSemaphore.h, include/rtems++/rtemsTimer.h, 5 src/rtemsTask.cc: Eliminate all public use of TOD conversion 6 routines. 7 1 8 2008-12-16 Joel Sherrill <joel.sherrill@oarcorp.com> 2 9 -
c/src/librtems++/include/rtems++/rtemsEvent.h
r26fb4aa re85d043 115 115 set_status_code(rtems_event_receive(event_in, 116 116 wait | condition, 117 TOD_MICROSECONDS_TO_TICKS(usecs),117 RTEMS_MICROSECONDS_TO_TICKS(usecs), 118 118 &event_out)); 119 119 return last_status_code(); -
c/src/librtems++/include/rtems++/rtemsMessageQueue.h
r26fb4aa re85d043 162 162 &size, 163 163 wait ? RTEMS_WAIT : RTEMS_NO_WAIT, 164 TOD_MICROSECONDS_TO_TICKS(usecs)));164 RTEMS_MICROSECONDS_TO_TICKS(usecs))); 165 165 } 166 166 -
c/src/librtems++/include/rtems++/rtemsSemaphore.h
r26fb4aa re85d043 136 136 set_status_code(rtems_semaphore_obtain(id, 137 137 wait ? RTEMS_WAIT : RTEMS_NO_WAIT, 138 TOD_MICROSECONDS_TO_TICKS(usecs)));138 RTEMS_MICROSECONDS_TO_TICKS(usecs))); 139 139 } 140 140 -
c/src/librtems++/include/rtems++/rtemsTimer.h
r26fb4aa re85d043 99 99 rtems_configuration_get_microseconds_per_tick() : micro_secs; 100 100 return set_status_code(rtems_timer_fire_after(id, 101 TOD_MICROSECONDS_TO_TICKS(usecs),101 RTEMS_MICROSECONDS_TO_TICKS(usecs), 102 102 common_handler, 103 103 this)); … … 111 111 rtems_configuration_get_microseconds_per_tick() : micro_secs; 112 112 return set_status_code(rtems_timer_fire_after(id, 113 TOD_MICROSECONDS_TO_TICKS(usecs),113 RTEMS_MICROSECONDS_TO_TICKS(usecs), 114 114 common_handler, 115 115 this)); -
c/src/librtems++/src/rtemsTask.cc
r26fb4aa re85d043 235 235 (micro_secs < rtems_configuration_get_microseconds_per_tick()) ? 236 236 rtems_configuration_get_microseconds_per_tick() : micro_secs; 237 return set_status_code(rtems_task_wake_after( TOD_MICROSECONDS_TO_TICKS(usecs)));237 return set_status_code(rtems_task_wake_after(RTEMS_MICROSECONDS_TO_TICKS(usecs))); 238 238 } 239 239
Note: See TracChangeset
for help on using the changeset viewer.