Changeset 22ce0881 in rtems


Ignore:
Timestamp:
Aug 7, 2008, 6:23:48 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, master
Children:
02d989c
Parents:
a9650433
Message:

2008-08-07 Joel Sherrill <joel.sherrill@…>

  • score/include/rtems/score/sysstate.h, score/inline/rtems/score/sysstate.inl, score/src/thread.c: Make _System_state_Is_multiprocessing unused when multiprocessing is not enabled. Saves one more variable from single processor configuration.
Location:
cpukit
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    ra9650433 r22ce0881  
     12008-08-07      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * score/include/rtems/score/sysstate.h,
     4        score/inline/rtems/score/sysstate.inl, score/src/thread.c: Make
     5        _System_state_Is_multiprocessing unused when multiprocessing is not
     6        enabled. Saves one more variable from single processor configuration.
     7
    182008-08-07      Chris Johns <chrisj@rtems.org>
    29
  • cpukit/score/include/rtems/score/sysstate.h

    ra9650433 r22ce0881  
    6565#define SYSTEM_STATE_CODES_LAST  SYSTEM_STATE_FAILED
    6666
     67#if defined(RTEMS_MULTIPROCESSING)
    6768/**
    6869 *  The following variable indicates whether or not this is
     
    7071 */
    7172SCORE_EXTERN boolean _System_state_Is_multiprocessing;
     73#endif
    7274
    7375/**
  • cpukit/score/inline/rtems/score/sysstate.inl

    ra9650433 r22ce0881  
    3434{
    3535  _System_state_Current = SYSTEM_STATE_BEFORE_INITIALIZATION;
    36   _System_state_Is_multiprocessing = is_multiprocessing;
     36  #if defined(RTEMS_MULTIPROCESSING)
     37    _System_state_Is_multiprocessing = is_multiprocessing;
     38  #endif
    3739}
    3840 
  • cpukit/score/src/thread.c

    ra9650433 r22ce0881  
    100100    OBJECTS_INTERNAL_API,
    101101    OBJECTS_INTERNAL_THREADS,
     102#if defined(RTEMS_MULTIPROCESSING)
    102103    ( _System_state_Is_multiprocessing ) ?  2 : 1,
     104#else
     105    1,
     106#endif
    103107    sizeof( Thread_Control ),
    104108                                /* size of this object's control block */
Note: See TracChangeset for help on using the changeset viewer.