Changeset e79093a in rtems


Ignore:
Timestamp:
Apr 4, 2011, 4:40:00 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 5, master
Children:
9c24c73
Parents:
54ff312
Message:

2011-04-04 Joel Sherrill <joel.sherrilL@…>

PR 1773/cpukit

  • sapi/include/confdefs.h, sapi/src/exinit.c, score/include/rtems/bspsmp.h, score/src/percpu.c, score/src/thread.c: Rename rtems_smp_maximum_processor to rtems_configuration_smp_maximum_processor. Eliminate printk().
Location:
cpukit
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r54ff312 re79093a  
     12011-04-04      Joel Sherrill <joel.sherrilL@OARcorp.com>
     2
     3        PR 1773/cpukit
     4        * sapi/include/confdefs.h, sapi/src/exinit.c,
     5        score/include/rtems/bspsmp.h, score/src/percpu.c, score/src/thread.c:
     6        Rename rtems_smp_maximum_processor to
     7        rtems_configuration_smp_maximum_processor. Eliminate printk().
     8
    192011-03-24      Ralf Corsépius <ralf.corsepius@rtems.org>
    210
  • cpukit/sapi/include/confdefs.h

    r54ff312 re79093a  
    21622162   */
    21632163  #if defined(CONFIGURE_INIT)
    2164     uint32_t rtems_smp_maximum_processors = CONFIGURE_SMP_MAXIMUM_PROCESSORS;
    2165   #else
    2166     extern uint32_t rtems_smp_maximum_processors;
     2164    uint32_t rtems_configuration_smp_maximum_processors = \
     2165        CONFIGURE_SMP_MAXIMUM_PROCESSORS;
     2166  #else
     2167    extern uint32_t rtems_configuration_smp_maximum_processors;
    21672168  #endif
    21682169 /*
  • cpukit/sapi/src/exinit.c

    r54ff312 re79093a  
    164164   */
    165165  #if defined(RTEMS_SMP)
    166     _SMP_Processor_count = bsp_smp_initialize( rtems_smp_maximum_processors );
     166    _SMP_Processor_count =
     167        bsp_smp_initialize( rtems_configuration_smp_maximum_processors );
    167168  #endif
    168169
  • cpukit/score/include/rtems/bspsmp.h

    r54ff312 re79093a  
    8888 *  indicate the Maximum number of CPUs in this system.
    8989 */
    90 extern uint32_t rtems_smp_maximum_processors;
     90extern uint32_t rtems_configuration_smp_maximum_processors;
    9191 
    9292/**
  • cpukit/score/src/percpu.c

    r54ff312 re79093a  
    4141    size = Configuration.interrupt_stack_size;
    4242    _Per_CPU_Information_p[0] = &_Per_CPU_Information[0];
    43     for (cpu=1 ; cpu < rtems_smp_maximum_processors; cpu++ ) {
    44 
    45       printk("Initializing cpu control structure %d\n", cpu );
     43    for (cpu=1 ; cpu < rtems_configuration_smp_maximum_processors; cpu++ ) {
    4644
    4745      Per_CPU_Control *p = &_Per_CPU_Information[cpu];
  • cpukit/score/src/thread.c

    r54ff312 re79093a  
    9595   */
    9696  #if defined(RTEMS_SMP)
    97     maximum_internal_threads = rtems_smp_maximum_processors;
     97    maximum_internal_threads = rtems_configuration_smp_maximum_processors;
    9898  #else
    9999    maximum_internal_threads = 1;
Note: See TracChangeset for help on using the changeset viewer.