From 86820eda093f91ce0653ff5d5519191c0d86ea33 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 15 Apr 2011 08:06:16 +0000 Subject: 2011-04-15 Sebastian Huber PR 1780/cpukit * rtems/score/cpu.h: Lower alignment requirements for CPU_PARTITION_ALIGNMENT according to AAPCS. --- cpukit/score/cpu/arm/ChangeLog | 6 ++++++ cpukit/score/cpu/arm/rtems/score/cpu.h | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'cpukit') diff --git a/cpukit/score/cpu/arm/ChangeLog b/cpukit/score/cpu/arm/ChangeLog index 7edf0ce295..b743386c31 100644 --- a/cpukit/score/cpu/arm/ChangeLog +++ b/cpukit/score/cpu/arm/ChangeLog @@ -1,3 +1,9 @@ +2011-04-15 Sebastian Huber + + PR 1780/cpukit + * rtems/score/cpu.h: Lower alignment requirements for + CPU_PARTITION_ALIGNMENT according to AAPCS. + 2011-02-11 Ralf Corsépius * cpu.c, rtems/score/cpu.h: diff --git a/cpukit/score/cpu/arm/rtems/score/cpu.h b/cpukit/score/cpu/arm/rtems/score/cpu.h index 405ccb79bb..f873e7d9b1 100644 --- a/cpukit/score/cpu/arm/rtems/score/cpu.h +++ b/cpukit/score/cpu/arm/rtems/score/cpu.h @@ -180,7 +180,8 @@ #define CPU_HEAP_ALIGNMENT CPU_ALIGNMENT -#define CPU_PARTITION_ALIGNMENT CPU_ALIGNMENT +/* AAPCS, section 4.3.1, Aggregates */ +#define CPU_PARTITION_ALIGNMENT 4 /* AAPCS, section 5.2.1.2, Stack constraints at a public interface */ #define CPU_STACK_ALIGNMENT 8 -- cgit v1.2.3