summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/sparc64/rtems/score
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-08-02 13:54:08 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-08-09 21:58:39 +0200
commit10fd4aacc7c2788ebc6a696174ae0a98c4a83dd3 (patch)
tree0fe6d3372886bf42a019366939928fa55398dba9 /cpukit/score/cpu/sparc64/rtems/score
parentbsp/pc386: Provide local outb() for elink driver (diff)
downloadrtems-10fd4aacc7c2788ebc6a696174ae0a98c4a83dd3.tar.bz2
score/cpu: Add CPU_Per_CPU_control
Add CPU port specific per-CPU control.
Diffstat (limited to 'cpukit/score/cpu/sparc64/rtems/score')
-rw-r--r--cpukit/score/cpu/sparc64/rtems/score/cpu.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpukit/score/cpu/sparc64/rtems/score/cpu.h b/cpukit/score/cpu/sparc64/rtems/score/cpu.h
index 314143b64f..8d3e27318b 100644
--- a/cpukit/score/cpu/sparc64/rtems/score/cpu.h
+++ b/cpukit/score/cpu/sparc64/rtems/score/cpu.h
@@ -224,6 +224,8 @@ extern "C" {
#define CPU_MODES_INTERRUPT_MASK 0x0000000F
+#define CPU_PER_CPU_CONTROL_SIZE 0
+
/*
* This structure represents the organization of the minimum stack frame
* for the SPARC. More framing information is required in certain situaions
@@ -234,6 +236,10 @@ extern "C" {
#ifndef ASM
typedef struct {
+ /* There is no CPU specific per-CPU state */
+} CPU_Per_CPU_control;
+
+typedef struct {
uint64_t l0;
uint64_t l1;
uint64_t l2;