summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/bfin/rtems/score
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-11-11 10:16:33 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-11-18 07:30:32 +0100
commit82d30a310c69a9a374f45a571b551b0d0a838777 (patch)
treee20b6272303ae845c5a96f6d78727e3f9ab2484e /cpukit/score/cpu/bfin/rtems/score
parentscore: Add and use _Thread_Dispatch_direct() (diff)
downloadrtems-82d30a310c69a9a374f45a571b551b0d0a838777.tar.bz2
score: Move CPU_PER_CPU_CONTROL_SIZE
Move CPU_PER_CPU_CONTROL_SIZE and the optional CPU_Per_CPU_control to <rtems/score/cpuimpl.h> to hide it from <rtems.h>.
Diffstat (limited to 'cpukit/score/cpu/bfin/rtems/score')
-rw-r--r--cpukit/score/cpu/bfin/rtems/score/cpu.h2
-rw-r--r--cpukit/score/cpu/bfin/rtems/score/cpuimpl.h4
2 files changed, 4 insertions, 2 deletions
diff --git a/cpukit/score/cpu/bfin/rtems/score/cpu.h b/cpukit/score/cpu/bfin/rtems/score/cpu.h
index 30999c2a9c..fb5198e227 100644
--- a/cpukit/score/cpu/bfin/rtems/score/cpu.h
+++ b/cpukit/score/cpu/bfin/rtems/score/cpu.h
@@ -329,8 +329,6 @@ extern "C" {
*/
#define CPU_MODES_INTERRUPT_MASK 0x00000001
-#define CPU_PER_CPU_CONTROL_SIZE 0
-
#define CPU_MAXIMUM_PROCESSORS 32
/*
diff --git a/cpukit/score/cpu/bfin/rtems/score/cpuimpl.h b/cpukit/score/cpu/bfin/rtems/score/cpuimpl.h
index 6b8b601cb0..789f2badd9 100644
--- a/cpukit/score/cpu/bfin/rtems/score/cpuimpl.h
+++ b/cpukit/score/cpu/bfin/rtems/score/cpuimpl.h
@@ -5,6 +5,8 @@
*/
/*
+ * Copyright (c) 2013 embedded brains GmbH
+ *
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.org/license/LICENSE.
@@ -15,6 +17,8 @@
#include <rtems/score/cpu.h>
+#define CPU_PER_CPU_CONTROL_SIZE 0
+
#ifndef ASM
#ifdef __cplusplus