summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-09-27 18:56:47 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-09-27 18:56:47 +0000
commit15fef9307a7813686625a0a1c233a6257e28d22e (patch)
tree542c5d9a00a4f734ea2bb3116b908d210a474b1b /cpukit/score/cpu
parent2009-09-27 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-15fef9307a7813686625a0a1c233a6257e28d22e.tar.bz2
2009-09-27 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/cpu.h: Define CPU_STRUCTURE_ALIGNMENT to be on a 4 byte boundary.
Diffstat (limited to 'cpukit/score/cpu')
-rw-r--r--cpukit/score/cpu/m68k/ChangeLog5
-rw-r--r--cpukit/score/cpu/m68k/rtems/score/cpu.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/cpukit/score/cpu/m68k/ChangeLog b/cpukit/score/cpu/m68k/ChangeLog
index ff5fc4da85..47aea017a7 100644
--- a/cpukit/score/cpu/m68k/ChangeLog
+++ b/cpukit/score/cpu/m68k/ChangeLog
@@ -1,3 +1,8 @@
+2009-09-27 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * rtems/score/cpu.h: Define CPU_STRUCTURE_ALIGNMENT to be on a 4 byte
+ boundary.
+
2009-08-24 Sebastian Huber <sebastian.huber@embedded-brains.de>
* rtems/score/cpu.h: Define M68K_FP_STATE_SIZE also if used in
diff --git a/cpukit/score/cpu/m68k/rtems/score/cpu.h b/cpukit/score/cpu/m68k/rtems/score/cpu.h
index 672e233a7f..2cd8df062b 100644
--- a/cpukit/score/cpu/m68k/rtems/score/cpu.h
+++ b/cpukit/score/cpu/m68k/rtems/score/cpu.h
@@ -106,7 +106,7 @@ extern "C" {
#define CPU_PROVIDES_IDLE_THREAD_BODY TRUE
#define CPU_STACK_GROWS_UP FALSE
-#define CPU_STRUCTURE_ALIGNMENT
+#define CPU_STRUCTURE_ALIGNMENT __attribute__ ((aligned (4)))
/*
* Define what is required to specify how the network to host conversion