SMP Step #2
Jennifer.Averett at OARcorp.com
Fri Jan 21 16:19:38 UTC 2011
Bug number 1729 has a patch to add the next step in SMP support.
There have been no comments since this PR was file on 7 January.
If we have no comments on this patch it wil be merged next week.
Details on the patch are (from the PR):
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
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,
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the users