[RTEMS Project] #3482: Relax the buffer alignment required by rtems_partition_create()

RTEMS trac trac at rtems.org
Fri Aug 3 11:04:39 UTC 2018

#3482: Relax the buffer alignment required by rtems_partition_create()
 Reporter:  Sebastian Huber  |       Owner:  Sebastian Huber
     Type:  enhancement      |      Status:  assigned
 Priority:  normal           |   Milestone:  5.1
Component:  rtems            |     Version:  5
 Severity:  normal           |  Resolution:
 Keywords:                   |  Blocked By:
 Blocking:                   |

Comment (by Sebastian Huber <sebastian.huber@…>):

 In [changeset:"83ca9f0a77dff9eee3ca3046430ceeba7cc323f2/rtems"
 #!CommitTicketReference repository="rtems"
 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.

Ticket URL: <http://devel.rtems.org/ticket/3482#comment:2>
RTEMS Project <http://www.rtems.org/>
RTEMS Project

More information about the bugs mailing list