summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/bfin/rtems/score
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/cpu/bfin/rtems/score')
-rw-r--r--cpukit/score/cpu/bfin/rtems/score/cpu.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/cpukit/score/cpu/bfin/rtems/score/cpu.h b/cpukit/score/cpu/bfin/rtems/score/cpu.h
index 8065bbf164..1af3f81f81 100644
--- a/cpukit/score/cpu/bfin/rtems/score/cpu.h
+++ b/cpukit/score/cpu/bfin/rtems/score/cpu.h
@@ -397,6 +397,8 @@ extern "C" {
*/
#define CPU_MODES_INTERRUPT_MASK 0x00000001
+#define CPU_PER_CPU_CONTROL_SIZE 0
+
/*
* Processor defined structures required for cpukit/score.
*
@@ -407,6 +409,12 @@ extern "C" {
/* may need to put some structures here. */
+#ifndef ASM
+
+typedef struct {
+ /* There is no CPU specific per-CPU state */
+} CPU_Per_CPU_control;
+
/**
* @defgroup CPUContext Processor Dependent Context Management
*
@@ -450,8 +458,6 @@ extern "C" {
*/
/**@{**/
-#ifndef ASM
-
/**
* This defines the minimal set of integer and processor state registers
* that must be saved during a voluntary context switch from one thread