[rtems commit] sparc: Adjust CPU_CACHE_LINE_BYTES for LEON3
Sebastian Huber
sebh at rtems.org
Tue Jan 26 10:55:28 UTC 2016
Module: rtems
Branch: master
Commit: 275806412b244a3c87402ea46d14182abb6b668b
Changeset: http://git.rtems.org/rtems/commit/?id=275806412b244a3c87402ea46d14182abb6b668b
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Tue Jan 26 11:53:09 2016 +0100
sparc: Adjust CPU_CACHE_LINE_BYTES for LEON3
Fix for commit a8865f8b415788c4e9bb7f68e38d41aec0e485db.
---
cpukit/score/cpu/sparc/rtems/score/cpu.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cpukit/score/cpu/sparc/rtems/score/cpu.h b/cpukit/score/cpu/sparc/rtems/score/cpu.h
index 4170cb9..4dd57bf 100644
--- a/cpukit/score/cpu/sparc/rtems/score/cpu.h
+++ b/cpukit/score/cpu/sparc/rtems/score/cpu.h
@@ -210,8 +210,8 @@ extern "C" {
*/
#define CPU_STACK_GROWS_UP FALSE
-/* FIXME: Is this the right value? */
-#define CPU_CACHE_LINE_BYTES 32
+/* LEON3 systems may use a cache line size of 64 */
+#define CPU_CACHE_LINE_BYTES 64
#define CPU_STRUCTURE_ALIGNMENT RTEMS_ALIGNED( CPU_CACHE_LINE_BYTES )
More information about the vc
mailing list