Changeset 14426c8f in rtems
- Timestamp:
- Jan 24, 2005, 3:05:14 PM (16 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 609b924
- Parents:
- a1ec1b9
- Location:
- cpukit
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/ChangeLog
ra1ec1b9 r14426c8f 1 2005-01-24 Ralf Corsepius <ralf.corsepius@rtems.org> 2 3 * score/include/rtems/score/heap.h: Use uintptr_t for _H_uptr_t. 4 * score/inline/rtems/score/address.inl: Remove 5 RTEMS_CPU_HAS_16_BIT_ADDRESSES. 6 Use uintptr_t for void* to address cast. 7 1 8 2005-01-24 Ralf Corsepius <ralf.corsepius@rtems.org> 2 9 -
cpukit/score/include/rtems/score/heap.h
ra1ec1b9 r14426c8f 52 52 */ 53 53 54 typedef u nsigned long int _H_uptr_t;54 typedef uintptr_t _H_uptr_t; 55 55 56 56 /** -
cpukit/score/inline/rtems/score/address.inl
ra1ec1b9 r14426c8f 81 81 #if (CPU_ALIGNMENT == 0) 82 82 return TRUE; 83 #elif defined(RTEMS_CPU_HAS_16_BIT_ADDRESSES)84 return ( ( (unsigned short)address % CPU_ALIGNMENT ) == 0 );85 83 #else 86 return ( ( (uint 32_t)address % CPU_ALIGNMENT ) == 0 );84 return ( ( (uintptr_t)address % CPU_ALIGNMENT ) == 0 ); 87 85 #endif 88 86 }
Note: See TracChangeset
for help on using the changeset viewer.