diff options
author | Gedare Bloom <gedare@rtems.org> | 2016-01-08 12:15:46 -0500 |
---|---|---|
committer | Gedare Bloom <gedare@rtems.org> | 2016-03-03 16:36:29 -0500 |
commit | fd05a055e67128f2410629dba52f8c33e08d2297 (patch) | |
tree | 250c660a7d70cca07165429181b8bad0d75527d9 /cpukit/score/cpu | |
parent | version.c: Add space so printing is neater (diff) | |
download | rtems-fd05a055e67128f2410629dba52f8c33e08d2297.tar.bz2 |
i386: move idle thread into BSP layer
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/cpu/i386/cpu.c | 8 | ||||
-rw-r--r-- | cpukit/score/cpu/i386/rtems/score/cpu.h | 2 |
2 files changed, 1 insertions, 9 deletions
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 |