[Bug 1560] sparc64 [1/5]: _Objects_Extend_information improper alignment for 64-bit targets
bugzilla-daemon at rtems.org
bugzilla-daemon at rtems.org
Tue Feb 12 08:22:53 UTC 2013
https://www.rtems.org/bugzilla/show_bug.cgi?id=1560
Sebastian Huber <sebastian.huber at embedded-brains.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
CC| |sebastian.huber at embedded-br
| |ains.de
Resolution|FIXED |
--- Comment #20 from Sebastian Huber <sebastian.huber at embedded-brains.de> 2013-02-12 02:22:53 CST ---
I would prefer to add and use a
RTEMS_INLINE_ROUTINE const void *_Addresses_Align_up_immutable(
const void *address
);
RTEMS_INLINE_ROUTINE void *_Addresses_Align_up(
void *address
);
RTEMS_INLINE_ROUTINE const void *_Addresses_Align_down_immutable(
const void *address
);
RTEMS_INLINE_ROUTINE void *_Addresses_Align_down(
void *address
);
We must have the invariants:
_Addresses_Align_up(x) == _Addresses_Is_aligned(x) ? x : _Addresses_Align_up(x)
_Addresses_Align_down(x) == _Addresses_Is_aligned(x) ? x :
_Addresses_Align_down(x)
--
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the bugs
mailing list