Changeset 83ca9f0a in rtems

Timestamp:
08/02/18 12:52:12 (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, master
Children:
42f9963d
Parents:
27bbc05
git-author:
Sebastian Huber <sebastian.huber@…> (08/02/18 12:52:12)
git-committer:
Sebastian Huber <sebastian.huber@…> (08/02/18 13:33:01)
Message:

rtems: Relax partition buffer area alignment

The partition buffer area alignment required by rtems_partition_create()
was too strict since it was checked via _Addresses_Is_aligned() which
uses CPU_ALIGNMENT. The CPU_ALIGNMENT must take long double and vector
data type alignment requirements into account. For the partition
maintenance only pointer alignment is required (Chain_Node, which
consists of two pointers). The user should ensure that its partition
buffer area is suitable for the items it wants to manage. The user
should not be burdened to provide buffers with the maximum architecture
alignment, e.g. why need a 16 byte aligned buffer if you want to manage
items with 4 byte integers only?

Update #3482.

(No files)

Note: See TracChangeset for help on using the changeset viewer.