From fd05a055e67128f2410629dba52f8c33e08d2297 Mon Sep 17 00:00:00 2001 From: Gedare Bloom Date: Fri, 8 Jan 2016 12:15:46 -0500 Subject: i386: move idle thread into BSP layer --- cpukit/score/cpu/i386/cpu.c | 8 -------- cpukit/score/cpu/i386/rtems/score/cpu.h | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) (limited to 'cpukit/score/cpu') diff --git a/cpukit/score/cpu/i386/cpu.c b/cpukit/score/cpu/i386/cpu.c index f22c4d3471..17aa990f3c 100644 --- a/cpukit/score/cpu/i386/cpu.c +++ b/cpukit/score/cpu/i386/cpu.c @@ -120,14 +120,6 @@ uint32_t _CPU_ISR_Get_level( void ) return level; } -void *_CPU_Thread_Idle_body( uintptr_t ignored ) -{ - while(1){ - __asm__ volatile ("hlt"); - } - return NULL; -} - struct Frame_ { struct Frame_ *up; uintptr_t pc; diff --git a/cpukit/score/cpu/i386/rtems/score/cpu.h b/cpukit/score/cpu/i386/rtems/score/cpu.h index d6828dc3ac..dc9deee953 100644 --- a/cpukit/score/cpu/i386/rtems/score/cpu.h +++ b/cpukit/score/cpu/i386/rtems/score/cpu.h @@ -117,7 +117,7 @@ extern "C" { * not provide one. */ -#define CPU_PROVIDES_IDLE_THREAD_BODY TRUE +#define CPU_PROVIDES_IDLE_THREAD_BODY FALSE /* * Define what is required to specify how the network to host conversion -- cgit v1.2.3