diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2006-10-23 17:19:52 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2006-10-23 17:19:52 +0000 |
commit | 5b8b467017343c724afaa5251ef5cc749de9cfef (patch) | |
tree | 68fdc2c87c09ec31ee1e30ecbb0e143c916e7cb3 /cpukit/score | |
parent | 2006-10-23 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-5b8b467017343c724afaa5251ef5cc749de9cfef.tar.bz2 |
2006-10-23 Joel Sherrill <joel@OARcorp.com>
* cpu.c, rtems/score/cpu.h: Use the default IDLE thread body.
Diffstat (limited to 'cpukit/score')
-rw-r--r-- | cpukit/score/cpu/bfin/ChangeLog | 4 | ||||
-rw-r--r-- | cpukit/score/cpu/bfin/cpu.c | 28 | ||||
-rw-r--r-- | cpukit/score/cpu/bfin/rtems/score/cpu.h | 2 |
3 files changed, 5 insertions, 29 deletions
diff --git a/cpukit/score/cpu/bfin/ChangeLog b/cpukit/score/cpu/bfin/ChangeLog index 57488440a4..5afc44727b 100644 --- a/cpukit/score/cpu/bfin/ChangeLog +++ b/cpukit/score/cpu/bfin/ChangeLog @@ -1,5 +1,9 @@ 2006-10-23 Joel Sherrill <joel@OARcorp.com> + * cpu.c, rtems/score/cpu.h: Use the default IDLE thread body. + +2006-10-23 Joel Sherrill <joel@OARcorp.com> + * .cvsignore, ChangeLog, Makefile.am, cpu.c, cpu_asm.S, irq.c, preinstall.am, rtems/asm.h, rtems/score/bfin.h, rtems/score/cpu.h, rtems/score/cpu_asm.h, rtems/score/types.h: New files. diff --git a/cpukit/score/cpu/bfin/cpu.c b/cpukit/score/cpu/bfin/cpu.c index aa52e0e10b..e103c34844 100644 --- a/cpukit/score/cpu/bfin/cpu.c +++ b/cpukit/score/cpu/bfin/cpu.c @@ -195,31 +195,3 @@ void _CPU_Context_Initialize( void _CPU_Install_interrupt_stack( void ) { } - -/*PAGE - * - * _CPU_Thread_Idle_body - * - * NOTES: - * - * 1. This is the same as the regular CPU independent algorithm. - * - * 2. If you implement this using a "halt", "idle", or "shutdown" - * instruction, then don't forget to put it in an infinite loop. - * - * 3. Be warned. Some processors with onboard DMA have been known - * to stop the DMA if the CPU were put in IDLE mode. This might - * also be a problem with other on-chip peripherals. So use this - * hook with caution. - * - * NO_CPU Specific Information: - * - * XXX document implementation including references if appropriate - */ - -void _CPU_Thread_Idle_body( void ) -{ - - for( ; ; ) - /* insert your "halt" instruction here */ ; -} diff --git a/cpukit/score/cpu/bfin/rtems/score/cpu.h b/cpukit/score/cpu/bfin/rtems/score/cpu.h index 38f367ed3e..66fd6f3c65 100644 --- a/cpukit/score/cpu/bfin/rtems/score/cpu.h +++ b/cpukit/score/cpu/bfin/rtems/score/cpu.h @@ -292,7 +292,7 @@ extern "C" { * * XXX document implementation including references if appropriate */ -#define CPU_PROVIDES_IDLE_THREAD_BODY TRUE +#define CPU_PROVIDES_IDLE_THREAD_BODY FALSE /** * Does the stack grow up (toward higher addresses) or down |