Re: What's the accurate meaning of the macro "RTEMS_MULTIPROCESSING" and "RTEMS_SMP"?

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Jul 23 07:33:01 UTC 2013


On 2013-07-23 09:20, Hailin Guo wrote:
> I am porting RTEMS to a multiprocessor CPU whoes architecture is very
> non-mainstream. When I read the source, I am confused about the macro
> "RTEMS_MULTIPROCESSING" and "RTEMS_SMP". And in the document of RTEMS
> Applications C User's Guide, there is also no talk about "RTEMS_SMP".
 > Who can explain to me about the two macros' meaning?

The RTEMS_MULTIPROCESSING is supported for a long time and is also known as 
asymmetric multiprocessing.  Here message passing is used to synchronize objects.

The RTEMS_SMP is new to RTEMS and work in progress.  One RTEMS instance will 
run on multiple processors.

> And how does RTEMS boot
> from multiprocessor?

At the moment there is no documentation for this.  The realview_pbx_a9_qemu_smp 
BSP runs on the Qemu simulator and has SMP support.  You may have a look at the 
BSP sources.

See also the comments in percpu.h for Per_CPU_State.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the users mailing list