Changeset 20546ace in rtems


Ignore:
Timestamp:
Mar 16, 2011, 8:05:26 PM (9 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
5d69cd3
Parents:
66729db
Message:

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

PR 1729/cpukit

  • Makefile.am, configure.ac: 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:
c/src/lib/libbsp
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/i386/pc386/ChangeLog

    r66729db r20546ace  
     12011-03-16      Jennifer Averett <jennifer.averett@OARcorp.com>
     2
     3        PR 1729/cpukit
     4        * Makefile.am, configure.ac: Add next step in SMP support. This adds an
     5        allocated array of the Per_CPU structures to support multiple cpus vs
     6        a single instance of the structure which is still used if SMP support
     7        is disabled. Configuration support is also added to explicitly enable
     8        or 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-14      Joel Sherrill <joel.sherrill@oarcorp.com>
    214
  • c/src/lib/libbsp/i386/pc386/Makefile.am

    r66729db r20546ace  
    109109libbsp_a_SOURCES += ide/idecfg.c ide/ide.c
    110110
     111if HAS_SMP
     112libbsp_a_SOURCES += ../../shared/smp/getcpuid.c ../../shared/smp/smp_stub.c
     113endif
     114
    111115if HAS_NETWORKING
    112116ne2000_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
  • c/src/lib/libbsp/i386/pc386/configure.ac

    r66729db r20546ace  
    1818
    1919RTEMS_CHECK_NETWORKING
     20RTEMS_CHECK_SMP
    2021
    2122RTEMS_BSPOPTS_SET([USE_COM1_AS_CONSOLE],[*],[0])
     
    8081fi
    8182
     83RTEMS_BSPOPTS_SET([BSP_HAS_SMP],[*],[1])
     84RTEMS_BSPOPTS_HELP([BSP_HAS_SMP],
     85[Always defined when on a pc386 to enable the pc386 support for
     86 determining the CPU core number in an SMP configuration.])
     87
    8288## if this is an i386, does gas have good code16 support?
    8389RTEMS_I386_GAS_CODE16
    8490AM_CONDITIONAL(RTEMS_GAS_CODE16,[test "$RTEMS_GAS_CODE16" = "yes"])
    8591
     92
    8693AM_CONDITIONAL(HAS_NETWORKING,[test "$HAS_NETWORKING" = "yes"])
     94AM_CONDITIONAL(HAS_SMP,[test "$rtems_cv_HAS_SMP" = "yes"])
     95
    8796
    8897AC_SUBST([RTEMS_ROOT],[${rtems_updir}'$(top_builddir)'])
  • c/src/lib/libbsp/sparc/erc32/ChangeLog

    r66729db r20546ace  
     12011-03-16      Jennifer Averett <jennifer.averett@OARcorp.com>
     2
     3        PR 1729/cpukit
     4        * Makefile.am, configure.ac: Add next step in SMP support. This adds an
     5        allocated array of the Per_CPU structures to support multiple cpus vs
     6        a single instance of the structure which is still used if SMP support
     7        is disabled. Configuration support is also added to explicitly enable
     8        or 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-04      Joel Sherrill <joel.sherrilL@OARcorp.com>
    214
  • c/src/lib/libbsp/sparc/erc32/Makefile.am

    r66729db r20546ace  
    4141    ../../shared/sbrk.c startup/setvec.c startup/spurious.c \
    4242    startup/erc32mec.c startup/boardinit.S startup/bspidle.c
     43# ISR Handler
     44libbsp_a_SOURCES += ../../sparc/shared/irq_asm.S
    4345# gnatsupp
    4446libbsp_a_SOURCES += gnatsupp/gnatsupp.c ../../sparc/shared/gnatcommon.c
     
    5153# timer
    5254libbsp_a_SOURCES += timer/timer.c
     55
     56if HAS_SMP
     57libbsp_a_SOURCES += ../../shared/smp/getcpuid.c ../../shared/smp/smp_stub.c
     58endif
    5359
    5460if HAS_NETWORKING
  • c/src/lib/libbsp/sparc/erc32/configure.ac

    r66729db r20546ace  
    1717
    1818RTEMS_CHECK_NETWORKING
     19RTEMS_CHECK_SMP
    1920
    2021AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
     22AM_CONDITIONAL(HAS_SMP,[test "$rtems_cv_HAS_SMP" = "yes"])
    2123
    2224RTEMS_CONFIG_BUILD_SUBDIRS(tools)
  • c/src/lib/libbsp/sparc/leon2/ChangeLog

    r66729db r20546ace  
     12011-03-16      Jennifer Averett <jennifer.averett@OARcorp.com>
     2
     3        PR 1729/cpukit
     4        * Makefile.am, configure.ac: Add next step in SMP support. This adds an
     5        allocated array of the Per_CPU structures to support multiple cpus vs
     6        a single instance of the structure which is still used if SMP support
     7        is disabled. Configuration support is also added to explicitly enable
     8        or 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-04      Joel Sherrill <joel.sherrilL@OARcorp.com>
    214
  • c/src/lib/libbsp/sparc/leon2/Makefile.am

    r66729db r20546ace  
    6161    ../../shared/sbrk.c startup/setvec.c startup/spurious.c startup/bspidle.c \
    6262    ../../shared/bspinit.c
     63# ISR Handler
     64libbsp_a_SOURCES += ../../sparc/shared/irq_asm.S
    6365# gnatsupp
    6466libbsp_a_SOURCES += gnatsupp/gnatsupp.c ../../sparc/shared/gnatcommon.c
     
    98100libbsp_a_SOURCES += timer/timer.c
    99101
     102if HAS_SMP
     103libbsp_a_SOURCES += ../../shared/smp/getcpuid.c ../../shared/smp/smp_stub.c
     104endif
     105
    100106if HAS_NETWORKING
    101107noinst_PROGRAMS += leon_smc91111.rel
  • c/src/lib/libbsp/sparc/leon2/configure.ac

    r66729db r20546ace  
    1717
    1818RTEMS_CHECK_NETWORKING
     19RTEMS_CHECK_SMP
    1920
    2021AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
     22AM_CONDITIONAL(HAS_SMP,[test "$rtems_cv_HAS_SMP" = "yes"])
    2123
    2224RTEMS_CONFIG_BUILD_SUBDIRS(tools)
  • c/src/lib/libbsp/sparc/leon3/ChangeLog

    r66729db r20546ace  
     12011-03-16      Jennifer Averett <jennifer.averett@OARcorp.com>
     2
     3        PR 1729/cpukit
     4        * Makefile.am, configure.ac: Add next step in SMP support. This adds an
     5        allocated array of the Per_CPU structures to support multiple cpus vs
     6        a single instance of the structure which is still used if SMP support
     7        is disabled. Configuration support is also added to explicitly enable
     8        or 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-04      Joel Sherrill <joel.sherrilL@OARcorp.com>
    214
  • c/src/lib/libbsp/sparc/leon3/Makefile.am

    r66729db r20546ace  
    4444    startup/spurious.c startup/bspidle.S \
    4545    ../../shared/bspinit.c
     46# ISR Handler
     47libbsp_a_SOURCES += ../../sparc/shared/irq_asm.S
    4648# gnatsupp
    4749libbsp_a_SOURCES += gnatsupp/gnatsupp.c ../../sparc/shared/gnatcommon.c
     
    9193libbsp_a_SOURCES += timer/timer.c
    9294
     95if HAS_SMP
     96libbsp_a_SOURCES += ../../shared/smp/getcpuid.c ../../shared/smp/smp_stub.c
     97endif
     98
    9399if HAS_NETWORKING
    94100noinst_PROGRAMS += leon_smc91111.rel
  • c/src/lib/libbsp/sparc/leon3/configure.ac

    r66729db r20546ace  
    1717
    1818RTEMS_CHECK_NETWORKING
     19RTEMS_CHECK_SMP
    1920
    2021AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
     22AM_CONDITIONAL(HAS_SMP,[test "$rtems_cv_HAS_SMP" = "yes"])
    2123
    2224RTEMS_CONFIG_BUILD_SUBDIRS(tools)
     
    3840 the wall time required to execute the RTEMS test suites.])
    3941
     42RTEMS_BSPOPTS_SET([BSP_LEON3_SMP],[*],[1])
     43RTEMS_BSPOPTS_HELP([BSP_LEON3_SMP],
     44[Always defined when on a LEON3 to enable the LEON3 support for
     45 determining the CPU core number in an SMP configuration.])
     46
    4047RTEMS_BSP_CLEANUP_OPTIONS(0, 0)
    4148
Note: See TracChangeset for help on using the changeset viewer.