Changeset 14426c8f in rtems for cpukit/score/inline


Ignore:
Timestamp:
Jan 24, 2005, 3:05:14 PM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
609b924
Parents:
a1ec1b9
Message:

2005-01-24 Ralf Corsepius <ralf.corsepius@…>

  • score/include/rtems/score/heap.h: Use uintptr_t for _H_uptr_t.
  • score/inline/rtems/score/address.inl: Remove RTEMS_CPU_HAS_16_BIT_ADDRESSES. Use uintptr_t for void* to address cast.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/inline/rtems/score/address.inl

    ra1ec1b9 r14426c8f  
    8181#if (CPU_ALIGNMENT == 0)
    8282    return TRUE;
    83 #elif defined(RTEMS_CPU_HAS_16_BIT_ADDRESSES)
    84     return ( ( (unsigned short)address % CPU_ALIGNMENT ) == 0 );
    8583#else
    86     return ( ( (uint32_t  )address % CPU_ALIGNMENT ) == 0 );
     84    return ( ( (uintptr_t)address % CPU_ALIGNMENT ) == 0 );
    8785#endif
    8886}
Note: See TracChangeset for help on using the changeset viewer.