[Bug 1729] New: SMP Step #2

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Fri Jan 7 13:09:32 CST 2011


https://www.rtems.org/bugzilla/show_bug.cgi?id=1729

           Summary: SMP Step #2
           Product: RTEMS
           Version: HEAD
          Platform: All
        OS/Version: RTEMS
            Status: NEW
          Severity: enhancement
          Priority: P3
         Component: cpukit
        AssignedTo: joel.sherrill at oarcorp.com
        ReportedBy: jennifer.averett at oarcorp.com


Created an attachment (id=1096)
 --> (https://www.rtems.org/bugzilla/attachment.cgi?id=1096)
Patch to add SMP single core support.  This should be used in conjunction with
the tar ball that has the added smp directories.

This patch contains the next step on the path to SMP support.  It 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 was added to explicitly enable or disable SMP.  But SMP
can only be enabled for the CPUs which will support it initially -- SPARC and
i386.

Stub BSP support for SMP was added which lets us treat a single CPU system as a
single core SMP from an RTEMS data structure standpoint.  This lets us verify
that we can allocate a array of one per CPU structures, create one IDLE task,
etc.

The i386 and sparc bsps are modified to be able to run when configured as SMP
using the stub BSP support.

The NEXT patch adds "real" SMP BSP support for the pc386 and LEON3 BSPs.  But
since there is not an SMP aware scheduler yet, it is only exercised by test
programs which verify we can bring cores 2-n out of reset and initialize them.
We have to have an SMP aware scheduler to have tasks scheduled on those cores.

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the rtems-bugs mailing list