summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/sparc64/rtems/score/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/cpu/sparc64/rtems/score/cpu.h')
-rw-r--r--cpukit/score/cpu/sparc64/rtems/score/cpu.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/cpukit/score/cpu/sparc64/rtems/score/cpu.h b/cpukit/score/cpu/sparc64/rtems/score/cpu.h
index 4838cacd87..80c3466f07 100644
--- a/cpukit/score/cpu/sparc64/rtems/score/cpu.h
+++ b/cpukit/score/cpu/sparc64/rtems/score/cpu.h
@@ -170,6 +170,9 @@ extern "C" {
#define CPU_STACK_GROWS_UP FALSE
+/* FIXME: Is this the right value? */
+#define CPU_CACHE_LINE_BYTES 32
+
/*
* The following is the variable attribute used to force alignment
* of critical data structures. On some processors it may make
@@ -184,7 +187,7 @@ extern "C" {
* and is 16 if quad-word fp instructions are available (e.g. LDQF).
*/
-#define CPU_STRUCTURE_ALIGNMENT __attribute__ ((aligned (16)))
+#define CPU_STRUCTURE_ALIGNMENT RTEMS_ALIGNED( 16 )
/*
* Define what is required to specify how the network to host conversion