Changeset b3a72166 in rtems


Ignore:
Timestamp:
Mar 16, 2011, 8:08:39 PM (9 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
a96fad0
Parents:
d5f3485
Message:

2011-03-16 Jennifer Averett <jennifer.averett@…>

PR 1729/cpukit

  • spsize/size.c: Add next step in SMP support. This adds an allocated array of the Per_CPU structures to support multiple cpus vs a single instance of the structure which is still used if SMP support is disabled. Configuration support is also added to explicitly enable or disable SMP. But SMP can only be enabled for the CPUs which will support it initially -- SPARC and i386. With the stub BSP support, a BSP can be run as a single core SMP system from an RTEMS data structure standpoint.
Location:
testsuites/sptests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/ChangeLog

    rd5f3485 rb3a72166  
     12011-03-16      Jennifer Averett <jennifer.averett@OARcorp.com>
     2
     3        PR 1729/cpukit
     4        * spsize/size.c: Add next step in SMP support. This adds an allocated
     5        array of the Per_CPU structures to support multiple cpus vs a single
     6        instance of the structure which is still used if SMP support is
     7        disabled. Configuration support is also added to explicitly enable or
     8        disable SMP. But SMP can only be enabled for the CPUs which will
     9        support it initially -- SPARC and i386. With the stub BSP support, a
     10        BSP can be run as a single core SMP system from an RTEMS data
     11        structure standpoint.
     12
    1132011-03-16      Joel Sherrill <joel.sherrill@oarcorp.com>
    214
  • testsuites/sptests/spsize/size.c

    rd5f3485 rb3a72166  
    341341#endif
    342342
    343 /*percpu.h*/    (sizeof _Per_CPU_Information)             +
     343#if defined(RTEMS_SMP)
     344/*percpu.h*/    (_SMP_Processor_count * sizeof(Per_CPU_Control))  +
     345#else
     346/*percpu.h*/    (sizeof (Per_CPU_Control) )                       +
     347#endif
    344348
    345349/*ratemon.h*/   (sizeof _Rate_monotonic_Information)      +
Note: See TracChangeset for help on using the changeset viewer.