Changeset 15096905 in rtems


Ignore:
Timestamp:
03/08/06 18:53:44 (18 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
1ff385c
Parents:
bd86290d
Message:

2006-03-08 Joel Sherrill <joel@…>

  • itron/macros/rtems/itron/semaphore.inl, itron/macros/rtems/itron/task.inl: Fix warnings.
  • posix/macros/rtems/posix/cond.inl: Fix typo.
  • score/macros/rtems/score/heap.inl: Fix missed type change.
Location:
cpukit
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    rbd86290d r15096905  
     12006-03-08      Joel Sherrill <joel@OARcorp.com>
     2
     3        * itron/macros/rtems/itron/semaphore.inl,
     4        itron/macros/rtems/itron/task.inl: Fix warnings.
     5        * posix/macros/rtems/posix/cond.inl: Fix typo.
     6        * score/macros/rtems/score/heap.inl: Fix missed type change.
     7
    182006-03-07      Till Strauman <strauman@slac.stanford.edu>
    29
  • cpukit/itron/macros/rtems/itron/semaphore.inl

    rbd86290d r15096905  
    7676
    7777/* XXX fix me */
    78 static ER _ITRON_Semaphore_Translate_core_semaphore_return_code (
     78static inline ER _ITRON_Semaphore_Translate_core_semaphore_return_code (
    7979  uint32_t   the_semaphore_status
    8080)
  • cpukit/itron/macros/rtems/itron/task.inl

    rbd86290d r15096905  
    6060
    6161/* XXX fix me */
    62 static Thread_Control *_ITRON_Task_Get (
     62static inline Thread_Control *_ITRON_Task_Get (
    6363  ID                 id,
    6464  Objects_Locations *location
  • cpukit/posix/macros/rtems/posix/cond.inl

    rbd86290d r15096905  
    5656#define ___POSIX_Condition_variables_Get_support( _cond, _location ) \
    5757  do { \
    58     Objects_Id        *id = (Objects_Id *)_cond; \
     58    Objects_Id        *_id = (Objects_Id *)_cond; \
    5959    int _status; \
    6060    \
  • cpukit/score/macros/rtems/score/heap.inl

    rbd86290d r15096905  
    116116#define _Heap_Align_up( _value, _alignment ) \
    117117  do { \
    118     unsigned32 v = *(_value); \
    119     unsigned32 a = (_alignment); \
    120     unsigned32 r = v % a; \
     118    uint32_t v = *(_value); \
     119    uint32_t a = (_alignment); \
     120    uint32_t r = v % a; \
    121121    *(_value) = r ? v - r + a : v; \
    122122  } while(0)
     
    129129#define _Heap_Align_down( _value, _alignment ) \
    130130  do { \
    131     unsigned32 v = *(_value); \
     131    uint32_t v = *(_value); \
    132132    *(_value) = v - (v % (_alignment)); \
    133133  } while(0)
     
    149149  do { \
    150150    _H_uptr_t v = *(_value); \
    151     unsigned32 a = (_alignment); \
     151    uint32_t a = (_alignment); \
    152152    _H_uptr_t r = v % a; \
    153153    *(_value) = r ? v - r + a : v; \
Note: See TracChangeset for help on using the changeset viewer.