summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/nios2/include/rtems/score/cpu.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-09-26 06:34:54 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-10-05 13:41:06 +0200
commit8776bb94197613a369b47b3adf4b2d4e0ba766ed (patch)
tree37f2177f56e8d758bc4433ea8f8d98851fa81a18 /cpukit/score/cpu/nios2/include/rtems/score/cpu.h
parentdev/sc16is752: Deal with a baud of zero (diff)
downloadrtems-8776bb94197613a369b47b3adf4b2d4e0ba766ed.tar.bz2
score: Remove CPU_PROVIDES_IDLE_THREAD_BODY
Remove the CPU_PROVIDES_IDLE_THREAD_BODY option to avoid unnecessary conditional compilation. Close #3539.
Diffstat (limited to 'cpukit/score/cpu/nios2/include/rtems/score/cpu.h')
-rw-r--r--cpukit/score/cpu/nios2/include/rtems/score/cpu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/cpu/nios2/include/rtems/score/cpu.h b/cpukit/score/cpu/nios2/include/rtems/score/cpu.h
index fa052842c8..c86b13bb73 100644
--- a/cpukit/score/cpu/nios2/include/rtems/score/cpu.h
+++ b/cpukit/score/cpu/nios2/include/rtems/score/cpu.h
@@ -51,8 +51,6 @@ extern "C" {
#define CPU_ENABLE_ROBUST_THREAD_DISPATCH FALSE
-#define CPU_PROVIDES_IDLE_THREAD_BODY FALSE
-
#define CPU_STACK_GROWS_UP FALSE
/* FIXME: Is this the right value? */
@@ -316,6 +314,8 @@ void _CPU_ISR_install_vector(
proc_ptr *old_handler
);
+void *_CPU_Thread_Idle_body( uintptr_t ignored );
+
void _CPU_Context_switch( Context_Control *run, Context_Control *heir );
void _CPU_Context_restore(