Changeset c284a16 in rtems


Ignore:
Timestamp:
Feb 17, 2016, 2:34:51 PM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
b3a4c48e
Parents:
a38d1fe4
git-author:
Sebastian Huber <sebastian.huber@…> (02/17/16 14:34:51)
git-committer:
Sebastian Huber <sebastian.huber@…> (03/04/16 12:36:09)
Message:

score: Rename Per_CPU_Control::started

Rename Per_CPU_Control::started into Per_CPU_Control::online to match
standard nomenclature.

Location:
cpukit/score
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/include/rtems/score/percpu.h

    ra38d1fe4 rc284a16  
    365365     * _CPU_SMP_Start_processor().
    366366     */
    367     bool started;
     367    bool online;
    368368  #endif
    369369
     
    524524}
    525525
    526 static inline bool _Per_CPU_Is_processor_started(
     526static inline bool _Per_CPU_Is_processor_online(
    527527  const Per_CPU_Control *cpu
    528528)
    529529{
    530530#if defined( RTEMS_SMP )
    531   return cpu->started;
     531  return cpu->online;
    532532#else
    533533  (void) cpu;
  • cpukit/score/src/smp.c

    ra38d1fe4 rc284a16  
    6262    }
    6363
    64     cpu->started = started;
     64    cpu->online = started;
    6565
    6666    if ( started ) {
     
    120120    Per_CPU_Control *cpu = _Per_CPU_Get_by_index( cpu_index );
    121121
    122     if ( _Per_CPU_Is_processor_started( cpu ) ) {
     122    if ( _Per_CPU_Is_processor_online( cpu ) ) {
    123123      _Per_CPU_State_change( cpu, PER_CPU_STATE_REQUEST_START_MULTITASKING );
    124124    }
  • cpukit/score/src/threadcreateidle.c

    ra38d1fe4 rc284a16  
    9191    Per_CPU_Control *cpu = _Per_CPU_Get_by_index( cpu_index );
    9292
    93     if ( _Per_CPU_Is_processor_started( cpu ) ) {
     93    if ( _Per_CPU_Is_processor_online( cpu ) ) {
    9494      _Thread_Create_idle_for_cpu( cpu );
    9595    }
Note: See TracChangeset for help on using the changeset viewer.