Changeset eb02f47 in rtems for cpukit/itron/inline


Ignore:
Timestamp:
Nov 10, 1999, 1:48:27 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
442d0478
Parents:
dcc1f6b6
Message:

Committed modifications from ITRON Task and Task Dependendent Synchronization
Working Group. Included are tests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/itron/inline/rtems/itron/task.inl

    rdcc1f6b6 reb02f47  
    110110  Objects_Locations *location
    111111)
    112 {
     112{
     113  if ( id == 0 ) {
     114    _Thread_Disable_dispatch();
     115    *location = OBJECTS_LOCAL;
     116    return _Thread_Executing;
     117  }
     118
    113119  return (Thread_Control *)
    114120    _ITRON_Objects_Get( &_ITRON_Task_Information, id, location );
     
    145151 */
    146152 
    147 RTEMS_INLINE_ROUTINE Priority_Control _ITRON_Task_Priority_to_Core(
    148   PRI   _priority
     153RTEMS_INLINE_ROUTINE _ITRON_Task_Priority_to_Core(
     154  PRI   ITRON_priority
    149155)
    150156
    151   return ((Priority_Control) (_priority));
     157  return (Priority_Control) ITRON_priority;
    152158}
     159
     160/*PAGE
     161 *
     162 *  _ITRON_tasks_Core_to_Priority
     163 */
     164 
     165RTEMS_INLINE_ROUTINE _ITRON_Task_Core_to_Priority(
     166  Priority_Control  core_priority
     167)
     168
     169  return (PRI) core_priority;
     170}
     171
    153172
    154173#ifdef __cplusplus
     
    158177#endif
    159178/* end of include file */
    160 
Note: See TracChangeset for help on using the changeset viewer.