[rtems commit] sparc: Increase CPU_STRUCTURE_ALIGNMENT to 32
Sebastian Huber
sebh at rtems.org
Thu Feb 13 08:58:16 UTC 2014
Module: rtems
Branch: master
Commit: ece97542257442681b3acd05d2206034c0adf8bd
Changeset: http://git.rtems.org/rtems/commit/?id=ece97542257442681b3acd05d2206034c0adf8bd
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Tue Feb 11 14:48:35 2014 +0100
sparc: Increase CPU_STRUCTURE_ALIGNMENT to 32
Recent LEON4 systems use a cache line size of 32 bytes.
---
cpukit/score/cpu/sparc/rtems/score/cpu.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/cpukit/score/cpu/sparc/rtems/score/cpu.h b/cpukit/score/cpu/sparc/rtems/score/cpu.h
index 9706e45..7e54d22 100644
--- a/cpukit/score/cpu/sparc/rtems/score/cpu.h
+++ b/cpukit/score/cpu/sparc/rtems/score/cpu.h
@@ -211,7 +211,7 @@ extern "C" {
* The SPARC does not appear to have particularly strict alignment
* requirements. This value was chosen to take advantages of caches.
*/
-#define CPU_STRUCTURE_ALIGNMENT __attribute__ ((aligned (16)))
+#define CPU_STRUCTURE_ALIGNMENT __attribute__ ((aligned (32)))
#define CPU_TIMESTAMP_USE_INT64_INLINE TRUE
More information about the vc
mailing list