<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>change log for rtems (2010-04-30)</title>
</head>
<body text='#000000' bgcolor='#ffffff'>
<a name='cs1'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>sh</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-04-30 Sebastian Huber <sebastian.huber@embedded-brains.de>

        * at91rm9200/irq/irq.c, at91rm9200/irq/irq.h, lpc22xx/irq/irq.c,
        lpc22xx/irq/irq.h, mc9328mxl/irq/irq.c, mc9328mxl/irq/irq.h,
        pxa255/irq/irq.c, pxa255/irq/irq.h, s3c24xx/irq/irq.c,
        s3c24xx/irq/irq.h: The previous interrupt warning fix changed the
        interrupt handler API.  To fix this problem the generic interrupt
        support framework will be used now.  This eliminates a lot of copy and
        paste code.  The interrupt header file is now <bsp/irq.h>.
        * at91rm9200/clock/clock.c, lpc22xx/clock/clockdrv.c,
        mc9328mxl/clock/clockdrv.c, pxa255/clock/clock.c,
        s3c24xx/clock/clockdrv.c: Include <bsp/irq.h> instead of <irq.h>.
        * at91rm9200/irq/bsp_irq_asm.S, at91rm9200/irq/bsp_irq_init.c,
        mc9328mxl/irq/bsp_irq_asm.S, mc9328mxl/irq/bsp_irq_init.c,
        s3c24xx/irq/bsp_irq_asm.S, s3c24xx/irq/bsp_irq_init.c: Removed files.
        * Makefile.am, preinstall.am: Reflect changes above.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libcpu/arm/ChangeLog.diff?r1=text&tr1=1.72&r2=text&tr2=1.73&diff_format=h">M</a></td><td width='1%'>1.73</td><td width='100%'>c/src/lib/libcpu/arm/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libcpu/arm/Makefile.am.diff?r1=text&tr1=1.19&r2=text&tr2=1.20&diff_format=h">M</a></td><td width='1%'>1.20</td><td width='100%'>c/src/lib/libcpu/arm/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libcpu/arm/at91rm9200/clock/clock.c.diff?r1=text&tr1=1.11&r2=text&tr2=1.12&diff_format=h">M</a></td><td width='1%'>1.12</td><td width='100%'>c/src/lib/libcpu/arm/at91rm9200/clock/clock.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libcpu/arm/at91rm9200/irq/bsp_irq_asm.S?rev=1.5&content-type=text/vnd.viewcvs-markup">R</a></td><td width='1%'><font color="#880000">1.5</font></td><td width='100%'><font color="#880000">c/src/lib/libcpu/arm/at91rm9200/irq/bsp_irq_asm.S</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libcpu/arm/at91rm9200/irq/bsp_irq_init.c?rev=1.6&content-type=text/vnd.viewcvs-markup">R</a></td><td width='1%'><font color="#880000">1.6</font></td><td width='100%'><font color="#880000">c/src/lib/libcpu/arm/at91rm9200/irq/bsp_irq_init.c</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libcpu/arm/at91rm9200/irq/irq.h.diff?r1=text&tr1=1.6&r2=text&tr2=1.7&diff_format=h">M</a></td><td width='1%'>1.7</td><td width='100%'>c/src/lib/libcpu/arm/at91rm9200/irq/irq.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libcpu/arm/at91rm9200/irq/irq.c.diff?r1=text&tr1=1.5&r2=text&tr2=1.6&diff_format=h">M</a></td><td width='1%'>1.6</td><td width='100%'>c/src/lib/libcpu/arm/at91rm9200/irq/irq.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libcpu/arm/lpc22xx/clock/clockdrv.c.diff?r1=text&tr1=1.9&r2=text&tr2=1.10&diff_format=h">M</a></td><td width='1%'>1.10</td><td width='100%'>c/src/lib/libcpu/arm/lpc22xx/clock/clockdrv.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libcpu/arm/lpc22xx/irq/irq.h.diff?r1=text&tr1=1.6&r2=text&tr2=1.7&diff_format=h">M</a></td><td width='1%'>1.7</td><td width='100%'>c/src/lib/libcpu/arm/lpc22xx/irq/irq.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libcpu/arm/lpc22xx/irq/irq.c.diff?r1=text&tr1=1.6&r2=text&tr2=1.7&diff_format=h">M</a></td><td width='1%'>1.7</td><td width='100%'>c/src/lib/libcpu/arm/lpc22xx/irq/irq.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libcpu/arm/mc9328mxl/clock/clockdrv.c.diff?r1=text&tr1=1.8&r2=text&tr2=1.9&diff_format=h">M</a></td><td width='1%'>1.9</td><td width='100%'>c/src/lib/libcpu/arm/mc9328mxl/clock/clockdrv.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libcpu/arm/mc9328mxl/irq/bsp_irq_asm.S?rev=1.6&content-type=text/vnd.viewcvs-markup">R</a></td><td width='1%'><font color="#880000">1.6</font></td><td width='100%'><font color="#880000">c/src/lib/libcpu/arm/mc9328mxl/irq/bsp_irq_asm.S</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libcpu/arm/mc9328mxl/irq/bsp_irq_init.c?rev=1.6&content-type=text/vnd.viewcvs-markup">R</a></td><td width='1%'><font color="#880000">1.6</font></td><td width='100%'><font color="#880000">c/src/lib/libcpu/arm/mc9328mxl/irq/bsp_irq_init.c</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libcpu/arm/mc9328mxl/irq/irq.h.diff?r1=text&tr1=1.8&r2=text&tr2=1.9&diff_format=h">M</a></td><td width='1%'>1.9</td><td width='100%'>c/src/lib/libcpu/arm/mc9328mxl/irq/irq.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libcpu/arm/mc9328mxl/irq/irq.c.diff?r1=text&tr1=1.7&r2=text&tr2=1.8&diff_format=h">M</a></td><td width='1%'>1.8</td><td width='100%'>c/src/lib/libcpu/arm/mc9328mxl/irq/irq.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libcpu/arm/preinstall.am.diff?r1=text&tr1=1.15&r2=text&tr2=1.16&diff_format=h">M</a></td><td width='1%'>1.16</td><td width='100%'>c/src/lib/libcpu/arm/preinstall.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libcpu/arm/pxa255/clock/clock.c.diff?r1=text&tr1=1.6&r2=text&tr2=1.7&diff_format=h">M</a></td><td width='1%'>1.7</td><td width='100%'>c/src/lib/libcpu/arm/pxa255/clock/clock.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libcpu/arm/pxa255/irq/irq.h.diff?r1=text&tr1=1.4&r2=text&tr2=1.5&diff_format=h">M</a></td><td width='1%'>1.5</td><td width='100%'>c/src/lib/libcpu/arm/pxa255/irq/irq.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libcpu/arm/pxa255/irq/irq.c.diff?r1=text&tr1=1.3&r2=text&tr2=1.4&diff_format=h">M</a></td><td width='1%'>1.4</td><td width='100%'>c/src/lib/libcpu/arm/pxa255/irq/irq.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libcpu/arm/s3c24xx/clock/clockdrv.c.diff?r1=text&tr1=1.5&r2=text&tr2=1.6&diff_format=h">M</a></td><td width='1%'>1.6</td><td width='100%'>c/src/lib/libcpu/arm/s3c24xx/clock/clockdrv.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libcpu/arm/s3c24xx/irq/bsp_irq_asm.S?rev=1.1&content-type=text/vnd.viewcvs-markup">R</a></td><td width='1%'><font color="#880000">1.1</font></td><td width='100%'><font color="#880000">c/src/lib/libcpu/arm/s3c24xx/irq/bsp_irq_asm.S</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libcpu/arm/s3c24xx/irq/bsp_irq_init.c?rev=1.3&content-type=text/vnd.viewcvs-markup">R</a></td><td width='1%'><font color="#880000">1.3</font></td><td width='100%'><font color="#880000">c/src/lib/libcpu/arm/s3c24xx/irq/bsp_irq_init.c</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libcpu/arm/s3c24xx/irq/irq.h.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>c/src/lib/libcpu/arm/s3c24xx/irq/irq.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libcpu/arm/s3c24xx/irq/irq.c.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>c/src/lib/libcpu/arm/s3c24xx/irq/irq.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libcpu/arm/ChangeLog:1.72 rtems/c/src/lib/libcpu/arm/ChangeLog:1.73
--- rtems/c/src/lib/libcpu/arm/ChangeLog:1.72   Fri Apr  9 15:24:55 2010
+++ rtems/c/src/lib/libcpu/arm/ChangeLog        Fri Apr 30 08:15:48 2010
</font><font color='#997700'>@@ -1,3 +1,20 @@
</font><font color='#000088'>+2010-04-30    Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+       * at91rm9200/irq/irq.c, at91rm9200/irq/irq.h, lpc22xx/irq/irq.c,
+       lpc22xx/irq/irq.h, mc9328mxl/irq/irq.c, mc9328mxl/irq/irq.h,
+       pxa255/irq/irq.c, pxa255/irq/irq.h, s3c24xx/irq/irq.c,
+       s3c24xx/irq/irq.h: The previous interrupt warning fix changed the
+       interrupt handler API.  To fix this problem the generic interrupt
+       support framework will be used now.  This eliminates a lot of copy and
+       paste code.  The interrupt header file is now <bsp/irq.h>.
+       * at91rm9200/clock/clock.c, lpc22xx/clock/clockdrv.c,
+       mc9328mxl/clock/clockdrv.c, pxa255/clock/clock.c,
+       s3c24xx/clock/clockdrv.c: Include <bsp/irq.h> instead of <irq.h>.
+       * at91rm9200/irq/bsp_irq_asm.S, at91rm9200/irq/bsp_irq_init.c,
+       mc9328mxl/irq/bsp_irq_asm.S, mc9328mxl/irq/bsp_irq_init.c,
+       s3c24xx/irq/bsp_irq_asm.S, s3c24xx/irq/bsp_irq_init.c: Removed files.
+       * Makefile.am, preinstall.am: Reflect changes above.
+
</font> 2010-04-09        Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
 
        * configure.ac, Makefile.am, at91rm9200/clock/clock.c,

<font color='#006600'>diff -u rtems/c/src/lib/libcpu/arm/Makefile.am:1.19 rtems/c/src/lib/libcpu/arm/Makefile.am:1.20
--- rtems/c/src/lib/libcpu/arm/Makefile.am:1.19 Fri Apr  9 15:24:55 2010
+++ rtems/c/src/lib/libcpu/arm/Makefile.am      Fri Apr 30 08:15:48 2010
</font><font color='#997700'>@@ -10,11 +10,16 @@
</font> 
 noinst_PROGRAMS =
 
<font color='#000088'>+include_bspdir = $(includedir)/bsp
+include_libcpudir = $(includedir)/libcpu
+
+include_bsp_HEADERS =
+include_libcpu_HEADERS =
+
</font> ## shared/include
 if shared
<font color='#880000'>-include_libcpudir = $(includedir)/libcpu
</font> 
<font color='#880000'>-include_libcpu_HEADERS = shared/include/mmu.h
</font><font color='#000088'>+include_libcpu_HEADERS += shared/include/mmu.h
</font> include_libcpu_HEADERS += shared/include/arm-cp15.h
 
 ## shared/arm920
<font color='#997700'>@@ -52,10 +57,9 @@
</font> pxa255_pmc_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
 
 ## pxa255/interrupt
<font color='#880000'>-include_HEADERS += pxa255/irq/irq.h
</font><font color='#000088'>+include_bsp_HEADERS += pxa255/irq/irq.h
</font> noinst_PROGRAMS += pxa255/irq.rel
<font color='#880000'>-pxa255_irq_rel_SOURCES = pxa255/irq/irq.c pxa255/irq/bsp_irq_init.c \
-    ../../libbsp/arm/shared/irq/irq_init.c pxa255/irq/bsp_irq_asm.S \
</font><font color='#000088'>+pxa255_irq_rel_SOURCES = pxa255/irq/irq.c \
</font>     pxa255/irq/irq.h
 pxa255_irq_rel_CPPFLAGS = $(AM_CPPFLAGS)
 pxa255_irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
<font color='#997700'>@@ -98,11 +102,10 @@
</font> at91rm9200_pmc_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
 
 ## at91rm9200/interrupt
<font color='#880000'>-include_HEADERS += at91rm9200/irq/irq.h
</font><font color='#000088'>+include_bsp_HEADERS += at91rm9200/irq/irq.h
</font> 
 noinst_PROGRAMS += at91rm9200/irq.rel
<font color='#880000'>-at91rm9200_irq_rel_SOURCES = at91rm9200/irq/irq.c at91rm9200/irq/bsp_irq_init.c \
-    ../../libbsp/arm/shared/irq/irq_init.c at91rm9200/irq/bsp_irq_asm.S \
</font><font color='#000088'>+at91rm9200_irq_rel_SOURCES = at91rm9200/irq/irq.c \
</font>     at91rm9200/irq/irq.h
 at91rm9200_irq_rel_CPPFLAGS = $(AM_CPPFLAGS)
 at91rm9200_irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
<font color='#997700'>@@ -124,11 +127,10 @@
</font> mc9328mxl_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
 
 ## mc9328mxl/interrupt
<font color='#880000'>-include_HEADERS += mc9328mxl/irq/irq.h
</font><font color='#000088'>+include_bsp_HEADERS += mc9328mxl/irq/irq.h
</font> 
 noinst_PROGRAMS += mc9328mxl/irq.rel
<font color='#880000'>-mc9328mxl_irq_rel_SOURCES = mc9328mxl/irq/irq.c mc9328mxl/irq/bsp_irq_init.c \
-    ../../libbsp/arm/shared/irq/irq_init.c mc9328mxl/irq/bsp_irq_asm.S \
</font><font color='#000088'>+mc9328mxl_irq_rel_SOURCES = mc9328mxl/irq/irq.c \
</font>     mc9328mxl/irq/irq.h
 mc9328mxl_irq_rel_CPPFLAGS = $(AM_CPPFLAGS)
 mc9328mxl_irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
<font color='#997700'>@@ -150,11 +152,10 @@
</font> s3c24xx_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
 
 ## s3c24xx/interrupt
<font color='#880000'>-include_HEADERS += s3c24xx/irq/irq.h
</font><font color='#000088'>+include_bsp_HEADERS += s3c24xx/irq/irq.h
</font> 
 noinst_PROGRAMS += s3c24xx/irq.rel
<font color='#880000'>-s3c24xx_irq_rel_SOURCES = s3c24xx/irq/irq.c s3c24xx/irq/bsp_irq_init.c \
-    ../../libbsp/arm/shared/irq/irq_init.c s3c24xx/irq/bsp_irq_asm.S \
</font><font color='#000088'>+s3c24xx_irq_rel_SOURCES = s3c24xx/irq/irq.c \
</font>     s3c24xx/irq/irq.h
 s3c24xx_irq_rel_CPPFLAGS = $(AM_CPPFLAGS)
 s3c24xx_irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
<font color='#997700'>@@ -176,11 +177,10 @@
</font> lpc22xx_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
 
 ## lpc22xx/interrupt
<font color='#880000'>-include_HEADERS += lpc22xx/irq/irq.h
</font><font color='#000088'>+include_bsp_HEADERS += lpc22xx/irq/irq.h
</font> 
 noinst_PROGRAMS += lpc22xx/irq.rel
<font color='#880000'>-lpc22xx_irq_rel_SOURCES = lpc22xx/irq/irq.c lpc22xx/irq/bsp_irq_init.c \
-    ../../libbsp/arm/shared/irq/irq_init.c lpc22xx/irq/bsp_irq_asm.S \
</font><font color='#000088'>+lpc22xx_irq_rel_SOURCES = lpc22xx/irq/irq.c \
</font>     lpc22xx/irq/irq.h
 lpc22xx_irq_rel_CPPFLAGS = $(AM_CPPFLAGS)
 lpc22xx_irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)

<font color='#006600'>diff -u rtems/c/src/lib/libcpu/arm/at91rm9200/clock/clock.c:1.11 rtems/c/src/lib/libcpu/arm/at91rm9200/clock/clock.c:1.12
--- rtems/c/src/lib/libcpu/arm/at91rm9200/clock/clock.c:1.11    Fri Apr  9 15:24:55 2010
+++ rtems/c/src/lib/libcpu/arm/at91rm9200/clock/clock.c Fri Apr 30 08:15:48 2010
</font><font color='#997700'>@@ -19,7 +19,7 @@
</font> 
 #include <stdlib.h>
 #include <bsp.h>
<font color='#880000'>-#include <irq.h>
</font><font color='#000088'>+#include <bsp/irq.h>
</font> #include <at91rm9200.h>
 #include <at91rm9200_pmc.h>
 

<font color='#006600'>diff -u rtems/c/src/lib/libcpu/arm/at91rm9200/irq/irq.h:1.6 rtems/c/src/lib/libcpu/arm/at91rm9200/irq/irq.h:1.7
--- rtems/c/src/lib/libcpu/arm/at91rm9200/irq/irq.h:1.6 Fri Apr  9 15:24:55 2010
+++ rtems/c/src/lib/libcpu/arm/at91rm9200/irq/irq.h     Fri Apr 30 08:15:49 2010
</font><font color='#997700'>@@ -1,6 +1,8 @@
</font> /*
  * Interrupt handler Header file
  *
<font color='#000088'>+ * Copyright (c) 2010 embedded brains GmbH.
+ *
</font>  * Copyright (c) 2004 by Jay Monkman <jtm@lopingdog.com>
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -15,24 +17,14 @@
</font> #ifndef __IRQ_H__
 #define __IRQ_H__
 
<font color='#880000'>-#ifdef __cplusplus
-extern "C" {
-#endif
-
</font> #ifndef __asm__
 
<font color='#880000'>-/*
- * Include some preprocessor value also used by assember code
- */
-
-#include <rtems/irq.h>
</font> #include <rtems.h>
<font color='#880000'>-#include <at91rm9200.h>
</font><font color='#000088'>+#include <rtems/irq.h>
+#include <rtems/irq-extension.h>
+
+#endif /* __asm__ */
</font> 
<font color='#880000'>-extern void default_int_handler(rtems_irq_hdl_param unused);
-/***********************************************************************
- * Constants
- **********************************************************************/
</font> /* possible interrupt sources on the AT91RM9200 */
 #define AT91RM9200_INT_FIQ        0
 #define AT91RM9200_INT_SYSIRQ     1
<font color='#997700'>@@ -68,20 +60,8 @@
</font> #define AT91RM9200_INT_IRQ6      31
 #define AT91RM9200_MAX_INT       32
 
<font color='#880000'>-/* vector table used by shared/irq_init.c */
-/* we can treat the AT91RM9200 AIC_SVR_BASE as */
-/* a vector table */
-#define VECTOR_TABLE AIC_SVR_BASE
-
-/*
- * function to initialize the interrupt for a specific BSP
- */
-void BSP_rtems_irq_mngt_init();
-
-#endif /* __asm__ */
</font><font color='#000088'>+#define BSP_INTERRUPT_VECTOR_MIN 0
</font> 
<font color='#880000'>-#ifdef __cplusplus
-}
-#endif
</font><font color='#000088'>+#define BSP_INTERRUPT_VECTOR_MAX (AT91RM9200_MAX_INT - 1)
</font> 
 #endif /* __IRQ_H__ */

<font color='#006600'>diff -u rtems/c/src/lib/libcpu/arm/at91rm9200/irq/irq.c:1.5 rtems/c/src/lib/libcpu/arm/at91rm9200/irq/irq.c:1.6
--- rtems/c/src/lib/libcpu/arm/at91rm9200/irq/irq.c:1.5 Sun Nov 29 22:58:24 2009
+++ rtems/c/src/lib/libcpu/arm/at91rm9200/irq/irq.c     Fri Apr 30 08:15:49 2010
</font><font color='#997700'>@@ -1,6 +1,8 @@
</font> /*
  * Atmel AT91RM9200 Interrupt handler
  *
<font color='#000088'>+ * Copyright (c) 2010 embedded brains GmbH.
+ *
</font>  * Copyright (c) 2004 by Jay Monkman <jtm@lopingdog.com>
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -10,106 +12,47 @@
</font>  *
  *  $Id$
  */
<font color='#000088'>+
</font> #include <bsp.h>
<font color='#880000'>-#include <irq.h>
-#include <rtems/score/thread.h>
-#include <rtems/score/apiext.h>
</font><font color='#000088'>+#include <bsp/irq.h>
+#include <bsp/irq-generic.h>
+
</font> #include <at91rm9200.h>
 
<font color='#880000'>-/*
- * This function check that the value given for the irq line
- * is valid.
- */
-static int isValidInterrupt(int irq)
</font><font color='#000088'>+void bsp_interrupt_dispatch(void)
</font> {
<font color='#880000'>-    if ( (irq < 0) || (irq >= AT91RM9200_MAX_INT)) {
-        return 0;
-    }
-    return 1;
</font><font color='#000088'>+  rtems_vector_number vector = AIC_CTL_REG(AIC_ISR);
+
+  bsp_interrupt_handler_dispatch(vector);
+
+  AIC_CTL_REG(AIC_EOICR) = 0;
</font> }
 
<font color='#880000'>-/*
- * Installs the interrupt handler.
- */
-int BSP_install_rtems_irq_handler  (const rtems_irq_connect_data* irq)
</font><font color='#000088'>+rtems_status_code bsp_interrupt_vector_enable(rtems_vector_number vector)
</font> {
<font color='#880000'>-    rtems_interrupt_level level;
</font><font color='#000088'>+  AIC_CTL_REG(AIC_IECR) = 1 << vector;
</font> 
<font color='#880000'>-    if (!isValidInterrupt(irq->name)) {
-        return 0;
-    }
-
-    /*
-     * Check if default handler is actually connected. If not, issue
-     * an error. Note: irq->name is a number corresponding to the
-     * sources PID (see the at91rm9200_pid for this mapping).  We
-     * convert it to a long word offset to get source's vector register
-     */
-    if (AIC_SVR_REG(irq->name * 4) != (uint32_t) default_int_handler) {
-        return 0;
-    }
-
-    rtems_interrupt_disable(level);
-
-    /*
-     * store the new handler
-     */
-    AIC_SVR_REG(irq->name * 4) = (uint32_t) irq->hdl;
-
-    /*
-     * unmask interrupt
-     */
-    AIC_CTL_REG(AIC_IECR) = 1 << irq->name;
-
-    /*
-     * Enable interrupt on device
-     */
-    if(irq->on) {
-        irq->on(irq);
-    }
</font><font color='#000088'>+  return RTEMS_SUCCESSFUL;
+}
</font> 
<font color='#880000'>-    rtems_interrupt_enable(level);
</font><font color='#000088'>+rtems_status_code bsp_interrupt_vector_disable(rtems_vector_number vector)
+{
+  AIC_CTL_REG(AIC_IDCR) = 1 << vector;
</font> 
<font color='#880000'>-    return 1;
</font><font color='#000088'>+  return RTEMS_SUCCESSFUL;
</font> }
 
<font color='#880000'>-/*
- * Remove and interrupt handler
- */
-int BSP_remove_rtems_irq_handler  (const rtems_irq_connect_data* irq)
</font><font color='#000088'>+rtems_status_code bsp_interrupt_facility_initialize(void)
</font> {
<font color='#880000'>-    rtems_interrupt_level level;
</font><font color='#000088'>+  /* disable all interrupts */
+  AIC_CTL_REG(AIC_IDCR) = 0xffffffff;
</font> 
<font color='#880000'>-    if (!isValidInterrupt(irq->name)) {
-        return 0;
-    }
-
-    /*
-     * Check if the handler is actually connected. If not, issue an error.
-     */
-    if (AIC_SVR_REG(irq->name * 4) != (uint32_t) irq->hdl) {
-      return 0;
-    }
-    rtems_interrupt_disable(level);
-
-    /*
-     * mask interrupt
-     */
-    AIC_CTL_REG(AIC_IDCR) = 1 << irq->name;
-
-    /*
-     * Disable interrupt on device
-     */
-    if(irq->off) {
-        irq->off(irq);
-    }
-
-    /*
-     * restore the default irq value
-     */
-    AIC_SVR_REG(irq->name * 4) = (uint32_t) default_int_handler;
</font><font color='#000088'>+  _CPU_ISR_install_vector(ARM_EXCEPTION_IRQ, arm_exc_interrupt, NULL);
</font> 
<font color='#880000'>-    rtems_interrupt_enable(level);
</font><font color='#000088'>+  return RTEMS_SUCCESSFUL;
+}
</font> 
<font color='#880000'>-    return 1;
</font><font color='#000088'>+void bsp_interrupt_handler_default(rtems_vector_number vector)
+{
+  printk("spurious interrupt: %u\n", vector);
</font> }

<font color='#006600'>diff -u rtems/c/src/lib/libcpu/arm/lpc22xx/clock/clockdrv.c:1.9 rtems/c/src/lib/libcpu/arm/lpc22xx/clock/clockdrv.c:1.10
--- rtems/c/src/lib/libcpu/arm/lpc22xx/clock/clockdrv.c:1.9     Fri Apr  9 15:24:55 2010
+++ rtems/c/src/lib/libcpu/arm/lpc22xx/clock/clockdrv.c Fri Apr 30 08:15:49 2010
</font><font color='#997700'>@@ -16,7 +16,7 @@
</font> */
 #include <rtems.h>
 #include <bsp.h>
<font color='#880000'>-#include <irq.h>
</font><font color='#000088'>+#include <bsp/irq.h>
</font> #include <lpc22xx.h>
 #include <rtems/bspIo.h>  /* for printk */
 

<font color='#006600'>diff -u rtems/c/src/lib/libcpu/arm/lpc22xx/irq/irq.h:1.6 rtems/c/src/lib/libcpu/arm/lpc22xx/irq/irq.h:1.7
--- rtems/c/src/lib/libcpu/arm/lpc22xx/irq/irq.h:1.6    Fri Apr  9 15:24:55 2010
+++ rtems/c/src/lib/libcpu/arm/lpc22xx/irq/irq.h        Fri Apr 30 08:15:49 2010
</font><font color='#997700'>@@ -1,6 +1,8 @@
</font> /*
  * Interrupt handler Header file
  *
<font color='#000088'>+ * Copyright (c) 2010 embedded brains GmbH.
+ *
</font>  * Copyright (c) 2006 by Ray <rayx.cn@gmail.com> to support LPC ARM
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -15,25 +17,13 @@
</font> #ifndef __IRQ_H__
 #define __IRQ_H__
 
<font color='#880000'>-#ifdef __cplusplus
-extern "C" {
-#endif
-
-  /* define that can be useful (the values are just examples) */
</font> #ifndef __asm__
 
<font color='#880000'>-/*
- * Include some preprocessor value also used by assember code
- */
-#include <rtems/irq.h>
</font> #include <rtems.h>
<font color='#880000'>-#include <lpc22xx.h>
-
-extern void default_int_handler(rtems_irq_hdl_param unused);
</font><font color='#000088'>+#include <rtems/irq.h>
+#include <rtems/irq-extension.h>
</font> 
<font color='#880000'>-/***********************************************************************
- * Constants
- **********************************************************************/
</font><font color='#000088'>+#endif /* __asm__ */
</font> 
 /* possible interrupt sources on the LPC22xx */
 #define LPC22xx_INTERRUPT_WDINT         0      /* Watchdog int. 0 */
<font color='#997700'>@@ -67,6 +57,10 @@
</font> #define LPC22xx_INTERRUPT_CAN4RX 27       /* CAN2 Rx interrupt */
 #define BSP_MAX_INT              28
 
<font color='#000088'>+#define BSP_INTERRUPT_VECTOR_MIN 0
+
+#define BSP_INTERRUPT_VECTOR_MAX (BSP_MAX_INT - 1)
+
</font> #define UNDEFINED_INSTRUCTION_VECTOR_ADDR   (*(u_long *)0x00000004L)
 #define SOFTWARE_INTERRUPT_VECTOR_ADDR      (*(u_long *)0x00000008L)
 #define PREFETCH_ABORT_VECTOR_ADDR          (*(u_long *)0x0000000CL)
<font color='#997700'>@@ -78,20 +72,4 @@
</font> #define IRQ_ISR_ADDR                        (*(u_long *)0x00000038L)
 #define FIQ_ISR_ADDR                        (*(u_long *)0x0000003CL)
 
<font color='#880000'>-
-//extern rtems_irq_hdl bsp_vector_table[BSP_MAX_INT];
-#define VECTOR_TABLE VICVectAddrBase
-
-
-/*
- * function to initialize the interrupt for a specific BSP
- */
-void BSP_rtems_irq_mngt_init(void);
-
-#endif /* __asm__ */
-
-#ifdef __cplusplus
-}
-#endif
-
</font> #endif /* __IRQ_H__ */

<font color='#006600'>diff -u rtems/c/src/lib/libcpu/arm/lpc22xx/irq/irq.c:1.6 rtems/c/src/lib/libcpu/arm/lpc22xx/irq/irq.c:1.7
--- rtems/c/src/lib/libcpu/arm/lpc22xx/irq/irq.c:1.6    Sun Nov 29 22:59:43 2009
+++ rtems/c/src/lib/libcpu/arm/lpc22xx/irq/irq.c        Fri Apr 30 08:15:49 2010
</font><font color='#997700'>@@ -1,6 +1,8 @@
</font> /*
  * Philps LPC22XX Interrupt handler
  *
<font color='#000088'>+ * Copyright (c) 2010 embedded brains GmbH.
+ *
</font>  * Copyright (c)  2006 by Ray<rayx.cn@gmail.com>  to support LPC ARM
  *  The license and distribution terms for this file may be
  *  found in the file LICENSE in this distribution or at
<font color='#997700'>@@ -9,117 +11,68 @@
</font>  *
  *  $Id$
  */
<font color='#000088'>+
</font> #include <bsp.h>
<font color='#880000'>-#include <irq.h>
-#include <rtems/score/thread.h>
-#include <rtems/score/apiext.h>
</font><font color='#000088'>+#include <bsp/irq.h>
+#include <bsp/irq-generic.h>
+
</font> #include <lpc22xx.h>
 
<font color='#880000'>-/*
- * This function check that the value given for the irq line
- * is valid.
- */
-static int isValidInterrupt(int irq)
</font><font color='#000088'>+void bsp_interrupt_dispatch(void)
</font> {
<font color='#880000'>-  if ( (irq < 0) || (irq >= BSP_MAX_INT))
-    return 0;
-  return 1;
</font><font color='#000088'>+  rtems_vector_number vector = 31 - __builtin_clz(VICIRQStatus);
+
+  bsp_interrupt_handler_dispatch(vector);
+
+  VICVectAddr = 0;
</font> }
 
<font color='#880000'>-/*
- * Installs the interrupt handler.
- *
- * You should only have to add the code to unmask the interrupt.
- *
- */
-int BSP_install_rtems_irq_handler  (const rtems_irq_connect_data* irq)
</font><font color='#000088'>+rtems_status_code bsp_interrupt_vector_enable(rtems_vector_number vector)
</font> {
<font color='#880000'>-    rtems_interrupt_level level;
-    rtems_irq_hdl        *bsp_tbl;
-    int                  *vic_cntl;
</font><font color='#000088'>+  VICIntEnable |= 1 << vector;
</font> 
<font color='#880000'>-    bsp_tbl = (rtems_irq_hdl *)VICVectAddrBase;
</font><font color='#000088'>+  return RTEMS_SUCCESSFUL;
+}
</font> 
<font color='#880000'>-    vic_cntl=(int *)VICVectCntlBase;
</font><font color='#000088'>+rtems_status_code bsp_interrupt_vector_disable(rtems_vector_number vector)
+{
+  VICIntEnClr = 1 << vector;
</font> 
<font color='#880000'>-    if (!isValidInterrupt(irq->name)) {
-      return 0;
-    }
</font><font color='#000088'>+  return RTEMS_SUCCESSFUL;
+}
</font> 
<font color='#880000'>-    /*
-     * Check if default handler is actually connected. If not issue an error.
-     */
</font><font color='#000088'>+rtems_status_code bsp_interrupt_facility_initialize(void)
+{
+  volatile uint32_t *ctrl = (volatile uint32_t *) VICVectCntlBase;
+  size_t i = 0;
</font> 
<font color='#880000'>-    if (bsp_tbl[irq->name] != default_int_handler) {
-      return 0;
-    }
</font><font color='#000088'>+  /* Disable all interrupts */
+  VICIntEnClr = 0xffffffff;
</font> 
<font color='#880000'>-    rtems_interrupt_disable(level);
</font><font color='#000088'>+  /* Use IRQ category */
+  VICIntSelect = 0;
</font> 
<font color='#880000'>-    /*
-     * store the new handler
-     */
-    bsp_tbl[irq->name] = irq->hdl;
-    /* *(volatile unsigned long*)(VICVectAddr0+(irq->name * 4)&0x7c )= (uint32_t) irq->hdl;*/
-    /*
-     * Enable interrupt on device
-     */
-    vic_cntl[irq->name] = 0x20 | irq->name;
</font><font color='#000088'>+  /* Enable access in USER mode */
+  VICProtection = 0;
</font> 
<font color='#880000'>-    VICIntEnable |= 1 << irq->name;
</font><font color='#000088'>+  for (i = 0; i < 16; ++i) {
+    /* Disable vector mode */
+    ctrl [i] = 0;
</font> 
<font color='#880000'>-    if(irq->on)
-    {
-<span style="background-color: #FF0000">    </span>      irq->on(irq);
-    }
</font><font color='#000088'>+    /* Acknowledge interrupts for all priorities */
+    VICVectAddr = 0;
+  }
</font> 
<font color='#000088'>+  /* Acknowledge interrupts for all priorities */
+  VICVectAddr = 0;
</font> 
<font color='#880000'>-    rtems_interrupt_enable(level);
</font><font color='#000088'>+  /* Install the IRQ exception handler */
+  _CPU_ISR_install_vector(ARM_EXCEPTION_IRQ, arm_exc_interrupt, NULL);
</font> 
<font color='#880000'>-    return 1;
</font><font color='#000088'>+  return RTEMS_SUCCESSFUL;
</font> }
 
<font color='#880000'>-/*
- * Remove and interrupt handler
- *
- * You should only have to add the code to mask the interrupt.
- *
- */
-int BSP_remove_rtems_irq_handler  (const rtems_irq_connect_data* irq)
</font><font color='#000088'>+void bsp_interrupt_handler_default(rtems_vector_number vector)
</font> {
<font color='#880000'>-    rtems_interrupt_level level;
-    rtems_irq_hdl        *bsp_tbl;
-
-    bsp_tbl = (rtems_irq_hdl *)&VICVectAddr0;
-
-    if (!isValidInterrupt(irq->name)) {
-      return 0;
-    }
-    /*
-     * Check if the handler is actually connected. If not issue an error.
-     */
-    if (bsp_tbl[irq->name] != irq->hdl) {
-      return 0;
-    }
-
-    rtems_interrupt_disable(level);
-
-    VICIntEnClr = 1 << irq->name;
-
-    /*
-     * Disable interrupt on device
-     */
-    if(irq->off) {
-        irq->off(irq);
-    }
-    /*
-     * restore the default irq value
-     */
-    bsp_tbl[irq->name] = default_int_handler;
-
-    rtems_interrupt_enable(level);
-
-    return 1;
</font><font color='#000088'>+  printk("spurious interrupt: %u\n", vector);
</font> }
<font color='#880000'>-
-
</font>
<font color='#006600'>diff -u rtems/c/src/lib/libcpu/arm/mc9328mxl/clock/clockdrv.c:1.8 rtems/c/src/lib/libcpu/arm/mc9328mxl/clock/clockdrv.c:1.9
--- rtems/c/src/lib/libcpu/arm/mc9328mxl/clock/clockdrv.c:1.8   Sun Nov 29 23:03:56 2009
+++ rtems/c/src/lib/libcpu/arm/mc9328mxl/clock/clockdrv.c       Fri Apr 30 08:15:49 2010
</font><font color='#997700'>@@ -17,7 +17,7 @@
</font> */
 #include <rtems.h>
 #include <bsp.h>
<font color='#880000'>-#include <irq.h>
</font><font color='#000088'>+#include <bsp/irq.h>
</font> #include <mc9328mxl.h>
 #include <rtems/bspIo.h>  /* for printk */
 

<font color='#006600'>diff -u rtems/c/src/lib/libcpu/arm/mc9328mxl/irq/irq.h:1.8 rtems/c/src/lib/libcpu/arm/mc9328mxl/irq/irq.h:1.9
--- rtems/c/src/lib/libcpu/arm/mc9328mxl/irq/irq.h:1.8  Fri Apr  9 15:24:55 2010
+++ rtems/c/src/lib/libcpu/arm/mc9328mxl/irq/irq.h      Fri Apr 30 08:15:49 2010
</font><font color='#997700'>@@ -1,6 +1,8 @@
</font> /*
  * Interrupt handler Header file
  *
<font color='#000088'>+ * Copyright (c) 2010 embedded brains GmbH.
+ *
</font>  * Copyright (c) 2004 by Jay Monkman <jtm@lopingdog.com>
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -15,26 +17,13 @@
</font> #ifndef __IRQ_H__
 #define __IRQ_H__
 
<font color='#880000'>-#include <rtems/irq.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-  /* define that can be useful (the values are just examples) */
</font> #ifndef __asm__
 
<font color='#880000'>-/*
- * Include some preprocessor value also used by assember code
- */
-
</font> #include <rtems.h>
<font color='#880000'>-#include <mc9328mxl.h>
</font><font color='#000088'>+#include <rtems/irq.h>
+#include <rtems/irq-extension.h>
</font> 
<font color='#880000'>-extern void default_int_handler(rtems_irq_hdl_param);
-/***********************************************************************
- * Constants
- **********************************************************************/
</font><font color='#000088'>+#endif /* __asm__ */
</font> 
 /* possible interrupt sources on the MC9328MXL */
 #define BSP_INT_UART3_PFERR       0
<font color='#997700'>@@ -103,24 +92,8 @@
</font> #define BSP_INT_WDT              63
 #define BSP_MAX_INT              64
 
<font color='#880000'>-typedef struct {
-    rtems_irq_hdl       vector;
-    rtems_irq_hdl_param data;
-} mc9328mxl_irq_info_t;
-
-
-
-extern mc9328mxl_irq_info_t bsp_vector_table[BSP_MAX_INT];
-
-/*
- * function to initialize the interrupt for a specific BSP
- */
-void BSP_rtems_irq_mngt_init(void);
-
-#endif /* __asm__ */
</font><font color='#000088'>+#define BSP_INTERRUPT_VECTOR_MIN 0
</font> 
<font color='#880000'>-#ifdef __cplusplus
-}
-#endif
</font><font color='#000088'>+#define BSP_INTERRUPT_VECTOR_MAX (BSP_MAX_INT - 1)
</font> 
 #endif /* __IRQ_H__ */

<font color='#006600'>diff -u rtems/c/src/lib/libcpu/arm/mc9328mxl/irq/irq.c:1.7 rtems/c/src/lib/libcpu/arm/mc9328mxl/irq/irq.c:1.8
--- rtems/c/src/lib/libcpu/arm/mc9328mxl/irq/irq.c:1.7  Sun Nov 29 23:03:56 2009
+++ rtems/c/src/lib/libcpu/arm/mc9328mxl/irq/irq.c      Fri Apr 30 08:15:49 2010
</font><font color='#997700'>@@ -1,6 +1,8 @@
</font> /*
  * Motorola MC9328MXL Interrupt handler
  *
<font color='#000088'>+ * Copyright (c) 2010 embedded brains GmbH.
+ *
</font>  * Copyright (c) 2004 by Jay Monkman <jtm@lopingdog.com>
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -10,105 +12,39 @@
</font>  *
  *  $Id$
  */
<font color='#000088'>+
</font> #include <bsp.h>
<font color='#880000'>-#include <irq.h>
-#include <rtems/score/thread.h>
-#include <rtems/score/apiext.h>
-#include <mc9328mxl.h>
</font><font color='#000088'>+#include <bsp/irq.h>
+#include <bsp/irq-generic.h>
</font> 
<font color='#880000'>-mc9328mxl_irq_info_t bsp_vector_table[BSP_MAX_INT];
</font><font color='#000088'>+#include <mc9328mxl.h>
</font> 
<font color='#880000'>-/*
- * This function check that the value given for the irq line
- * is valid.
- */
-static int isValidInterrupt(int irq)
</font><font color='#000088'>+void bsp_interrupt_dispatch(void)
</font> {
<font color='#880000'>-  if ( (irq < 0) || (irq >= BSP_MAX_INT))
-    return 0;
-  return 1;
</font><font color='#000088'>+  rtems_vector_number vector = *((uint32_t *) 0x00223040) >> 16;
+
+  bsp_interrupt_handler_dispatch(vector);
</font> }
 
<font color='#880000'>-/*
- * Installs the interrupt handler.
- *
- * You should only have to add the code to unmask the interrupt.
- *
- */
-int BSP_install_rtems_irq_handler  (const rtems_irq_connect_data* irq)
</font><font color='#000088'>+rtems_status_code bsp_interrupt_vector_enable(rtems_vector_number vector)
</font> {
<font color='#880000'>-    rtems_interrupt_level level;
-
-    if (!isValidInterrupt(irq->name)) {
-      return 0;
-    }
-
-    /*
-     * Check if default handler is actually connected. If not issue an error.
-     */
-    if (bsp_vector_table[irq->name].vector != default_int_handler) {
-        return 0;
-    }
-
-    rtems_interrupt_disable(level);
-
-    /*
-     * store the new handler
-     */
-    bsp_vector_table[irq->name].vector = irq->hdl;
-    bsp_vector_table[irq->name].data = irq->handle;
-
-    /*
-     * Enable interrupt on device
-     */
-    if(irq->on)
-    {
-<span style="background-color: #FF0000">    </span>      irq->on(irq);
-    }
-
-    rtems_interrupt_enable(level);
-
-    return 1;
</font><font color='#000088'>+  return RTEMS_SUCCESSFUL;
</font> }
 
<font color='#880000'>-/*
- * Remove and interrupt handler
- *
- * You should only have to add the code to mask the interrupt.
- *
- */
-int BSP_remove_rtems_irq_handler  (const rtems_irq_connect_data* irq)
</font><font color='#000088'>+rtems_status_code bsp_interrupt_vector_disable(rtems_vector_number vector)
</font> {
<font color='#880000'>-    rtems_interrupt_level level;
</font><font color='#000088'>+  return RTEMS_SUCCESSFUL;
+}
</font> 
<font color='#880000'>-    if (!isValidInterrupt(irq->name)) {
-      return 0;
-    }
-    /*
-     * Check if the handler is actually connected. If not issue an error.
-     */
-    if (bsp_vector_table[irq->name].vector != irq->hdl) {
-        return 0;
-    }
-
-    rtems_interrupt_disable(level);
-
-
-    /*
-     * Disable interrupt on device
-     */
-    if(irq->off) {
-        irq->off(irq);
-    }
-    /*
-     * restore the default irq value
-     */
-    bsp_vector_table[irq->name].vector = default_int_handler;
-    bsp_vector_table[irq->name].data = NULL;
</font><font color='#000088'>+rtems_status_code bsp_interrupt_facility_initialize(void)
+{
</font> 
<font color='#880000'>-    rtems_interrupt_enable(level);
</font><font color='#000088'>+  _CPU_ISR_install_vector(ARM_EXCEPTION_IRQ, arm_exc_interrupt, NULL);
</font> 
<font color='#880000'>-    return 1;
</font><font color='#000088'>+  return RTEMS_SUCCESSFUL;
</font> }
 
<font color='#880000'>-
</font><font color='#000088'>+void bsp_interrupt_handler_default(rtems_vector_number vector)
+{
+  printk("spurious interrupt: %u\n", vector);
+}
</font>
<font color='#006600'>diff -u rtems/c/src/lib/libcpu/arm/preinstall.am:1.15 rtems/c/src/lib/libcpu/arm/preinstall.am:1.16
--- rtems/c/src/lib/libcpu/arm/preinstall.am:1.15       Fri Apr  9 15:24:55 2010
+++ rtems/c/src/lib/libcpu/arm/preinstall.am    Fri Apr 30 08:15:48 2010
</font><font color='#997700'>@@ -18,12 +18,17 @@
</font>   @: > $(PROJECT_INCLUDE)/$(dirstamp)
 PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
 
<font color='#880000'>-if shared
</font><font color='#000088'>+$(PROJECT_INCLUDE)/bsp/$(dirstamp):
+       @$(MKDIR_P) $(PROJECT_INCLUDE)/bsp
+       @: > $(PROJECT_INCLUDE)/bsp/$(dirstamp)
+PREINSTALL_DIRS += $(PROJECT_INCLUDE)/bsp/$(dirstamp)
+
</font> $(PROJECT_INCLUDE)/libcpu/$(dirstamp):
        @$(MKDIR_P) $(PROJECT_INCLUDE)/libcpu
        @: > $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
 PREINSTALL_DIRS += $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
 
<font color='#000088'>+if shared
</font> $(PROJECT_INCLUDE)/libcpu/mmu.h: shared/include/mmu.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/mmu.h
 PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/mmu.h
<font color='#997700'>@@ -41,9 +46,9 @@
</font>   $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/ffuart.h
 PREINSTALL_FILES += $(PROJECT_INCLUDE)/ffuart.h
 
<font color='#880000'>-$(PROJECT_INCLUDE)/irq.h: pxa255/irq/irq.h $(PROJECT_INCLUDE)/$(dirstamp)
-       $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/irq.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/irq.h
</font><font color='#000088'>+$(PROJECT_INCLUDE)/bsp/irq.h: pxa255/irq/irq.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
+       $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/irq.h
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/irq.h
</font> endif
 if at91rm9200
 $(PROJECT_INCLUDE)/at91rm9200.h: at91rm9200/include/at91rm9200.h $(PROJECT_INCLUDE)/$(dirstamp)
<font color='#997700'>@@ -78,18 +83,18 @@
</font>   $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/at91rm9200_usart.h
 PREINSTALL_FILES += $(PROJECT_INCLUDE)/at91rm9200_usart.h
 
<font color='#880000'>-$(PROJECT_INCLUDE)/irq.h: at91rm9200/irq/irq.h $(PROJECT_INCLUDE)/$(dirstamp)
-       $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/irq.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/irq.h
</font><font color='#000088'>+$(PROJECT_INCLUDE)/bsp/irq.h: at91rm9200/irq/irq.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
+       $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/irq.h
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/irq.h
</font> endif
 if mc9328mxl
 $(PROJECT_INCLUDE)/mc9328mxl.h: mc9328mxl/include/mc9328mxl.h $(PROJECT_INCLUDE)/$(dirstamp)
        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/mc9328mxl.h
 PREINSTALL_FILES += $(PROJECT_INCLUDE)/mc9328mxl.h
 
<font color='#880000'>-$(PROJECT_INCLUDE)/irq.h: mc9328mxl/irq/irq.h $(PROJECT_INCLUDE)/$(dirstamp)
-       $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/irq.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/irq.h
</font><font color='#000088'>+$(PROJECT_INCLUDE)/bsp/irq.h: mc9328mxl/irq/irq.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
+       $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/irq.h
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/irq.h
</font> endif
 if s3c24xx
 $(PROJECT_INCLUDE)/s3c24xx.h: s3c24xx/include/s3c24xx.h $(PROJECT_INCLUDE)/$(dirstamp)
<font color='#997700'>@@ -104,16 +109,16 @@
</font>   $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/s3c2410.h
 PREINSTALL_FILES += $(PROJECT_INCLUDE)/s3c2410.h
 
<font color='#880000'>-$(PROJECT_INCLUDE)/irq.h: s3c24xx/irq/irq.h $(PROJECT_INCLUDE)/$(dirstamp)
-       $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/irq.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/irq.h
</font><font color='#000088'>+$(PROJECT_INCLUDE)/bsp/irq.h: s3c24xx/irq/irq.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
+       $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/irq.h
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/irq.h
</font> endif
 if lpc22xx
 $(PROJECT_INCLUDE)/lpc22xx.h: lpc22xx/include/lpc22xx.h $(PROJECT_INCLUDE)/$(dirstamp)
        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/lpc22xx.h
 PREINSTALL_FILES += $(PROJECT_INCLUDE)/lpc22xx.h
 
<font color='#880000'>-$(PROJECT_INCLUDE)/irq.h: lpc22xx/irq/irq.h $(PROJECT_INCLUDE)/$(dirstamp)
-       $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/irq.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/irq.h
</font><font color='#000088'>+$(PROJECT_INCLUDE)/bsp/irq.h: lpc22xx/irq/irq.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
+       $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/irq.h
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/irq.h
</font> endif

<font color='#006600'>diff -u rtems/c/src/lib/libcpu/arm/pxa255/clock/clock.c:1.6 rtems/c/src/lib/libcpu/arm/pxa255/clock/clock.c:1.7
--- rtems/c/src/lib/libcpu/arm/pxa255/clock/clock.c:1.6 Fri Apr  9 15:24:56 2010
+++ rtems/c/src/lib/libcpu/arm/pxa255/clock/clock.c     Fri Apr 30 08:15:49 2010
</font><font color='#997700'>@@ -18,7 +18,7 @@
</font> #include <stdlib.h>
 #include <bsp.h>
 #include <bspopts.h>
<font color='#880000'>-#include <irq.h>
</font><font color='#000088'>+#include <bsp/irq.h>
</font> #include <pxa255.h>
 
 #if ON_SKYEYE==1

<font color='#006600'>diff -u rtems/c/src/lib/libcpu/arm/pxa255/irq/irq.h:1.4 rtems/c/src/lib/libcpu/arm/pxa255/irq/irq.h:1.5
--- rtems/c/src/lib/libcpu/arm/pxa255/irq/irq.h:1.4     Fri Apr  9 15:24:56 2010
+++ rtems/c/src/lib/libcpu/arm/pxa255/irq/irq.h Fri Apr 30 08:15:49 2010
</font><font color='#997700'>@@ -1,4 +1,6 @@
</font> /*
<font color='#000088'>+ * Copyright (c) 2010 embedded brains GmbH.
+ *
</font>  * Interrupt handler Header file for PXA By Yang Xi <hiyangxi@gmail.com>
  * Copyright (c) 2004 by Jay Monkman <jtm@lopingdog.com>
  *
<font color='#997700'>@@ -12,30 +14,18 @@
</font> #ifndef __IRQ_H__
 #define __IRQ_H__
 
<font color='#880000'>-#ifdef __cplusplus
-extern "C" {
-#endif
-
</font> #ifndef __asm__
 
<font color='#880000'>-/*
- * Include some preprocessor value also used by assember code
- */
-
-#include <rtems/irq.h>
</font> #include <rtems.h>
<font color='#000088'>+#include <rtems/irq.h>
+#include <rtems/irq-extension.h>
+
</font> #include <pxa255.h>
 
<font color='#880000'>-extern void default_int_handler(rtems_irq_hdl_param unused);
-extern void (*IRQ_table[PRIMARY_IRQS])(rtems_irq_hdl_param param);
-extern void dummy_handler(rtems_irq_hdl_param unused);
</font><font color='#000088'>+#define BSP_INTERRUPT_VECTOR_MIN 0
</font> 
<font color='#880000'>-extern void BSP_rtems_irq_mngt_init(void);
</font><font color='#000088'>+#define BSP_INTERRUPT_VECTOR_MAX (PRIMARY_IRQS - 1)
</font> 
 #endif /* __asm__ */
 
<font color='#880000'>-#ifdef __cplusplus
-}
-#endif
-
</font> #endif /* __IRQ_H__ */

<font color='#006600'>diff -u rtems/c/src/lib/libcpu/arm/pxa255/irq/irq.c:1.3 rtems/c/src/lib/libcpu/arm/pxa255/irq/irq.c:1.4
--- rtems/c/src/lib/libcpu/arm/pxa255/irq/irq.c:1.3     Sun Nov 29 23:02:23 2009
+++ rtems/c/src/lib/libcpu/arm/pxa255/irq/irq.c Fri Apr 30 08:15:49 2010
</font><font color='#997700'>@@ -1,4 +1,6 @@
</font> /*
<font color='#000088'>+ * Copyright (c) 2010 embedded brains GmbH.
+ *
</font>  * PXA255 Interrupt handler by Yang Xi <hiyangxi@gmail.com>
  * Copyright (c) 2004 by Jay Monkman <jtm@lopingdog.com>
  *
<font color='#997700'>@@ -8,108 +10,49 @@
</font>  *
  *  $Id$
  */
<font color='#000088'>+
</font> #include <bsp.h>
<font color='#880000'>-#include <irq.h>
-#include <rtems/score/thread.h>
-#include <rtems/score/apiext.h>
</font><font color='#000088'>+#include <bsp/irq.h>
+#include <bsp/irq-generic.h>
+
</font> #include <pxa255.h>
 
<font color='#880000'>-/*
- * This function check that the value given for the irq line
- * is valid.
- */
-static int isValidInterrupt(int irq)
</font><font color='#000088'>+void bsp_interrupt_dispatch(void)
</font> {
<font color='#880000'>-    if ( (irq < 0) || (irq >= PRIMARY_IRQS)) {
-        return 0;
-    }
-    return 1;
</font><font color='#000088'>+  rtems_vector_number vector = 31 - __builtin_clz(XSCALE_INT_ICIP);
+
+  bsp_interrupt_handler_dispatch(vector);
</font> }
 
<font color='#880000'>-/*
- * Installs the interrupt handler.
- */
-int BSP_install_rtems_irq_handler  (const rtems_irq_connect_data* irq)
</font><font color='#000088'>+rtems_status_code bsp_interrupt_vector_enable(rtems_vector_number vector)
</font> {
<font color='#880000'>-    rtems_interrupt_level level;
-
-    if (!isValidInterrupt(irq->name)) {
-        return 0;
-    }
-
-    /*
-     * Check if default handler is actually connected. If not, issue
-     * an error. Note: irq->name is a number corresponding to the
-     * interrupt number .  We
-     * convert it to a long word offset to get source's vector register
-     */
-        if (IRQ_table[irq->name] != dummy_handler) {
-        return 0;
-       }
-
-    _CPU_ISR_Disable(level);
-
-    /*
-     * store the new handler
-     */
-    IRQ_table[irq->name] = irq->hdl;
-
-    /*
-     * unmask interrupt
-     */
-    XSCALE_INT_ICMR = XSCALE_INT_ICMR | 1 << irq->name;
-
</font><font color='#000088'>+  XSCALE_INT_ICMR |= 1 << vector;
</font> 
<font color='#000088'>+  return RTEMS_SUCCESSFUL;
+}
</font> 
<font color='#880000'>-    /*
-     * Enable interrupt on device
-     */
-    if(irq->on) {
-        irq->on(irq);
-    }
-
-    _CPU_ISR_Enable(level);
</font><font color='#000088'>+rtems_status_code bsp_interrupt_vector_disable(rtems_vector_number vector)
+{
+  XSCALE_INT_ICMR  &= ~(1 << vector);
</font> 
<font color='#880000'>-    return 1;
</font><font color='#000088'>+  return RTEMS_SUCCESSFUL;
</font> }
 
<font color='#880000'>-/*
- * Remove and interrupt handler
- */
-int BSP_remove_rtems_irq_handler  (const rtems_irq_connect_data* irq)
</font><font color='#000088'>+rtems_status_code bsp_interrupt_facility_initialize(void)
</font> {
<font color='#880000'>-    rtems_interrupt_level level;
</font><font color='#000088'>+  /* disable all interrupts */
+  XSCALE_INT_ICMR = 0x0;
</font> 
<font color='#880000'>-    if (!isValidInterrupt(irq->name)) {
-        return 0;
-    }
-
-    /*
-     * Check if the handler is actually connected. If not, issue an error.
-     */
-    if (IRQ_table[irq->name] != irq->hdl) {
-      return 0;
-    }
-    _CPU_ISR_Disable(level);
-
-    /*
-     * mask interrupt
-     */
-    XSCALE_INT_ICMR  =  XSCALE_INT_ICMR  & (~(1 << irq->name));
-
-    /*
-     * Disable interrupt on device
-     */
-    if(irq->off) {
-        irq->off(irq);
-    }
-
-    /*
-     * restore the default irq value
-     */
-    IRQ_table[irq->name] = dummy_handler;
</font><font color='#000088'>+  /* Direct the interrupt to IRQ*/
+  XSCALE_INT_ICLR = 0x0;
</font> 
<font color='#880000'>-    _CPU_ISR_Enable(level);
</font><font color='#000088'>+  /* Install the IRQ exception handler */
+  _CPU_ISR_install_vector(ARM_EXCEPTION_IRQ, arm_exc_interrupt, NULL);
</font> 
<font color='#880000'>-    return 1;
</font><font color='#000088'>+  return RTEMS_SUCCESSFUL;
+}
+
+void bsp_interrupt_handler_default(rtems_vector_number vector)
+{
+  printk("spurious interrupt: %u\n", vector);
</font> }

<font color='#006600'>diff -u rtems/c/src/lib/libcpu/arm/s3c24xx/clock/clockdrv.c:1.5 rtems/c/src/lib/libcpu/arm/s3c24xx/clock/clockdrv.c:1.6
--- rtems/c/src/lib/libcpu/arm/s3c24xx/clock/clockdrv.c:1.5     Fri Apr  9 15:24:56 2010
+++ rtems/c/src/lib/libcpu/arm/s3c24xx/clock/clockdrv.c Fri Apr 30 08:15:49 2010
</font><font color='#997700'>@@ -13,7 +13,7 @@
</font>  *  $Id$
 */
 #include <rtems.h>
<font color='#880000'>-#include <irq.h>
</font><font color='#000088'>+#include <bsp/irq.h>
</font> #include <bsp.h>
 #include <s3c24xx.h>
 

<font color='#006600'>diff -u rtems/c/src/lib/libcpu/arm/s3c24xx/irq/irq.h:1.2 rtems/c/src/lib/libcpu/arm/s3c24xx/irq/irq.h:1.3
--- rtems/c/src/lib/libcpu/arm/s3c24xx/irq/irq.h:1.2    Fri Apr  9 15:24:56 2010
+++ rtems/c/src/lib/libcpu/arm/s3c24xx/irq/irq.h        Fri Apr 30 08:15:49 2010
</font><font color='#997700'>@@ -1,26 +1,21 @@
</font> /* irq.h
  *
<font color='#000088'>+ *  Copyright (c) 2010 embedded brains GmbH.
+ *
+ *  CopyRight (C) 2000 Canon Research France SA.
+ *  Emmanuel Raguet,  mailto:raguet@crf.canon.fr
+ *
</font>  *  Common file, merged from s3c2400/irq/irq.h and s3c2410/irq/irq.h
  */
 
 #ifndef _IRQ_H_
 #define _IRQ_H_
<font color='#880000'>-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/*
- * Include some preprocessor value also used by assember code
- */
</font> 
<font color='#880000'>-#include <rtems/irq.h>
</font> #include <rtems.h>
<font color='#880000'>-#include <s3c24xx.h>
</font><font color='#000088'>+#include <rtems/irq.h>
+#include <rtems/irq-extension.h>
</font> 
<font color='#880000'>-extern void default_int_handler(rtems_irq_hdl_param unused);
-/*-------------------------------------------------------------------------+
-| Constants
-+--------------------------------------------------------------------------*/
</font><font color='#000088'>+#include <s3c24xx.h>
</font> 
 #ifdef CPU_S3C2400
   /* possible interrupt sources */
<font color='#997700'>@@ -93,25 +88,9 @@
</font> #define BSP_MAX_INT          32
 #endif
 
<font color='#880000'>-extern void *bsp_vector_table;
-#define VECTOR_TABLE &bsp_vector_table
</font><font color='#000088'>+#define BSP_INTERRUPT_VECTOR_MIN 0
</font> 
<font color='#880000'>-/*-------------------------------------------------------------------------+
-| Function Prototypes.
-+--------------------------------------------------------------------------*/
-/*
- * ------------------ RTEMS Single Irq Handler Mngt Routines ----------------
- */
-
-/*
- * function to initialize the interrupt for a specific BSP
- */
-void BSP_rtems_irq_mngt_init();
-
-
-#ifdef __cplusplus
-}
-#endif
</font><font color='#000088'>+#define BSP_INTERRUPT_VECTOR_MAX (BSP_MAX_INT - 1)
</font> 
 #endif /* _IRQ_H_ */
 /* end of include file */

<font color='#006600'>diff -u rtems/c/src/lib/libcpu/arm/s3c24xx/irq/irq.c:1.1 rtems/c/src/lib/libcpu/arm/s3c24xx/irq/irq.c:1.2
--- rtems/c/src/lib/libcpu/arm/s3c24xx/irq/irq.c:1.1    Tue May  6 15:58:05 2008
+++ rtems/c/src/lib/libcpu/arm/s3c24xx/irq/irq.c        Fri Apr 30 08:15:49 2010
</font><font color='#997700'>@@ -2,6 +2,8 @@
</font>  *
  *  This file contains the implementation of the function described in irq.h
  *
<font color='#000088'>+ *  Copyright (c) 2010 embedded brains GmbH.
+ *
</font>  *  CopyRight (C) 2000 Canon Research France SA.
  *  Emmanuel Raguet,  mailto:raguet@crf.canon.fr
  *
<font color='#997700'>@@ -12,99 +14,37 @@
</font>  *  $Id$
  */
 
<font color='#880000'>-
</font> #include <bsp.h>
<font color='#880000'>-#include <irq.h>
-#include <rtems/score/thread.h>
-#include <rtems/score/apiext.h>
-#include <s3c24xx.h>
</font><font color='#000088'>+#include <bsp/irq.h>
+#include <bsp/irq-generic.h>
</font> 
<font color='#880000'>-/*
- * This function check that the value given for the irq line
- * is valid.
- */
</font><font color='#000088'>+#include <s3c24xx.h>
</font> 
<font color='#880000'>-static int isValidInterrupt(int irq)
</font><font color='#000088'>+void bsp_interrupt_dispatch(void)
</font> {
<font color='#880000'>-    if ( (irq < 0) || (irq > BSP_MAX_INT)) {
-        return 0;
-    }
</font><font color='#000088'>+  rtems_vector_number vector = *((uint32_t *) rINTOFFSET_ADDR);
</font> 
<font color='#880000'>-    return 1;
</font><font color='#000088'>+  bsp_interrupt_handler_dispatch(vector);
</font> }
 
<font color='#880000'>-/*
- * ------------------- RTEMS Single Irq Handler Mngt Routines ----------------
- */
-
-int BSP_install_rtems_irq_handler  (const rtems_irq_connect_data* irq)
</font><font color='#000088'>+rtems_status_code bsp_interrupt_vector_enable(rtems_vector_number vector)
</font> {
<font color='#880000'>-    rtems_irq_hdl *HdlTable;
-    rtems_interrupt_level level;
-
-    if (!isValidInterrupt(irq->name)) {
-        return 0;
-    }
-
-    /*
-     * Check if default handler is actually connected. If not issue an error.
-     */
-    HdlTable = (rtems_irq_hdl *)VECTOR_TABLE;
-    if (*(HdlTable + irq->name) != default_int_handler) {
-        return 0;
-    }
-
-    _CPU_ISR_Disable(level);
-
-    /*
-     * store the new handler
-     */
-    *(HdlTable + irq->name) = irq->hdl;
-
-    /*
-     * Enable interrupt on device
-     */
-    if(irq->on)
-    {
-        irq->on(irq);
-    }
-
-    _CPU_ISR_Enable(level);
-
-    return 1;
</font><font color='#000088'>+  return RTEMS_SUCCESSFUL;
</font> }
 
<font color='#880000'>-int BSP_remove_rtems_irq_handler  (const rtems_irq_connect_data* irq)
</font><font color='#000088'>+rtems_status_code bsp_interrupt_vector_disable(rtems_vector_number vector)
</font> {
<font color='#880000'>-    rtems_irq_hdl *HdlTable;
-    rtems_interrupt_level level;
</font><font color='#000088'>+  return RTEMS_SUCCESSFUL;
+}
</font> 
<font color='#880000'>-    if (!isValidInterrupt(irq->name)) {
-        return 0;
-    }
-
-    /*
-     * Check if the handler is actually connected. If not issue an error.
-     */
-    HdlTable = (rtems_irq_hdl *)VECTOR_TABLE;
-    if (*(HdlTable + irq->name) != irq->hdl) {
-        return 0;
-    }
-    _CPU_ISR_Disable(level);
-
-    /*
-     * Disable interrupt on device
-     */
-    if(irq->off) {
-        irq->off(irq);
-    }
-
-    /*
-     * restore the default irq value
-     */
-    *(HdlTable + irq->name) = default_int_handler;
</font><font color='#000088'>+rtems_status_code bsp_interrupt_facility_initialize(void)
+{
+  _CPU_ISR_install_vector(ARM_EXCEPTION_IRQ, arm_exc_interrupt, NULL);
</font> 
<font color='#880000'>-    _CPU_ISR_Enable(level);
</font><font color='#000088'>+  return RTEMS_SUCCESSFUL;
+}
</font> 
<font color='#880000'>-    return 1;
</font><font color='#000088'>+void bsp_interrupt_handler_default(rtems_vector_number vector)
+{
+  printk("spurious interrupt: %u\n", vector);
</font> }
</pre>
<p> </p>
<a name='cs2'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>sh</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-04-30 Sebastian Huber <sebastian.huber@embedded-brains.de>

        * shared/irq_init.c: Removed file.
        * Makefile.am: Reflect change above.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/ChangeLog.diff?r1=text&tr1=1.77&r2=text&tr2=1.78&diff_format=h">M</a></td><td width='1%'>1.78</td><td width='100%'>c/src/lib/libbsp/arm/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/Makefile.am.diff?r1=text&tr1=1.13&r2=text&tr2=1.14&diff_format=h">M</a></td><td width='1%'>1.14</td><td width='100%'>c/src/lib/libbsp/arm/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/shared/irq/irq_init.c?rev=1.14&content-type=text/vnd.viewcvs-markup">R</a></td><td width='1%'><font color="#880000">1.14</font></td><td width='100%'><font color="#880000">c/src/lib/libbsp/arm/shared/irq/irq_init.c</font></td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/ChangeLog:1.77 rtems/c/src/lib/libbsp/arm/ChangeLog:1.78
--- rtems/c/src/lib/libbsp/arm/ChangeLog:1.77   Fri Apr  9 15:24:56 2010
+++ rtems/c/src/lib/libbsp/arm/ChangeLog        Fri Apr 30 08:21:07 2010
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2010-04-30    Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+       * shared/irq_init.c: Removed file.
+       * Makefile.am: Reflect change above.
+
</font> 2010-04-09        Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
 
        * shared/irq/irq_init.c, shared/lpc/clock/lpc-clock-config.c,

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/Makefile.am:1.13 rtems/c/src/lib/libbsp/arm/Makefile.am:1.14
--- rtems/c/src/lib/libbsp/arm/Makefile.am:1.13 Mon Dec  7 10:24:17 2009
+++ rtems/c/src/lib/libbsp/arm/Makefile.am      Fri Apr 30 08:21:08 2010
</font><font color='#997700'>@@ -15,9 +15,6 @@
</font> EXTRA_DIST += shared/comm/uart.h
 EXTRA_DIST += shared/comm/uart.c
 
<font color='#880000'>-# irq
-EXTRA_DIST += shared/irq/irq_init.c
-
</font> # abort
 EXTRA_DIST += shared/abort/simple_abort.c
 
</pre>
<p> </p>
<a name='cs3'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>sh</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-04-30 Sebastian Huber <sebastian.huber@embedded-brains.de>

        * csb336/make/custom/csb336.cfg,
        csb337/make/custom/csb337.cfg, edb7312/make/custom/edb7312.cfg,
        gba/make/custom/gba.cfg, gdbarmsim/make/custom/arm920.cfg,
        gp32/make/custom/gp32.cfg, gumstix/make/custom/gumstix.cfg,
        lpc32xx/make/custom/lpc32xx_phycore.cfg, nds/make/custom/nds.cfg,
        rtl22xx/make/custom/rtl22xx.cfg, smdk2410/make/custom/smdk2410.cfg:
        Use VFP floating point model.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/csb336/ChangeLog.diff?r1=text&tr1=1.66&r2=text&tr2=1.67&diff_format=h">M</a></td><td width='1%'>1.67</td><td width='100%'>c/src/lib/libbsp/arm/csb336/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/csb336/make/custom/csb336.cfg.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>c/src/lib/libbsp/arm/csb336/make/custom/csb336.cfg</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/csb337/ChangeLog.diff?r1=text&tr1=1.70&r2=text&tr2=1.71&diff_format=h">M</a></td><td width='1%'>1.71</td><td width='100%'>c/src/lib/libbsp/arm/csb337/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/csb337/make/custom/csb337.cfg.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>c/src/lib/libbsp/arm/csb337/make/custom/csb337.cfg</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/edb7312/ChangeLog.diff?r1=text&tr1=1.112&r2=text&tr2=1.113&diff_format=h">M</a></td><td width='1%'>1.113</td><td width='100%'>c/src/lib/libbsp/arm/edb7312/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/edb7312/make/custom/edb7312.cfg.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>c/src/lib/libbsp/arm/edb7312/make/custom/edb7312.cfg</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/gba/ChangeLog.diff?r1=text&tr1=1.64&r2=text&tr2=1.65&diff_format=h">M</a></td><td width='1%'>1.65</td><td width='100%'>c/src/lib/libbsp/arm/gba/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/gba/make/custom/gba.cfg.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>c/src/lib/libbsp/arm/gba/make/custom/gba.cfg</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/gdbarmsim/ChangeLog.diff?r1=text&tr1=1.5&r2=text&tr2=1.6&diff_format=h">M</a></td><td width='1%'>1.6</td><td width='100%'>c/src/lib/libbsp/arm/gdbarmsim/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/gdbarmsim/make/custom/arm920.cfg.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>c/src/lib/libbsp/arm/gdbarmsim/make/custom/arm920.cfg</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/gp32/ChangeLog.diff?r1=text&tr1=1.59&r2=text&tr2=1.60&diff_format=h">M</a></td><td width='1%'>1.60</td><td width='100%'>c/src/lib/libbsp/arm/gp32/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/gp32/make/custom/gp32.cfg.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>c/src/lib/libbsp/arm/gp32/make/custom/gp32.cfg</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/gumstix/ChangeLog.diff?r1=text&tr1=1.21&r2=text&tr2=1.22&diff_format=h">M</a></td><td width='1%'>1.22</td><td width='100%'>c/src/lib/libbsp/arm/gumstix/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/gumstix/make/custom/gumstix.cfg.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>c/src/lib/libbsp/arm/gumstix/make/custom/gumstix.cfg</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/lpc32xx/ChangeLog.diff?r1=text&tr1=1.6&r2=text&tr2=1.7&diff_format=h">M</a></td><td width='1%'>1.7</td><td width='100%'>c/src/lib/libbsp/arm/lpc32xx/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/lpc32xx/make/custom/lpc32xx_phycore.cfg.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>c/src/lib/libbsp/arm/lpc32xx/make/custom/lpc32xx_phycore.cfg</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/nds/ChangeLog.diff?r1=text&tr1=1.56&r2=text&tr2=1.57&diff_format=h">M</a></td><td width='1%'>1.57</td><td width='100%'>c/src/lib/libbsp/arm/nds/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/nds/make/custom/nds.cfg.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>c/src/lib/libbsp/arm/nds/make/custom/nds.cfg</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/rtl22xx/ChangeLog.diff?r1=text&tr1=1.49&r2=text&tr2=1.50&diff_format=h">M</a></td><td width='1%'>1.50</td><td width='100%'>c/src/lib/libbsp/arm/rtl22xx/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/rtl22xx/make/custom/rtl22xx.cfg.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>c/src/lib/libbsp/arm/rtl22xx/make/custom/rtl22xx.cfg</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/smdk2410/ChangeLog.diff?r1=text&tr1=1.27&r2=text&tr2=1.28&diff_format=h">M</a></td><td width='1%'>1.28</td><td width='100%'>c/src/lib/libbsp/arm/smdk2410/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/smdk2410/make/custom/smdk2410.cfg.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>c/src/lib/libbsp/arm/smdk2410/make/custom/smdk2410.cfg</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/csb336/ChangeLog:1.66 rtems/c/src/lib/libbsp/arm/csb336/ChangeLog:1.67
--- rtems/c/src/lib/libbsp/arm/csb336/ChangeLog:1.66    Fri Apr  9 15:24:56 2010
+++ rtems/c/src/lib/libbsp/arm/csb336/ChangeLog Fri Apr 30 08:40:13 2010
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2010-04-30    Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+       * make/custom/csb336.cfg: Use VFP floating point model.
+
</font> 2010-04-09        Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
 
        * startup/bspstart.c, network/network.c: make irq data types

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/csb336/make/custom/csb336.cfg:1.2 rtems/c/src/lib/libbsp/arm/csb336/make/custom/csb336.cfg:1.3
--- rtems/c/src/lib/libbsp/arm/csb336/make/custom/csb336.cfg:1.2        Wed Oct 21 05:34:36 2009
+++ rtems/c/src/lib/libbsp/arm/csb336/make/custom/csb336.cfg    Fri Apr 30 08:40:12 2010
</font><font color='#997700'>@@ -11,7 +11,7 @@
</font> 
 #  This contains the compiler options necessary to select the CPU model
 #  and (hopefully) optimize for it.<span style="background-color: #FF0000"> </span>
<font color='#880000'>-CPU_CFLAGS = -mcpu=arm920 -mstructure-size-boundary=8<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+CPU_CFLAGS = -mstructure-size-boundary=8 -mcpu=arm920 -mfpu=vfp -mfloat-abi=soft
</font> 
 # optimize flag: typically -O2
 CFLAGS_OPTIMIZE_V = -O2 -g

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/csb337/ChangeLog:1.70 rtems/c/src/lib/libbsp/arm/csb337/ChangeLog:1.71
--- rtems/c/src/lib/libbsp/arm/csb337/ChangeLog:1.70    Sun Apr 25 21:24:36 2010
+++ rtems/c/src/lib/libbsp/arm/csb337/ChangeLog Fri Apr 30 08:40:13 2010
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2010-04-30    Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+       * make/custom/csb337.cfg: Use VFP floating point model.
+
</font> 2010-04-25        Joel Sherrill <joel.sherrilL@OARcorp.com>
 
        * console/fbcons.c: Fix warnings.

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/csb337/make/custom/csb337.cfg:1.2 rtems/c/src/lib/libbsp/arm/csb337/make/custom/csb337.cfg:1.3
--- rtems/c/src/lib/libbsp/arm/csb337/make/custom/csb337.cfg:1.2        Wed Oct 21 05:34:37 2009
+++ rtems/c/src/lib/libbsp/arm/csb337/make/custom/csb337.cfg    Fri Apr 30 08:40:12 2010
</font><font color='#997700'>@@ -11,7 +11,7 @@
</font> 
 #  This contains the compiler options necessary to select the CPU model
 #  and (hopefully) optimize for it.<span style="background-color: #FF0000"> </span>
<font color='#880000'>-CPU_CFLAGS = -mcpu=arm920 -mstructure-size-boundary=8<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+CPU_CFLAGS = -mstructure-size-boundary=8 -mcpu=arm920 -mfpu=vfp -mfloat-abi=soft
</font> 
 # optimize flag: typically -O2
 CFLAGS_OPTIMIZE_V = -O2 -g<span style="background-color: #FF0000"> </span>

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/edb7312/ChangeLog:1.112 rtems/c/src/lib/libbsp/arm/edb7312/ChangeLog:1.113
--- rtems/c/src/lib/libbsp/arm/edb7312/ChangeLog:1.112  Wed Apr 14 04:27:31 2010
+++ rtems/c/src/lib/libbsp/arm/edb7312/ChangeLog        Fri Apr 30 08:40:13 2010
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2010-04-30    Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+       * make/custom/edb7312.cfg: Use VFP floating point model.
+
</font> 2010-04-10        Ralf Corsépius <ralf.corsepius@rtems.org>
 
        * console/uart.c: Reflect termios API changes.

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/edb7312/make/custom/edb7312.cfg:1.2 rtems/c/src/lib/libbsp/arm/edb7312/make/custom/edb7312.cfg:1.3
--- rtems/c/src/lib/libbsp/arm/edb7312/make/custom/edb7312.cfg:1.2      Wed Oct 21 05:34:39 2009
+++ rtems/c/src/lib/libbsp/arm/edb7312/make/custom/edb7312.cfg  Fri Apr 30 08:40:13 2010
</font><font color='#997700'>@@ -12,7 +12,7 @@
</font> #  This contains the compiler options necessary to select the CPU model
 #  and (hopefully) optimize for it.<span style="background-color: #FF0000"> </span>
 #
<font color='#880000'>-CPU_CFLAGS = -mcpu=$(RTEMS_CPU_MODEL) -mstructure-size-boundary=8
</font><font color='#000088'>+CPU_CFLAGS = -mstructure-size-boundary=8 -mcpu=$(RTEMS_CPU_MODEL) -mfpu=vfp -mfloat-abi=soft
</font> 
 # optimize flag: typically -O2
 CFLAGS_OPTIMIZE_V = -O2 -g

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/gba/ChangeLog:1.64 rtems/c/src/lib/libbsp/arm/gba/ChangeLog:1.65
--- rtems/c/src/lib/libbsp/arm/gba/ChangeLog:1.64       Fri Apr  9 15:24:56 2010
+++ rtems/c/src/lib/libbsp/arm/gba/ChangeLog    Fri Apr 30 08:40:13 2010
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2010-04-30    Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+       * make/custom/gba.cfg: Use VFP floating point model.
+
</font> 2010-04-09        Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
 
        * clock/clockdrv.c, console/console.c, irq/irq.c, irq/irq.h,

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/gba/make/custom/gba.cfg:1.2 rtems/c/src/lib/libbsp/arm/gba/make/custom/gba.cfg:1.3
--- rtems/c/src/lib/libbsp/arm/gba/make/custom/gba.cfg:1.2      Wed Oct 21 05:34:41 2009
+++ rtems/c/src/lib/libbsp/arm/gba/make/custom/gba.cfg  Fri Apr 30 08:40:13 2010
</font><font color='#997700'>@@ -13,7 +13,7 @@
</font> #  and (hopefully) optimize for it.
 #
 #CPU_CFLAGS = -mcpu=$(RTEMS_CPU_MODEL) -mthumb -mthumb-interwork -msoft-float -mstructure-size-boundary=8
<font color='#880000'>-CPU_CFLAGS = -mcpu=$(RTEMS_CPU_MODEL) -msoft-float -mstructure-size-boundary=8
</font><font color='#000088'>+CPU_CFLAGS = -mstructure-size-boundary=8 -mcpu=$(RTEMS_CPU_MODEL) -mfpu=vfp -mfloat-abi=soft
</font> 
 # optimize flag: typically -O2
 CFLAGS_OPTIMIZE_V = -O2 -g

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/gdbarmsim/ChangeLog:1.5 rtems/c/src/lib/libbsp/arm/gdbarmsim/ChangeLog:1.6
--- rtems/c/src/lib/libbsp/arm/gdbarmsim/ChangeLog:1.5  Wed Apr  7 16:49:49 2010
+++ rtems/c/src/lib/libbsp/arm/gdbarmsim/ChangeLog      Fri Apr 30 08:40:13 2010
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2010-04-30    Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+       * make/custom/arm920.cfg: Use VFP floating point model.
+
</font> 2010-04-07        Joel Sherrill <joel.sherrill@oarcorp.com>
 
        * start/start.S: Verify boot_card() is passed a NULL.

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/gdbarmsim/make/custom/arm920.cfg:1.2 rtems/c/src/lib/libbsp/arm/gdbarmsim/make/custom/arm920.cfg:1.3
--- rtems/c/src/lib/libbsp/arm/gdbarmsim/make/custom/arm920.cfg:1.2     Wed Oct 21 05:34:42 2009
+++ rtems/c/src/lib/libbsp/arm/gdbarmsim/make/custom/arm920.cfg Fri Apr 30 08:40:13 2010
</font><font color='#997700'>@@ -12,7 +12,7 @@
</font> #  This contains the compiler options necessary to select the CPU model
 #  and (hopefully) optimize for it.<span style="background-color: #FF0000"> </span>
 # CPU_CFLAGS = -mcpu=arm920 -mstructure-size-boundary=8<span style="background-color: #FF0000"> </span>
<font color='#880000'>-CPU_CFLAGS = -mcpu=arm920
</font><font color='#000088'>+CPU_CFLAGS = -mcpu=arm920 -mfloat-abi=soft -mfpu=vfp
</font> 
 # optimize flag: typically -O2
 CFLAGS_OPTIMIZE_V = -O2 -g

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/gp32/ChangeLog:1.59 rtems/c/src/lib/libbsp/arm/gp32/ChangeLog:1.60
--- rtems/c/src/lib/libbsp/arm/gp32/ChangeLog:1.59      Sun Apr 25 21:33:57 2010
+++ rtems/c/src/lib/libbsp/arm/gp32/ChangeLog   Fri Apr 30 08:40:13 2010
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2010-04-30    Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+       * make/custom/gp32.cfg: Use VFP floating point model.
+
</font> 2010-04-25        Joel Sherrill <joel.sherrilL@OARcorp.com>
 
        * console/uart.c: Fix warnings.

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/gp32/make/custom/gp32.cfg:1.2 rtems/c/src/lib/libbsp/arm/gp32/make/custom/gp32.cfg:1.3
--- rtems/c/src/lib/libbsp/arm/gp32/make/custom/gp32.cfg:1.2    Wed Oct 21 05:34:43 2009
+++ rtems/c/src/lib/libbsp/arm/gp32/make/custom/gp32.cfg        Fri Apr 30 08:40:13 2010
</font><font color='#997700'>@@ -12,7 +12,7 @@
</font> #  This contains the compiler options necessary to select the CPU model
 #  and (hopefully) optimize for it.<span style="background-color: #FF0000"> </span>
 #
<font color='#880000'>-CPU_CFLAGS = -mcpu=arm920t -mstructure-size-boundary=32 -DCPU_S3C2400
</font><font color='#000088'>+CPU_CFLAGS = -mstructure-size-boundary=32 -mcpu=arm920t -mfpu=vfp -mfloat-abi=soft -DCPU_S3C2400
</font> 
 # optimize flag: typically -O2
 CFLAGS_OPTIMIZE_V = -O2 -g

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/gumstix/ChangeLog:1.21 rtems/c/src/lib/libbsp/arm/gumstix/ChangeLog:1.22
--- rtems/c/src/lib/libbsp/arm/gumstix/ChangeLog:1.21   Fri Apr  9 15:24:56 2010
+++ rtems/c/src/lib/libbsp/arm/gumstix/ChangeLog        Fri Apr 30 08:40:13 2010
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2010-04-30    Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+       * make/custom/gumstix.cfg: Use VFP floating point model.
+
</font> 2010-04-09        Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
 
        * rtl8019/rtl8019.c: make irq data types consistent

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/gumstix/make/custom/gumstix.cfg:1.2 rtems/c/src/lib/libbsp/arm/gumstix/make/custom/gumstix.cfg:1.3
--- rtems/c/src/lib/libbsp/arm/gumstix/make/custom/gumstix.cfg:1.2      Wed Oct 21 05:34:44 2009
+++ rtems/c/src/lib/libbsp/arm/gumstix/make/custom/gumstix.cfg  Fri Apr 30 08:40:13 2010
</font><font color='#997700'>@@ -11,7 +11,7 @@
</font> 
 #  This contains the compiler options necessary to select the CPU model
 #  and (hopefully) optimize for it.<span style="background-color: #FF0000"> </span>
<font color='#880000'>-CPU_CFLAGS = -mcpu=xscale -mstructure-size-boundary=8<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+CPU_CFLAGS = -mstructure-size-boundary=8 -mcpu=xscale -mfpu=vfp -mfloat-abi=soft
</font> 
 # optimize flag: typically -O2
 CFLAGS_OPTIMIZE_V = -O2 -g<span style="background-color: #FF0000"> </span>

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/lpc32xx/ChangeLog:1.6 rtems/c/src/lib/libbsp/arm/lpc32xx/ChangeLog:1.7
--- rtems/c/src/lib/libbsp/arm/lpc32xx/ChangeLog:1.6    Fri Apr  9 07:25:21 2010
+++ rtems/c/src/lib/libbsp/arm/lpc32xx/ChangeLog        Fri Apr 30 08:40:13 2010
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2010-04-30    Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+       * make/custom/lpc32xx_phycore.cfg: Use VFP floating point model.
+
</font> 2010-04-09        Sebastian Huber <sebastian.huber@embedded-brains.de>
 
        * console/hsu.c: New file.

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/lpc32xx/make/custom/lpc32xx_phycore.cfg:1.2 rtems/c/src/lib/libbsp/arm/lpc32xx/make/custom/lpc32xx_phycore.cfg:1.3
--- rtems/c/src/lib/libbsp/arm/lpc32xx/make/custom/lpc32xx_phycore.cfg:1.2      Tue Feb  2 09:56:21 2010
+++ rtems/c/src/lib/libbsp/arm/lpc32xx/make/custom/lpc32xx_phycore.cfg  Fri Apr 30 08:40:13 2010
</font><font color='#997700'>@@ -8,6 +8,6 @@
</font> 
 RTEMS_CPU = arm
 
<font color='#880000'>-CPU_CFLAGS = -mcpu=arm926ej-s -mthumb -mstructure-size-boundary=8
</font><font color='#000088'>+CPU_CFLAGS = -mstructure-size-boundary=8 -mcpu=arm926ej-s -mfpu=vfp -mfloat-abi=soft -mthumb
</font> 
 CFLAGS_OPTIMIZE_V = -Os -g

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/nds/ChangeLog:1.56 rtems/c/src/lib/libbsp/arm/nds/ChangeLog:1.57
--- rtems/c/src/lib/libbsp/arm/nds/ChangeLog:1.56       Sun Apr 25 21:28:02 2010
+++ rtems/c/src/lib/libbsp/arm/nds/ChangeLog    Fri Apr 30 08:40:13 2010
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2010-04-30    Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+       * make/custom/nds.cfg: Use VFP floating point model.
+
</font> 2010-04-25        Joel Sherrill <joel.sherrilL@OARcorp.com>
 
        * console/console.c: Fix warnings.

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/nds/make/custom/nds.cfg:1.2 rtems/c/src/lib/libbsp/arm/nds/make/custom/nds.cfg:1.3
--- rtems/c/src/lib/libbsp/arm/nds/make/custom/nds.cfg:1.2      Wed Oct 21 05:34:46 2009
+++ rtems/c/src/lib/libbsp/arm/nds/make/custom/nds.cfg  Fri Apr 30 08:40:13 2010
</font><font color='#997700'>@@ -12,7 +12,7 @@
</font> #  This contains the compiler options necessary to select the CPU model
 #  and (hopefully) optimize for it.
 #
<font color='#880000'>-CPU_CFLAGS = -mcpu=$(RTEMS_CPU_MODEL) -msoft-float -mstructure-size-boundary=8
</font><font color='#000088'>+CPU_CFLAGS = -mstructure-size-boundary=8 -mcpu=$(RTEMS_CPU_MODEL) -mfpu=vfp -mfloat-abi=soft
</font> # CPU_CFLAGS += -mthumb-interwork ## -D __THUMB_INTERWORK__ -mthumb
 
 # optimize flag: typically -O2

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/rtl22xx/ChangeLog:1.49 rtems/c/src/lib/libbsp/arm/rtl22xx/ChangeLog:1.50
--- rtems/c/src/lib/libbsp/arm/rtl22xx/ChangeLog:1.49   Fri Apr  9 15:24:57 2010
+++ rtems/c/src/lib/libbsp/arm/rtl22xx/ChangeLog        Fri Apr 30 08:40:13 2010
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2010-04-30    Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+       * make/custom/rtl22xx.cfg: Use VFP floating point model.
+
</font> 2010-04-09        Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
 
        * network/network.c, startup/bspstart.c: make

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/rtl22xx/make/custom/rtl22xx.cfg:1.2 rtems/c/src/lib/libbsp/arm/rtl22xx/make/custom/rtl22xx.cfg:1.3
--- rtems/c/src/lib/libbsp/arm/rtl22xx/make/custom/rtl22xx.cfg:1.2      Wed Oct 21 05:34:48 2009
+++ rtems/c/src/lib/libbsp/arm/rtl22xx/make/custom/rtl22xx.cfg  Fri Apr 30 08:40:13 2010
</font><font color='#997700'>@@ -12,7 +12,7 @@
</font> #  This contains the compiler options necessary to select the CPU model
 #  and (hopefully) optimize for it.<span style="background-color: #FF0000"> </span>
 #
<font color='#880000'>-CPU_CFLAGS = -mcpu=arm7tdmi -mstructure-size-boundary=8 -mapcs-frame
</font><font color='#000088'>+CPU_CFLAGS = -mstructure-size-boundary=8 -mcpu=arm7tdmi -mfpu=vfp -mfloat-abi=soft -mapcs-frame
</font> 
 # optimize flag: typically -0, could use -O4 or -fast
 # -O4 is ok for RTEMS

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/smdk2410/ChangeLog:1.27 rtems/c/src/lib/libbsp/arm/smdk2410/ChangeLog:1.28
--- rtems/c/src/lib/libbsp/arm/smdk2410/ChangeLog:1.27  Fri Apr  9 15:24:57 2010
+++ rtems/c/src/lib/libbsp/arm/smdk2410/ChangeLog       Fri Apr 30 08:40:13 2010
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2010-04-30    Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+       * make/custom/smdk2410.cfg: Use VFP floating point model.
+
</font> 2010-04-09        Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
 
        * Makefile.am: use common code for s3c24xx

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/smdk2410/make/custom/smdk2410.cfg:1.2 rtems/c/src/lib/libbsp/arm/smdk2410/make/custom/smdk2410.cfg:1.3
--- rtems/c/src/lib/libbsp/arm/smdk2410/make/custom/smdk2410.cfg:1.2    Wed Oct 21 05:34:49 2009
+++ rtems/c/src/lib/libbsp/arm/smdk2410/make/custom/smdk2410.cfg        Fri Apr 30 08:40:13 2010
</font><font color='#997700'>@@ -11,7 +11,7 @@
</font> 
 #  This contains the compiler options necessary to select the CPU model
 #  and (hopefully) optimize for it.
<font color='#880000'>-CPU_CFLAGS = -mcpu=arm920t -DCPU_S3C2410 -mstructure-size-boundary=32
</font><font color='#000088'>+CPU_CFLAGS = -mstructure-size-boundary=32 -mcpu=arm920t -mfpu=vfp -mfloat-abi=soft -DCPU_S3C2410
</font> 
 # optimize flag: typically -O2
 CFLAGS_OPTIMIZE_V = -O2 -g
</pre>
<p> </p>
<a name='cs4'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>sh</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-04-30 Sebastian Huber <sebastian.huber@embedded-brains.de>

        * make/custom/nds.cfg, Makefile.am, dswifi/arm7/makefile: Use VFP
        floating point model.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/nds/ChangeLog.diff?r1=text&tr1=1.57&r2=text&tr2=1.58&diff_format=h">M</a></td><td width='1%'>1.58</td><td width='100%'>c/src/lib/libbsp/arm/nds/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/nds/Makefile.am.diff?r1=text&tr1=1.17&r2=text&tr2=1.18&diff_format=h">M</a></td><td width='1%'>1.18</td><td width='100%'>c/src/lib/libbsp/arm/nds/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/nds/dswifi/arm7/makefile.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>c/src/lib/libbsp/arm/nds/dswifi/arm7/makefile</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/nds/ChangeLog:1.57 rtems/c/src/lib/libbsp/arm/nds/ChangeLog:1.58
--- rtems/c/src/lib/libbsp/arm/nds/ChangeLog:1.57       Fri Apr 30 08:40:13 2010
+++ rtems/c/src/lib/libbsp/arm/nds/ChangeLog    Fri Apr 30 08:41:52 2010
</font><font color='#997700'>@@ -1,6 +1,7 @@
</font> 2010-04-30        Sebastian Huber <sebastian.huber@embedded-brains.de>
 
<font color='#880000'>-   * make/custom/nds.cfg: Use VFP floating point model.
</font><font color='#000088'>+      * make/custom/nds.cfg, Makefile.am, dswifi/arm7/makefile: Use VFP
+       floating point model.
</font> 
 2010-04-25     Joel Sherrill <joel.sherrilL@OARcorp.com>
 

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/nds/Makefile.am:1.17 rtems/c/src/lib/libbsp/arm/nds/Makefile.am:1.18
--- rtems/c/src/lib/libbsp/arm/nds/Makefile.am:1.17     Fri Apr  9 15:24:56 2010
+++ rtems/c/src/lib/libbsp/arm/nds/Makefile.am  Fri Apr 30 08:41:52 2010
</font><font color='#997700'>@@ -187,8 +187,8 @@
</font>                   libnds/source/arm7/touch.c                      \
                        libnds/source/arm7/userSettings.c
 libnds7_rel_CPPFLAGS = $(AM_CPPFLAGS) -DARM7 -I$(srcdir)/libnds/include
<font color='#880000'>-libnds7_rel_CFLAGS = -mcpu=arm7tdmi -msoft-float
-libnds7_rel_CCASFLAGS = -mcpu=arm7tdmi -msoft-float
</font><font color='#000088'>+libnds7_rel_CFLAGS = -mcpu=arm7tdmi -mfpu=vfp -mfloat-abi=soft
+libnds7_rel_CCASFLAGS = -mcpu=arm7tdmi -mfpu=vfp -mfloat-abi=soft
</font> libnds7_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
 
 if HAS_NETWORKING
<font color='#997700'>@@ -197,8 +197,8 @@
</font> dswifi7_rel_SOURCES =<span style="background-color: #FF0000">  </span>      dswifi/arm7/source/wifi_arm7.c                  \
                        dswifi/common/source/spinlock.S
 dswifi7_rel_CPPFLAGS = $(AM_CPPFLAGS) -DARM7 -I$(srcdir)/dswifi/include -I$(srcdir)/libnds/include -I$(srcdir)/dswifi/common/source
<font color='#880000'>-dswifi7_rel_CFLAGS = -mcpu=arm7tdmi -msoft-float
-dswifi7_rel_CCASFLAGS = -mcpu=arm7tdmi -msoft-float
</font><font color='#000088'>+dswifi7_rel_CFLAGS = -mcpu=arm7tdmi -mfpu=vfp -mfloat-abi=soft
+dswifi7_rel_CCASFLAGS = -mcpu=arm7tdmi -mfpu=vfp -mfloat-abi=soft
</font> dswifi7_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
 endif
 
<font color='#997700'>@@ -247,11 +247,11 @@
</font> EXTRA_DIST = coproc/coproc.S coproc/coproc.c
 if HAS_NETWORKING
 coproc.bin: coproc/coproc.S coproc/coproc.c libnds7.rel dswifi7.rel
<font color='#880000'>-   @CC@ -o coproc.elf -mcpu=arm7tdmi -msoft-float -O2 -DARM7 -I$(srcdir)/libnds/include -I$(srcdir)/dswifi/include -DENABLE_WIFI -T $(srcdir)/coproc/coproc.ld $^ -lc
</font><font color='#000088'>+      @CC@ -o coproc.elf -mcpu=arm7tdmi -mfpu=vfp -mfloat-abi=soft -O2 -DARM7 -I$(srcdir)/libnds/include -I$(srcdir)/dswifi/include -DENABLE_WIFI -T $(srcdir)/coproc/coproc.ld $^ -lc
</font>   $(OBJCOPY) -O binary coproc.elf coproc.bin
 else
 coproc.bin: coproc/coproc.S coproc/coproc.c libnds7.rel
<font color='#880000'>-   @CC@ -o coproc.elf -mcpu=arm7tdmi -msoft-float -O2 -DARM7 -I$(srcdir)/libnds/include -T $(srcdir)/coproc/coproc.ld $^ -lc
</font><font color='#000088'>+      @CC@ -o coproc.elf -mcpu=arm7tdmi -mfpu=vfp -mfloat-abi=soft -O2 -DARM7 -I$(srcdir)/libnds/include -T $(srcdir)/coproc/coproc.ld $^ -lc
</font>   $(OBJCOPY) -O binary coproc.elf coproc.bin
 endif
 project_lib_DATA += coproc.bin

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/nds/dswifi/arm7/makefile:1.2 rtems/c/src/lib/libbsp/arm/nds/dswifi/arm7/makefile:1.3
--- rtems/c/src/lib/libbsp/arm/nds/dswifi/arm7/makefile:1.2     Tue Aug 19 10:47:14 2008
+++ rtems/c/src/lib/libbsp/arm/nds/dswifi/arm7/makefile Fri Apr 30 08:41:52 2010
</font><font color='#997700'>@@ -27,7 +27,7 @@
</font> ARCH      :=      -mthumb-interwork
 
 CFLAGS :=      -g -Wall -O2\
<font color='#880000'>-                   -mcpu=arm7tdmi -mtune=arm7tdmi -fomit-frame-pointer\
</font><font color='#000088'>+                      -mcpu=arm7tdmi -mtune=arm7tdmi -mfpu=vfp -mfloat-abi=soft -fomit-frame-pointer\
</font>                   -ffast-math \
                        $(ARCH)
 
</pre>
<p> </p>
<a name='cs5'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>sh</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-04-30 Sebastian Huber <sebastian.huber@embedded-brains.de>

        * make/custom/lpc24xx.inc: Use VFP floating point model.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/lpc24xx/ChangeLog.diff?r1=text&tr1=1.47&r2=text&tr2=1.48&diff_format=h">M</a></td><td width='1%'>1.48</td><td width='100%'>c/src/lib/libbsp/arm/lpc24xx/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/lpc24xx/make/custom/lpc24xx.inc.diff?r1=text&tr1=1.5&r2=text&tr2=1.6&diff_format=h">M</a></td><td width='1%'>1.6</td><td width='100%'>c/src/lib/libbsp/arm/lpc24xx/make/custom/lpc24xx.inc</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/lpc24xx/ChangeLog:1.47 rtems/c/src/lib/libbsp/arm/lpc24xx/ChangeLog:1.48
--- rtems/c/src/lib/libbsp/arm/lpc24xx/ChangeLog:1.47   Fri Apr  9 10:02:39 2010
+++ rtems/c/src/lib/libbsp/arm/lpc24xx/ChangeLog        Fri Apr 30 08:45:33 2010
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2010-04-30    Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+       * make/custom/lpc24xx.inc: Use VFP floating point model.
+
</font> 2010-04-09        Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
 
        * make/custom/lpc24xx.inc: removed over-paranoid warning switches

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/lpc24xx/make/custom/lpc24xx.inc:1.5 rtems/c/src/lib/libbsp/arm/lpc24xx/make/custom/lpc24xx.inc:1.6
--- rtems/c/src/lib/libbsp/arm/lpc24xx/make/custom/lpc24xx.inc:1.5      Fri Apr  9 10:02:39 2010
+++ rtems/c/src/lib/libbsp/arm/lpc24xx/make/custom/lpc24xx.inc  Fri Apr 30 08:45:33 2010
</font><font color='#997700'>@@ -8,6 +8,6 @@
</font> 
 RTEMS_CPU = arm
 
<font color='#880000'>-CPU_CFLAGS = -mcpu=arm7tdmi-s -mthumb -mstructure-size-boundary=8
</font><font color='#000088'>+CPU_CFLAGS = -mstructure-size-boundary=8 -mcpu=arm7tdmi-s -mfpu=vfp -mfloat-abi=soft -mthumb
</font> 
 CFLAGS_OPTIMIZE_V = -Os -g
</pre>
<p> </p>
<a name='cs6'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>sh</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-04-30 Sebastian Huber <sebastian.huber@embedded-brains.de>

        * include/irq-config.h: Removed file.
        * Makefile.am, preinstall.am: Reflect change above.
        * irq/irq.c: Removed superfluous parameter checks.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/lpc24xx/ChangeLog.diff?r1=text&tr1=1.48&r2=text&tr2=1.49&diff_format=h">M</a></td><td width='1%'>1.49</td><td width='100%'>c/src/lib/libbsp/arm/lpc24xx/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/lpc24xx/Makefile.am.diff?r1=text&tr1=1.26&r2=text&tr2=1.27&diff_format=h">M</a></td><td width='1%'>1.27</td><td width='100%'>c/src/lib/libbsp/arm/lpc24xx/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/lpc24xx/include/irq-config.h?rev=1.1&content-type=text/vnd.viewcvs-markup">R</a></td><td width='1%'><font color="#880000">1.1</font></td><td width='100%'><font color="#880000">c/src/lib/libbsp/arm/lpc24xx/include/irq-config.h</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/lpc24xx/irq/irq.c.diff?r1=text&tr1=1.5&r2=text&tr2=1.6&diff_format=h">M</a></td><td width='1%'>1.6</td><td width='100%'>c/src/lib/libbsp/arm/lpc24xx/irq/irq.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/lpc24xx/preinstall.am.diff?r1=text&tr1=1.17&r2=text&tr2=1.18&diff_format=h">M</a></td><td width='1%'>1.18</td><td width='100%'>c/src/lib/libbsp/arm/lpc24xx/preinstall.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/lpc32xx/ChangeLog.diff?r1=text&tr1=1.7&r2=text&tr2=1.8&diff_format=h">M</a></td><td width='1%'>1.8</td><td width='100%'>c/src/lib/libbsp/arm/lpc32xx/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/lpc32xx/Makefile.am.diff?r1=text&tr1=1.3&r2=text&tr2=1.4&diff_format=h">M</a></td><td width='1%'>1.4</td><td width='100%'>c/src/lib/libbsp/arm/lpc32xx/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/lpc32xx/include/irq-config.h?rev=1.1&content-type=text/vnd.viewcvs-markup">R</a></td><td width='1%'><font color="#880000">1.1</font></td><td width='100%'><font color="#880000">c/src/lib/libbsp/arm/lpc32xx/include/irq-config.h</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/lpc32xx/irq/irq.c.diff?r1=text&tr1=1.3&r2=text&tr2=1.4&diff_format=h">M</a></td><td width='1%'>1.4</td><td width='100%'>c/src/lib/libbsp/arm/lpc32xx/irq/irq.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/lpc32xx/preinstall.am.diff?r1=text&tr1=1.3&r2=text&tr2=1.4&diff_format=h">M</a></td><td width='1%'>1.4</td><td width='100%'>c/src/lib/libbsp/arm/lpc32xx/preinstall.am</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/lpc24xx/ChangeLog:1.48 rtems/c/src/lib/libbsp/arm/lpc24xx/ChangeLog:1.49
--- rtems/c/src/lib/libbsp/arm/lpc24xx/ChangeLog:1.48   Fri Apr 30 08:45:33 2010
+++ rtems/c/src/lib/libbsp/arm/lpc24xx/ChangeLog        Fri Apr 30 08:48:14 2010
</font><font color='#997700'>@@ -1,5 +1,11 @@
</font> 2010-04-30        Sebastian Huber <sebastian.huber@embedded-brains.de>
 
<font color='#000088'>+   * include/irq-config.h: Removed file.
+       * Makefile.am, preinstall.am: Reflect change above.
+       * irq/irq.c: Removed superfluous parameter checks.
+
+2010-04-30     Sebastian Huber <sebastian.huber@embedded-brains.de>
+
</font>   * make/custom/lpc24xx.inc: Use VFP floating point model.
 
 2010-04-09     Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/lpc24xx/Makefile.am:1.26 rtems/c/src/lib/libbsp/arm/lpc24xx/Makefile.am:1.27
--- rtems/c/src/lib/libbsp/arm/lpc24xx/Makefile.am:1.26 Fri Apr  9 07:24:48 2010
+++ rtems/c/src/lib/libbsp/arm/lpc24xx/Makefile.am      Fri Apr 30 08:48:14 2010
</font><font color='#997700'>@@ -36,7 +36,6 @@
</font> include_bsp_HEADERS += ../shared/include/linker-symbols.h
 include_bsp_HEADERS += ../shared/include/start.h
 include_bsp_HEADERS += ../shared/lpc/include/lpc-timer.h
<font color='#880000'>-include_bsp_HEADERS += include/irq-config.h
</font> include_bsp_HEADERS += include/irq.h
 include_bsp_HEADERS += include/lpc24xx.h
 include_bsp_HEADERS += include/system-clocks.h

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/lpc24xx/irq/irq.c:1.5 rtems/c/src/lib/libbsp/arm/lpc24xx/irq/irq.c:1.6
--- rtems/c/src/lib/libbsp/arm/lpc24xx/irq/irq.c:1.5    Fri Apr  9 07:24:48 2010
+++ rtems/c/src/lib/libbsp/arm/lpc24xx/irq/irq.c        Fri Apr 30 08:48:14 2010
</font><font color='#997700'>@@ -68,18 +68,14 @@
</font> 
 rtems_status_code bsp_interrupt_vector_enable(rtems_vector_number vector)
 {
<font color='#880000'>-  if (lpc24xx_irq_is_valid(vector)) {
-    VICIntEnable = 1U << vector;
-  }
</font><font color='#000088'>+  VICIntEnable = 1U << vector;
</font> 
   return RTEMS_SUCCESSFUL;
 }
 
 rtems_status_code bsp_interrupt_vector_disable(rtems_vector_number vector)
 {
<font color='#880000'>-  if (lpc24xx_irq_is_valid(vector)) {
-    VICIntEnClear = 1U << vector;
-  }
</font><font color='#000088'>+  VICIntEnClear = 1U << vector;
</font> 
   return RTEMS_SUCCESSFUL;
 }

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/lpc24xx/preinstall.am:1.17 rtems/c/src/lib/libbsp/arm/lpc24xx/preinstall.am:1.18
--- rtems/c/src/lib/libbsp/arm/lpc24xx/preinstall.am:1.17       Tue Jan 12 09:03:21 2010
+++ rtems/c/src/lib/libbsp/arm/lpc24xx/preinstall.am    Fri Apr 30 08:48:14 2010
</font><font color='#997700'>@@ -90,10 +90,6 @@
</font>   $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/lpc-timer.h
 PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/lpc-timer.h
 
<font color='#880000'>-$(PROJECT_INCLUDE)/bsp/irq-config.h: include/irq-config.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
-       $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/irq-config.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/irq-config.h
-
</font> $(PROJECT_INCLUDE)/bsp/irq.h: include/irq.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/irq.h
 PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/irq.h

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/lpc32xx/ChangeLog:1.7 rtems/c/src/lib/libbsp/arm/lpc32xx/ChangeLog:1.8
--- rtems/c/src/lib/libbsp/arm/lpc32xx/ChangeLog:1.7    Fri Apr 30 08:40:13 2010
+++ rtems/c/src/lib/libbsp/arm/lpc32xx/ChangeLog        Fri Apr 30 08:49:15 2010
</font><font color='#997700'>@@ -1,5 +1,11 @@
</font> 2010-04-30        Sebastian Huber <sebastian.huber@embedded-brains.de>
 
<font color='#000088'>+   * include/irq-config.h: Removed file.
+       * Makefile.am, preinstall.am: Reflect change above.
+       * irq/irq.c: Removed superfluous parameter checks.
+
+2010-04-30     Sebastian Huber <sebastian.huber@embedded-brains.de>
+
</font>   * make/custom/lpc32xx_phycore.cfg: Use VFP floating point model.
 
 2010-04-09     Sebastian Huber <sebastian.huber@embedded-brains.de>

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/lpc32xx/Makefile.am:1.3 rtems/c/src/lib/libbsp/arm/lpc32xx/Makefile.am:1.4
--- rtems/c/src/lib/libbsp/arm/lpc32xx/Makefile.am:1.3  Fri Apr  9 07:25:21 2010
+++ rtems/c/src/lib/libbsp/arm/lpc32xx/Makefile.am      Fri Apr 30 08:49:15 2010
</font><font color='#997700'>@@ -38,7 +38,6 @@
</font> include_bsp_HEADERS += ../shared/include/start.h
 include_bsp_HEADERS += ../shared/lpc/include/lpc-timer.h
 include_bsp_HEADERS += ../shared/lpc/include/lpc-dma.h
<font color='#880000'>-include_bsp_HEADERS += include/irq-config.h
</font> include_bsp_HEADERS += include/irq.h
 include_bsp_HEADERS += include/mmu.h
 include_bsp_HEADERS += include/lpc32xx.h

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/lpc32xx/irq/irq.c:1.3 rtems/c/src/lib/libbsp/arm/lpc32xx/irq/irq.c:1.4
--- rtems/c/src/lib/libbsp/arm/lpc32xx/irq/irq.c:1.3    Fri Mar 12 02:26:18 2010
+++ rtems/c/src/lib/libbsp/arm/lpc32xx/irq/irq.c        Fri Apr 30 08:49:15 2010
</font><font color='#997700'>@@ -280,28 +280,24 @@
</font> 
 rtems_status_code bsp_interrupt_vector_enable(rtems_vector_number vector)
 {
<font color='#880000'>-  if (lpc32xx_irq_is_valid(vector)) {
-    rtems_interrupt_level level;
</font><font color='#000088'>+  rtems_interrupt_level level;
</font> 
<font color='#880000'>-    rtems_interrupt_disable(level);
-    lpc32xx_irq_set_bit_in_register(vector, LPC32XX_IRQ_OFFSET_ER);
-    lpc32xx_irq_set_bit_in_field(vector, &lpc32xx_irq_enable);
-    rtems_interrupt_enable(level);
-  }
</font><font color='#000088'>+  rtems_interrupt_disable(level);
+  lpc32xx_irq_set_bit_in_register(vector, LPC32XX_IRQ_OFFSET_ER);
+  lpc32xx_irq_set_bit_in_field(vector, &lpc32xx_irq_enable);
+  rtems_interrupt_enable(level);
</font> 
   return RTEMS_SUCCESSFUL;
 }
 
 rtems_status_code bsp_interrupt_vector_disable(rtems_vector_number vector)
 {
<font color='#880000'>-  if (lpc32xx_irq_is_valid(vector)) {
-    rtems_interrupt_level level;
</font><font color='#000088'>+  rtems_interrupt_level level;
</font> 
<font color='#880000'>-    rtems_interrupt_disable(level);
-    lpc32xx_irq_clear_bit_in_field(vector, &lpc32xx_irq_enable);
-    lpc32xx_irq_clear_bit_in_register(vector, LPC32XX_IRQ_OFFSET_ER);
-    rtems_interrupt_enable(level);
-  }
</font><font color='#000088'>+  rtems_interrupt_disable(level);
+  lpc32xx_irq_clear_bit_in_field(vector, &lpc32xx_irq_enable);
+  lpc32xx_irq_clear_bit_in_register(vector, LPC32XX_IRQ_OFFSET_ER);
+  rtems_interrupt_enable(level);
</font> 
   return RTEMS_SUCCESSFUL;
 }

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/lpc32xx/preinstall.am:1.3 rtems/c/src/lib/libbsp/arm/lpc32xx/preinstall.am:1.4
--- rtems/c/src/lib/libbsp/arm/lpc32xx/preinstall.am:1.3        Fri Apr  9 07:25:21 2010
+++ rtems/c/src/lib/libbsp/arm/lpc32xx/preinstall.am    Fri Apr 30 08:49:15 2010
</font><font color='#997700'>@@ -98,10 +98,6 @@
</font>   $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/lpc-dma.h
 PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/lpc-dma.h
 
<font color='#880000'>-$(PROJECT_INCLUDE)/bsp/irq-config.h: include/irq-config.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
-       $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/irq-config.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/irq-config.h
-
</font> $(PROJECT_INCLUDE)/bsp/irq.h: include/irq.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/irq.h
 PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/irq.h
</pre>
<p> </p>
<a name='cs7'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>sh</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-04-30 Sebastian Huber <sebastian.huber@embedded-brains.de>

        * Makefile.am, preinstall.am: Added generic interrupt support modules.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/smdk2410/ChangeLog.diff?r1=text&tr1=1.28&r2=text&tr2=1.29&diff_format=h">M</a></td><td width='1%'>1.29</td><td width='100%'>c/src/lib/libbsp/arm/smdk2410/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/smdk2410/Makefile.am.diff?r1=text&tr1=1.15&r2=text&tr2=1.16&diff_format=h">M</a></td><td width='1%'>1.16</td><td width='100%'>c/src/lib/libbsp/arm/smdk2410/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/smdk2410/preinstall.am.diff?r1=text&tr1=1.3&r2=text&tr2=1.4&diff_format=h">M</a></td><td width='1%'>1.4</td><td width='100%'>c/src/lib/libbsp/arm/smdk2410/preinstall.am</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/smdk2410/ChangeLog:1.28 rtems/c/src/lib/libbsp/arm/smdk2410/ChangeLog:1.29
--- rtems/c/src/lib/libbsp/arm/smdk2410/ChangeLog:1.28  Fri Apr 30 08:40:13 2010
+++ rtems/c/src/lib/libbsp/arm/smdk2410/ChangeLog       Fri Apr 30 08:54:07 2010
</font><font color='#997700'>@@ -1,5 +1,9 @@
</font> 2010-04-30        Sebastian Huber <sebastian.huber@embedded-brains.de>
 
<font color='#000088'>+   * Makefile.am, preinstall.am: Added generic interrupt support modules.
+
+2010-04-30     Sebastian Huber <sebastian.huber@embedded-brains.de>
+
</font>   * make/custom/smdk2410.cfg: Use VFP floating point model.
 
 2010-04-09     Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/smdk2410/Makefile.am:1.15 rtems/c/src/lib/libbsp/arm/smdk2410/Makefile.am:1.16
--- rtems/c/src/lib/libbsp/arm/smdk2410/Makefile.am:1.15        Fri Apr  9 15:24:57 2010
+++ rtems/c/src/lib/libbsp/arm/smdk2410/Makefile.am     Fri Apr 30 08:54:08 2010
</font><font color='#997700'>@@ -14,6 +14,8 @@
</font> include_HEADERS += ../gp32/smc/smc.h
 include_HEADERS += ../../shared/include/tm27.h
 
<font color='#000088'>+include_bsp_HEADERS =
+
</font> nodist_include_HEADERS = include/bspopts.h
 nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
 DISTCLEANFILES = include/bspopts.h
<font color='#997700'>@@ -38,6 +40,14 @@
</font>     ../../shared/gnatinstallhandler.c
 # console
 libbsp_a_SOURCES += ../gp32/console/uart.c ../../shared/console.c
<font color='#000088'>+# IRQ
+include_bsp_HEADERS += ../../shared/include/irq-generic.h \
+       ../../shared/include/irq-info.h
+libbsp_a_SOURCES += ../../shared/src/irq-generic.c \
+       ../../shared/src/irq-legacy.c \
+       ../../shared/src/irq-info.c \
+       ../../shared/src/irq-shell.c \
+       ../../shared/src/irq-server.c
</font> # abort
 libbsp_a_SOURCES += ../shared/abort/abort.c
 # smc

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/smdk2410/preinstall.am:1.3 rtems/c/src/lib/libbsp/arm/smdk2410/preinstall.am:1.4
--- rtems/c/src/lib/libbsp/arm/smdk2410/preinstall.am:1.3       Thu Sep 25 23:04:51 2008
+++ rtems/c/src/lib/libbsp/arm/smdk2410/preinstall.am   Fri Apr 30 08:54:08 2010
</font><font color='#997700'>@@ -69,3 +69,11 @@
</font>   $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
 PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds
 
<font color='#000088'>+$(PROJECT_INCLUDE)/bsp/irq-generic.h: ../../shared/include/irq-generic.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
+       $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/irq-generic.h
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/irq-generic.h
+
+$(PROJECT_INCLUDE)/bsp/irq-info.h: ../../shared/include/irq-info.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
+       $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/irq-info.h
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/irq-info.h
+
</font></pre>
<p> </p>

<p>--<br />
<small>Generated by <a href="http://www.codewiz.org/projects/index.html#loginfo">Deluxe Loginfo</a> 2.122 by Bernardo Innocenti <bernie@develer.com></small></p>
</body>
</html>