ARMmbed / core-util

DEPRECATED: Mbed 3 utilities library
Other
12 stars 17 forks source link

MBED_UTIL_POOL_ALLOC_DEFAULT_ALIGN definition too small for ARM EABI #54

Closed ghost closed 8 years ago

ghost commented 8 years ago

http://infocenter.arm.com/help/topic/com.arm.doc.ihi0042f/IHI0042F_aapcs.pdf Chapter 4.1 maximum byte alignment of a fundamental type is 8 bytes, therefore MBED_UTIL_POOL_ALLOC_DEFAULT_ALIGN should be defined >= 8

ciarmcom commented 8 years ago

ARM Internal Ref: IOTSFW-1756

0xc0170 commented 8 years ago

Thanks for reporting.

Code reference: https://github.com/ARMmbed/core-util/blob/master/core-util/PoolAllocator.h#L24 There is TODO written about this problem, we will look at it