[Bug 1657] New BSP code inclusion in CVS HEAD - Milkymist

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Mon Aug 23 07:01:59 UTC 2010


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

Sebastian Huber <sebastian.huber at embedded-brains.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sebastian.huber at embedded-br
                   |                            |ains.de

--- Comment #13 from Sebastian Huber <sebastian.huber at embedded-brains.de> 2010-08-23 02:01:57 CDT ---
(In reply to comment #12)
> Is there anyway the lm32 port could use rtems_isrXXX instead of lm32_isrXXX? 
> That would avoid the ifdef entirely.

Yes, we really don't need another interrupt API.  If the rtems_isrXXX API is
not enough, please use the Interrupt Manager Extension API described here:

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

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

Very simple example BSP that use this framework:

c/src/lib/libcpu/powerpc/mpc55xx/include/irq.h
c/src/lib/libcpu/powerpc/mpc55xx/irq/irq.c

Other BSPs:

c/src/lib/libbsp/powerpc/gen83xx
c/src/lib/libbsp/powerpc/gen5200
c/src/lib/libbsp/arm/lpc24xx

For RTEMS shell support:

c/src/lib/libbsp/shared/include/irq-info.h
c/src/lib/libbsp/shared/src/irq-info.c
c/src/lib/libbsp/shared/src/irq-shell.c

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