Changeset 93f7ea15 in rtems for cpukit


Ignore:
Timestamp:
Aug 19, 2009, 4:40:03 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
9f49b43
Parents:
db0df7b
Message:

2009-08-19 Joel Sherrill <joel.sherrill@…>

  • sapi/include/confdefs.h, score/Makefile.am, score/include/rtems/score/thread.h: Only instantiate _Thread_Idle_body() if it is going ot be used.
  • score/src/threadidlebody.c: Removed.
Location:
cpukit
Files:
1 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    rdb0df7b r93f7ea15  
     12009-08-19      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * sapi/include/confdefs.h, score/Makefile.am,
     4        score/include/rtems/score/thread.h: Only instantiate
     5        _Thread_Idle_body() if it is going ot be used.
     6        * score/src/threadidlebody.c: Removed.
     7
    182009-08-19      Joel Sherrill <joel.sherrill@OARcorp.com>
    29
  • cpukit/sapi/include/confdefs.h

    rdb0df7b r93f7ea15  
    324324    #define CONFIGURE_IDLE_TASK_BODY _CPU_Thread_Idle_body
    325325  #else
     326    /* only instantiate and compile if used */
     327    #ifdef CONFIGURE_INIT
     328      void *_Thread_Idle_body(uintptr_t ignored)
     329      {
     330        for( ; ; ) ;
     331        return 0;   /* to avoid warning */
     332      }
     333    #endif
    326334    #define CONFIGURE_IDLE_TASK_BODY _Thread_Idle_body
    327335  #endif
  • cpukit/score/Makefile.am

    rdb0df7b r93f7ea15  
    149149    src/threadclearstate.c src/threadclose.c src/threadcreateidle.c \
    150150    src/threaddelayended.c src/threaddispatch.c src/threadevaluatemode.c \
    151     src/threadget.c src/threadhandler.c src/threadidlebody.c \
    152     src/threadinitialize.c src/threadloadenv.c src/threadready.c \
    153     src/threadresettimeslice.c src/threadreset.c src/threadrestart.c \
    154     src/threadresume.c src/threadsetpriority.c src/threadsetstate.c \
    155     src/threadsettransient.c src/threadstackallocate.c \
    156     src/threadstackfree.c src/threadstart.c src/threadstartmultitasking.c \
    157     src/threadsuspend.c src/threadtickletimeslice.c \
    158     src/threadyieldprocessor.c src/iterateoverthreads.c \
    159     src/threadblockingoperationcancel.c
     151    src/threadget.c src/threadhandler.c src/threadinitialize.c \
     152    src/threadloadenv.c src/threadready.c src/threadresettimeslice.c \
     153    src/threadreset.c src/threadrestart.c src/threadresume.c \
     154    src/threadsetpriority.c src/threadsetstate.c src/threadsettransient.c \
     155    src/threadstackallocate.c src/threadstackfree.c src/threadstart.c \
     156    src/threadstartmultitasking.c src/threadsuspend.c \
     157    src/threadtickletimeslice.c src/threadyieldprocessor.c \
     158    src/iterateoverthreads.c src/threadblockingoperationcancel.c
    160159
    161160## THREAD_C_FILES only used by ITRON API
  • cpukit/score/include/rtems/score/thread.h

    rdb0df7b r93f7ea15  
    776776/**
    777777 *  This routine is the body of the system idle thread.
     778 *
     779 *  NOTE: This routine is actually instantiated by confdefs.h when needed.
    778780 */
    779781void *_Thread_Idle_body(
Note: See TracChangeset for help on using the changeset viewer.