Changeset 5b8b467 in rtems


Ignore:
Timestamp:
Oct 23, 2006, 5:19:52 PM (13 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
ffae7bd
Parents:
d9a6ab3
Message:

2006-10-23 Joel Sherrill <joel@…>

  • cpu.c, rtems/score/cpu.h: Use the default IDLE thread body.
Location:
cpukit/score/cpu/bfin
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/bfin/ChangeLog

    rd9a6ab3 r5b8b467  
     12006-10-23      Joel Sherrill <joel@OARcorp.com>
     2
     3        * cpu.c, rtems/score/cpu.h: Use the default IDLE thread body.
     4
    152006-10-23      Joel Sherrill <joel@OARcorp.com>
    26
  • cpukit/score/cpu/bfin/cpu.c

    rd9a6ab3 r5b8b467  
    196196{
    197197}
    198 
    199 /*PAGE
    200  *
    201  *  _CPU_Thread_Idle_body
    202  *
    203  *  NOTES:
    204  *
    205  *  1. This is the same as the regular CPU independent algorithm.
    206  *
    207  *  2. If you implement this using a "halt", "idle", or "shutdown"
    208  *     instruction, then don't forget to put it in an infinite loop.
    209  *
    210  *  3. Be warned. Some processors with onboard DMA have been known
    211  *     to stop the DMA if the CPU were put in IDLE mode.  This might
    212  *     also be a problem with other on-chip peripherals.  So use this
    213  *     hook with caution.
    214  *
    215  *  NO_CPU Specific Information:
    216  *
    217  *  XXX document implementation including references if appropriate
    218  */
    219 
    220 void _CPU_Thread_Idle_body( void )
    221 {
    222 
    223   for( ; ; )
    224     /* insert your "halt" instruction here */ ;
    225 }
  • cpukit/score/cpu/bfin/rtems/score/cpu.h

    rd9a6ab3 r5b8b467  
    293293 *  XXX document implementation including references if appropriate
    294294 */
    295 #define CPU_PROVIDES_IDLE_THREAD_BODY    TRUE
     295#define CPU_PROVIDES_IDLE_THREAD_BODY    FALSE
    296296
    297297/**
Note: See TracChangeset for help on using the changeset viewer.