summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/arm/rtems/score/cpu.h
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/score/cpu/arm/rtems/score/cpu.h
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/score/cpu/arm/rtems/score/cpu.h')
-rw-r--r--cpukit/score/cpu/arm/rtems/score/cpu.h3
1 files changed, 2 insertions, 1 deletions
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