summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2011-04-15 08:06:16 +0000
committerSebastian Huber <sebastian.huber@embedded-brains.de>2011-04-15 08:06:16 +0000
commit86820eda093f91ce0653ff5d5519191c0d86ea33 (patch)
treef5f9fdcedfae026a9554d263a49064a3be4bc78d /cpukit
parent2011-04-11 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-86820eda093f91ce0653ff5d5519191c0d86ea33.tar.bz2
2011-04-15 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1780/cpukit * rtems/score/cpu.h: Lower alignment requirements for CPU_PARTITION_ALIGNMENT according to AAPCS.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/score/cpu/arm/ChangeLog6
-rw-r--r--cpukit/score/cpu/arm/rtems/score/cpu.h3
2 files changed, 8 insertions, 1 deletions
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 <sebastian.huber@embedded-brains.de>
+
+ PR 1780/cpukit
+ * rtems/score/cpu.h: Lower alignment requirements for
+ CPU_PARTITION_ALIGNMENT according to AAPCS.
+
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* 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