[rtems commit] Add Moxie CPU support

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Mar 1 08:14:53 UTC 2013


On 03/01/2013 05:53 AM, Anthony Green wrote:
>> >+ Does the Moxie have a bit scan or find first bit type instruction?
> No it doesn't.  Is it a big win?  I could add something like this if
> it made sense (still lots of opcode space available, but want keep
> core size small - it's a balancing act).

It helps to speed up some software floating point calculation and is useful for 
priority queues.  If you add an instruction for this, please add the 
appropriate __builtin_ffs() etc. support in GCC.

>> >+ Will the Moxie use Simple Vectored Interrupts or is it an
>> >    architecture that will usually have an external PIC?
> External PIC.  I'm working on that next week.
>

You may have a look at (with Doxygen comments):

c/src/lib/libbsp/shared/include/irq-config.h
c/src/lib/libbsp/shared/include/irq-generic.h
c/src/lib/libbsp/shared/src/irq-generic.c
c/src/lib/libbsp/shared/src/irq-legacy.c

Example BSP specific part:

c/src/lib/libbsp/arm/lpc24xx/include/irq.h
c/src/lib/libbsp/arm/lpc24xx/irq/irq.c

It implements the following API:

http://www.rtems.org/onlinedocs/doxygen/cpukit/html/group__rtems__interrupt__extension.html


-- 
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 devel mailing list