<!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-10-14)</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-10-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
* include/lpc24xx.h, misc/system-clocks.c: Removed superfluous include
of <bsp/utility.h>.
</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.55&r2=text&tr2=1.56&diff_format=h">M</a></td><td width='1%'>1.56</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/include/lpc24xx.h.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/libbsp/arm/lpc24xx/include/lpc24xx.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/lpc24xx/misc/system-clocks.c.diff?r1=text&tr1=1.10&r2=text&tr2=1.11&diff_format=h">M</a></td><td width='1%'>1.11</td><td width='100%'>c/src/lib/libbsp/arm/lpc24xx/misc/system-clocks.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/lpc24xx/ChangeLog:1.55 rtems/c/src/lib/libbsp/arm/lpc24xx/ChangeLog:1.56
--- rtems/c/src/lib/libbsp/arm/lpc24xx/ChangeLog:1.55 Thu Oct 14 02:18:38 2010
+++ rtems/c/src/lib/libbsp/arm/lpc24xx/ChangeLog Thu Oct 14 04:34:06 2010
</font><font color='#997700'>@@ -1,5 +1,10 @@
</font> 2010-10-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
<font color='#000088'>+ * include/lpc24xx.h, misc/system-clocks.c: Removed superfluous include
+ of <bsp/utility.h>.
+
+2010-10-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
+
</font> * misc/system-clocks.c: Fixed lpc24xx_micro_seconds_delay().
* misc/io.c: Added LCD pin configuration.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/lpc24xx/include/lpc24xx.h:1.11 rtems/c/src/lib/libbsp/arm/lpc24xx/include/lpc24xx.h:1.12
--- rtems/c/src/lib/libbsp/arm/lpc24xx/include/lpc24xx.h:1.11 Thu May 20 09:23:13 2010
+++ rtems/c/src/lib/libbsp/arm/lpc24xx/include/lpc24xx.h Thu Oct 14 04:34:06 2010
</font><font color='#997700'>@@ -23,8 +23,6 @@
</font>
#include <stdint.h>
<font color='#880000'>-#include <bsp/utility.h>
-
</font> /**
* @defgroup lpc24xx_regs Register Definitions
*
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/lpc24xx/misc/system-clocks.c:1.10 rtems/c/src/lib/libbsp/arm/lpc24xx/misc/system-clocks.c:1.11
--- rtems/c/src/lib/libbsp/arm/lpc24xx/misc/system-clocks.c:1.10 Thu Oct 14 01:56:03 2010
+++ rtems/c/src/lib/libbsp/arm/lpc24xx/misc/system-clocks.c Thu Oct 14 04:34:06 2010
</font><font color='#997700'>@@ -19,7 +19,6 @@
</font> */
#include <bsp.h>
<font color='#880000'>-#include <bsp/utility.h>
</font> #include <bsp/lpc24xx.h>
#include <bsp/system-clocks.h>
</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-10-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
* include/utility.h: Renamed macros.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/shared/ChangeLog.diff?r1=text&tr1=1.178&r2=text&tr2=1.179&diff_format=h">M</a></td><td width='1%'>1.179</td><td width='100%'>c/src/lib/libbsp/shared/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/shared/include/utility.h.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/shared/include/utility.h</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/shared/ChangeLog:1.178 rtems/c/src/lib/libbsp/shared/ChangeLog:1.179
--- rtems/c/src/lib/libbsp/shared/ChangeLog:1.178 Wed Sep 8 06:58:15 2010
+++ rtems/c/src/lib/libbsp/shared/ChangeLog Thu Oct 14 04:34:57 2010
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2010-10-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+ * include/utility.h: Renamed macros.
+
</font> 2010-09-08 Sebastian Huber <sebastian.huber@embedded-brains.de>
* include/utility.h: More macros. Changed casts.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/shared/include/utility.h:1.7 rtems/c/src/lib/libbsp/shared/include/utility.h:1.8
--- rtems/c/src/lib/libbsp/shared/include/utility.h:1.7 Wed Sep 8 06:58:16 2010
+++ rtems/c/src/lib/libbsp/shared/include/utility.h Thu Oct 14 04:34:57 2010
</font><font color='#997700'>@@ -24,128 +24,128 @@
</font>
#include <stdint.h>
<font color='#880000'>-#define BIT8(bit) \
</font><font color='#000088'>+#define BSP_BIT8(bit) \
</font> ((uint8_t) (((uint8_t) 1) << (bit)))
<font color='#880000'>-#define MASK8(first_bit, last_bit) \
- ((uint8_t) ((BIT8((last_bit) - (first_bit) + 1) - 1) << (first_bit)))
</font><font color='#000088'>+#define BSP_MSK8(first_bit, last_bit) \
+ ((uint8_t) ((BSP_BIT8((last_bit) - (first_bit) + 1) - 1) << (first_bit)))
</font>
<font color='#880000'>-#define FIELD8(val, first_bit, last_bit) \
- ((uint8_t) (((val) << (first_bit)) & MASK8(first_bit, last_bit)))
</font><font color='#000088'>+#define BSP_FLD8(val, first_bit, last_bit) \
+ ((uint8_t) (((val) << (first_bit)) & BSP_MSK8(first_bit, last_bit)))
</font>
<font color='#880000'>-#define GETFIELD8(reg, first_bit, last_bit) \
- ((uint8_t) (((reg) & MASK8(first_bit, last_bit)) >> (first_bit)))
</font><font color='#000088'>+#define BSP_FLD8GET(reg, first_bit, last_bit) \
+ ((uint8_t) (((reg) & BSP_MSK8(first_bit, last_bit)) >> (first_bit)))
</font>
<font color='#880000'>-#define SETFIELD8(reg, val, first_bit, last_bit) \
- ((uint8_t) (((reg) & ~MASK8(first_bit, last_bit)) \
- | FIELD8(val, first_bit, last_bit)))
</font><font color='#000088'>+#define BSP_FLD8SET(reg, val, first_bit, last_bit) \
+ ((uint8_t) (((reg) & ~BSP_MSK8(first_bit, last_bit)) \
+ | BSP_FLD8(val, first_bit, last_bit)))
</font>
<font color='#880000'>-#define BIT16(bit) \
</font><font color='#000088'>+#define BSP_BIT16(bit) \
</font> ((uint16_t) (((uint16_t) 1) << (bit)))
<font color='#880000'>-#define MASK16(first_bit, last_bit) \
- ((uint16_t) ((BIT16((last_bit) - (first_bit) + 1) - 1) << (first_bit)))
</font><font color='#000088'>+#define BSP_MSK16(first_bit, last_bit) \
+ ((uint16_t) ((BSP_BIT16((last_bit) - (first_bit) + 1) - 1) << (first_bit)))
</font>
<font color='#880000'>-#define FIELD16(val, first_bit, last_bit) \
- ((uint16_t) (((val) << (first_bit)) & MASK16(first_bit, last_bit)))
</font><font color='#000088'>+#define BSP_FLD16(val, first_bit, last_bit) \
+ ((uint16_t) (((val) << (first_bit)) & BSP_MSK16(first_bit, last_bit)))
</font>
<font color='#880000'>-#define GETFIELD16(reg, first_bit, last_bit) \
- ((uint16_t) (((reg) & MASK16(first_bit, last_bit)) >> (first_bit)))
</font><font color='#000088'>+#define BSP_FLD16GET(reg, first_bit, last_bit) \
+ ((uint16_t) (((reg) & BSP_MSK16(first_bit, last_bit)) >> (first_bit)))
</font>
<font color='#880000'>-#define SETFIELD16(reg, val, first_bit, last_bit) \
- ((uint16_t) (((reg) & ~MASK16(first_bit, last_bit)) \
- | FIELD16(val, first_bit, last_bit)))
</font><font color='#000088'>+#define BSP_FLD16SET(reg, val, first_bit, last_bit) \
+ ((uint16_t) (((reg) & ~BSP_MSK16(first_bit, last_bit)) \
+ | BSP_FLD16(val, first_bit, last_bit)))
</font>
<font color='#880000'>-#define BIT32(bit) \
</font><font color='#000088'>+#define BSP_BIT32(bit) \
</font> ((uint32_t) (((uint32_t) 1) << (bit)))
<font color='#880000'>-#define MASK32(first_bit, last_bit) \
- ((uint32_t) ((BIT32((last_bit) - (first_bit) + 1) - 1) << (first_bit)))
</font><font color='#000088'>+#define BSP_MSK32(first_bit, last_bit) \
+ ((uint32_t) ((BSP_BIT32((last_bit) - (first_bit) + 1) - 1) << (first_bit)))
</font>
<font color='#880000'>-#define FIELD32(val, first_bit, last_bit) \
- ((uint32_t) (((val) << (first_bit)) & MASK32(first_bit, last_bit)))
</font><font color='#000088'>+#define BSP_FLD32(val, first_bit, last_bit) \
+ ((uint32_t) (((val) << (first_bit)) & BSP_MSK32(first_bit, last_bit)))
</font>
<font color='#880000'>-#define GETFIELD32(reg, first_bit, last_bit) \
- ((uint32_t) (((reg) & MASK32(first_bit, last_bit)) >> (first_bit)))
</font><font color='#000088'>+#define BSP_FLD32GET(reg, first_bit, last_bit) \
+ ((uint32_t) (((reg) & BSP_MSK32(first_bit, last_bit)) >> (first_bit)))
</font>
<font color='#880000'>-#define SETFIELD32(reg, val, first_bit, last_bit) \
- ((uint32_t) (((reg) & ~MASK32(first_bit, last_bit)) \
- | FIELD32(val, first_bit, last_bit)))
</font><font color='#000088'>+#define BSP_FLD32SET(reg, val, first_bit, last_bit) \
+ ((uint32_t) (((reg) & ~BSP_MSK32(first_bit, last_bit)) \
+ | BSP_FLD32(val, first_bit, last_bit)))
</font>
<font color='#880000'>-#define BIT64(bit) \
</font><font color='#000088'>+#define BSP_BIT64(bit) \
</font> ((uint64_t) (((uint64_t) 1) << (bit)))
<font color='#880000'>-#define MASK64(first_bit, last_bit) \
- ((uint64_t) ((BIT64((last_bit) - (first_bit) + 1) - 1) << (first_bit)))
</font><font color='#000088'>+#define BSP_MSK64(first_bit, last_bit) \
+ ((uint64_t) ((BSP_BIT64((last_bit) - (first_bit) + 1) - 1) << (first_bit)))
</font>
<font color='#880000'>-#define FIELD64(val, first_bit, last_bit) \
- ((uint64_t) (((val) << (first_bit)) & MASK64(first_bit, last_bit)))
</font><font color='#000088'>+#define BSP_FLD64(val, first_bit, last_bit) \
+ ((uint64_t) (((val) << (first_bit)) & BSP_MSK64(first_bit, last_bit)))
</font>
<font color='#880000'>-#define GETFIELD64(reg, first_bit, last_bit) \
- ((uint64_t) (((reg) & MASK64(first_bit, last_bit)) >> (first_bit)))
</font><font color='#000088'>+#define BSP_FLD64GET(reg, first_bit, last_bit) \
+ ((uint64_t) (((reg) & BSP_MSK64(first_bit, last_bit)) >> (first_bit)))
</font>
<font color='#880000'>-#define SETFIELD64(reg, val, first_bit, last_bit) \
- ((uint64_t) (((reg) & ~MASK64(first_bit, last_bit)) \
- | FIELD64(val, first_bit, last_bit)))
</font><font color='#000088'>+#define BSP_FLD64SET(reg, val, first_bit, last_bit) \
+ ((uint64_t) (((reg) & ~BSP_MSK64(first_bit, last_bit)) \
+ | BSP_FLD64(val, first_bit, last_bit)))
</font>
<font color='#880000'>-#define BBIT8(bit) \
- BIT8(7 - (bit))
</font><font color='#000088'>+#define BSP_BBIT8(bit) \
+ BSP_BIT8(7 - (bit))
</font>
<font color='#880000'>-#define BMASK8(first_bit, last_bit) \
- MASK8(7 - (last_bit), 7 - (first_bit))
</font><font color='#000088'>+#define BSP_BMSK8(first_bit, last_bit) \
+ BSP_MSK8(7 - (last_bit), 7 - (first_bit))
</font>
<font color='#880000'>-#define BFIELD8(val, first_bit, last_bit) \
- FIELD8(val, 7 - (last_bit), 7 - (first_bit))
</font><font color='#000088'>+#define BSP_BFLD8(val, first_bit, last_bit) \
+ BSP_FLD8(val, 7 - (last_bit), 7 - (first_bit))
</font>
<font color='#880000'>-#define BGETFIELD8(reg, first_bit, last_bit) \
- GETFIELD8(reg, 7 - (last_bit), 7 - (first_bit))
</font><font color='#000088'>+#define BSP_BFLD8GET(reg, first_bit, last_bit) \
+ BSP_FLD8GET(reg, 7 - (last_bit), 7 - (first_bit))
</font>
<font color='#880000'>-#define BSETFIELD8(reg, val, first_bit, last_bit) \
- SETFIELD8(reg, val, 7 - (last_bit), 7 - (first_bit))
</font><font color='#000088'>+#define BSP_BFLD8SET(reg, val, first_bit, last_bit) \
+ BSP_FLD8SET(reg, val, 7 - (last_bit), 7 - (first_bit))
</font>
<font color='#880000'>-#define BBIT16(bit) \
- BIT16(15 - (bit))
</font><font color='#000088'>+#define BSP_BBIT16(bit) \
+ BSP_BIT16(15 - (bit))
</font>
<font color='#880000'>-#define BMASK16(first_bit, last_bit) \
- MASK16(15 - (last_bit), 15 - (first_bit))
</font><font color='#000088'>+#define BSP_BMSK16(first_bit, last_bit) \
+ BSP_MSK16(15 - (last_bit), 15 - (first_bit))
</font>
<font color='#880000'>-#define BFIELD16(val, first_bit, last_bit) \
- FIELD16(val, 15 - (last_bit), 15 - (first_bit))
</font><font color='#000088'>+#define BSP_BFLD16(val, first_bit, last_bit) \
+ BSP_FLD16(val, 15 - (last_bit), 15 - (first_bit))
</font>
<font color='#880000'>-#define BGETFIELD16(reg, first_bit, last_bit) \
- GETFIELD16(reg, 15 - (last_bit), 15 - (first_bit))
</font><font color='#000088'>+#define BSP_BFLD16GET(reg, first_bit, last_bit) \
+ BSP_FLD16GET(reg, 15 - (last_bit), 15 - (first_bit))
</font>
<font color='#880000'>-#define BSETFIELD16(reg, val, first_bit, last_bit) \
- SETFIELD16(reg, val, 15 - (last_bit), 15 - (first_bit))
</font><font color='#000088'>+#define BSP_BFLD16SET(reg, val, first_bit, last_bit) \
+ BSP_FLD16SET(reg, val, 15 - (last_bit), 15 - (first_bit))
</font>
<font color='#880000'>-#define BBIT32(bit) \
- BIT32(31 - (bit))
</font><font color='#000088'>+#define BSP_BBIT32(bit) \
+ BSP_BIT32(31 - (bit))
</font>
<font color='#880000'>-#define BMASK32(first_bit, last_bit) \
- MASK32(31 - (last_bit), 31 - (first_bit))
</font><font color='#000088'>+#define BSP_BMSK32(first_bit, last_bit) \
+ BSP_MSK32(31 - (last_bit), 31 - (first_bit))
</font>
<font color='#880000'>-#define BFIELD32(val, first_bit, last_bit) \
- FIELD32(val, 31 - (last_bit), 31 - (first_bit))
</font><font color='#000088'>+#define BSP_BFLD32(val, first_bit, last_bit) \
+ BSP_FLD32(val, 31 - (last_bit), 31 - (first_bit))
</font>
<font color='#880000'>-#define BGETFIELD32(reg, first_bit, last_bit) \
- GETFIELD32(reg, 31 - (last_bit), 31 - (first_bit))
</font><font color='#000088'>+#define BSP_BFLD32GET(reg, first_bit, last_bit) \
+ BSP_FLD32GET(reg, 31 - (last_bit), 31 - (first_bit))
</font>
<font color='#880000'>-#define BSETFIELD32(reg, val, first_bit, last_bit) \
- SETFIELD32(reg, val, 31 - (last_bit), 31 - (first_bit))
</font><font color='#000088'>+#define BSP_BFLD32SET(reg, val, first_bit, last_bit) \
+ BSP_FLD32SET(reg, val, 31 - (last_bit), 31 - (first_bit))
</font>
<font color='#880000'>-#define BBIT64(bit) \
- BIT64(63 - (bit))
</font><font color='#000088'>+#define BSP_BBIT64(bit) \
+ BSP_BIT64(63 - (bit))
</font>
<font color='#880000'>-#define BMASK64(first_bit, last_bit) \
- MASK64(63 - (last_bit), 63 - (first_bit))
</font><font color='#000088'>+#define BSP_BMSK64(first_bit, last_bit) \
+ BSP_MSK64(63 - (last_bit), 63 - (first_bit))
</font>
<font color='#880000'>-#define BFIELD64(val, first_bit, last_bit) \
- FIELD64(val, 63 - (last_bit), 63 - (first_bit))
</font><font color='#000088'>+#define BSP_BFLD64(val, first_bit, last_bit) \
+ BSP_FLD64(val, 63 - (last_bit), 63 - (first_bit))
</font>
<font color='#880000'>-#define BGETFIELD64(reg, first_bit, last_bit) \
- GETFIELD64(reg, 63 - (last_bit), 63 - (first_bit))
</font><font color='#000088'>+#define BSP_BFLD64GET(reg, first_bit, last_bit) \
+ BSP_FLD64GET(reg, 63 - (last_bit), 63 - (first_bit))
</font>
<font color='#880000'>-#define BSETFIELD64(reg, val, first_bit, last_bit) \
- SETFIELD64(reg, val, 63 - (last_bit), 63 - (first_bit))
</font><font color='#000088'>+#define BSP_BFLD64SET(reg, val, first_bit, last_bit) \
+ BSP_FLD64SET(reg, val, 63 - (last_bit), 63 - (first_bit))
</font>
#endif /* LIBCPU_SHARED_UTILITY_H */
</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-10-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
* include/emc.h, include/i2c.h, include/lpc32xx.h, include/nand-mlc.h:
Update for <bsp/utility.h> changes.
</pre></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.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/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/include/emc.h.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/libbsp/arm/lpc32xx/include/emc.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/lpc32xx/include/i2c.h.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/libbsp/arm/lpc32xx/include/i2c.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/lpc32xx/include/lpc32xx.h.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/libbsp/arm/lpc32xx/include/lpc32xx.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/lpc32xx/include/nand-mlc.h.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/libbsp/arm/lpc32xx/include/nand-mlc.h</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/lpc32xx/ChangeLog:1.17 rtems/c/src/lib/libbsp/arm/lpc32xx/ChangeLog:1.18
--- rtems/c/src/lib/libbsp/arm/lpc32xx/ChangeLog:1.17 Tue Sep 28 09:38:26 2010
+++ rtems/c/src/lib/libbsp/arm/lpc32xx/ChangeLog Thu Oct 14 04:37:18 2010
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2010-10-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+ * include/emc.h, include/i2c.h, include/lpc32xx.h, include/nand-mlc.h:
+ Update for <bsp/utility.h> changes.
+
</font> 2010-09-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
* misc/mmu.c: New file.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/lpc32xx/include/emc.h:1.1 rtems/c/src/lib/libbsp/arm/lpc32xx/include/emc.h:1.2
--- rtems/c/src/lib/libbsp/arm/lpc32xx/include/emc.h:1.1 Wed Jun 23 03:27:56 2010
+++ rtems/c/src/lib/libbsp/arm/lpc32xx/include/emc.h Thu Oct 14 04:37:18 2010
</font><font color='#997700'>@@ -47,19 +47,19 @@
</font> * @{
*/
<font color='#880000'>-#define SDRAMCLK_CLOCKS_DIS BIT32(0)
-#define SDRAMCLK_DDR_MODE BIT32(1)
-#define SDRAMCLK_DDR_DQSIN_DELAY(val) FIELD32(val, 2, 6)
-#define SDRAMCLK_RTC_TICK_EN BIT32(7)
-#define SDRAMCLK_SW_DDR_CAL BIT32(8)
-#define SDRAMCLK_CAL_DELAY BIT32(9)
-#define SDRAMCLK_SENSITIVITY_FACTOR(val) FIELD32(val, 10, 12)
-#define SDRAMCLK_DCA_STATUS BIT32(13)
-#define SDRAMCLK_COMMAND_DELAY(val) FIELD32(val, 14, 18)
-#define SDRAMCLK_SW_DDR_RESET BIT32(19)
-#define SDRAMCLK_PIN_1_FAST BIT32(20)
-#define SDRAMCLK_PIN_2_FAST BIT32(21)
-#define SDRAMCLK_PIN_3_FAST BIT32(22)
</font><font color='#000088'>+#define SDRAMCLK_CLOCKS_DIS BSP_BIT32(0)
+#define SDRAMCLK_DDR_MODE BSP_BIT32(1)
+#define SDRAMCLK_DDR_DQSIN_DELAY(val) BSP_FLD32(val, 2, 6)
+#define SDRAMCLK_RTC_TICK_EN BSP_BIT32(7)
+#define SDRAMCLK_SW_DDR_CAL BSP_BIT32(8)
+#define SDRAMCLK_CAL_DELAY BSP_BIT32(9)
+#define SDRAMCLK_SENSITIVITY_FACTOR(val) BSP_FLD32(val, 10, 12)
+#define SDRAMCLK_DCA_STATUS BSP_BIT32(13)
+#define SDRAMCLK_COMMAND_DELAY(val) BSP_FLD32(val, 14, 18)
+#define SDRAMCLK_SW_DDR_RESET BSP_BIT32(19)
+#define SDRAMCLK_PIN_1_FAST BSP_BIT32(20)
+#define SDRAMCLK_PIN_2_FAST BSP_BIT32(21)
+#define SDRAMCLK_PIN_3_FAST BSP_BIT32(22)
</font>
/** @} */
<font color='#997700'>@@ -69,8 +69,8 @@
</font> * @{
*/
<font color='#880000'>-#define EMC_CTRL_EN BIT32(0)
-#define EMC_CTRL_LOW_POWER BIT32(2)
</font><font color='#000088'>+#define EMC_CTRL_EN BSP_BIT32(0)
+#define EMC_CTRL_LOW_POWER BSP_BIT32(2)
</font>
/** @} */
<font color='#997700'>@@ -80,18 +80,18 @@
</font> * @{
*/
<font color='#880000'>-#define EMC_DYN_CTRL_CE BIT32(0)
-#define EMC_DYN_CTRL_CS BIT32(1)
-#define EMC_DYN_CTRL_SR BIT32(2)
-#define EMC_DYN_CTRL_SRMCC BIT32(3)
-#define EMC_DYN_CTRL_IMCC BIT32(4)
-#define EMC_DYN_CTRL_MCC BIT32(5)
-#define EMC_DYN_CTRL_I_MASK MASK32(7, 8)
-#define EMC_DYN_CTRL_I_NORMAL FIELD32(0x0, 7, 8)
-#define EMC_DYN_CTRL_I_MODE FIELD32(0x1, 7, 8)
-#define EMC_DYN_CTRL_I_PALL FIELD32(0x2, 7, 8)
-#define EMC_DYN_CTRL_I_NOP FIELD32(0x3, 7, 8)
-#define EMC_DYN_CTRL_DP BIT32(9)
</font><font color='#000088'>+#define EMC_DYN_CTRL_CE BSP_BIT32(0)
+#define EMC_DYN_CTRL_CS BSP_BIT32(1)
+#define EMC_DYN_CTRL_SR BSP_BIT32(2)
+#define EMC_DYN_CTRL_SRMCC BSP_BIT32(3)
+#define EMC_DYN_CTRL_IMCC BSP_BIT32(4)
+#define EMC_DYN_CTRL_MCC BSP_BIT32(5)
+#define EMC_DYN_CTRL_I_MASK BSP_MSK32(7, 8)
+#define EMC_DYN_CTRL_I_NORMAL BSP_FLD32(0x0, 7, 8)
+#define EMC_DYN_CTRL_I_MODE BSP_FLD32(0x1, 7, 8)
+#define EMC_DYN_CTRL_I_PALL BSP_FLD32(0x2, 7, 8)
+#define EMC_DYN_CTRL_I_NOP BSP_FLD32(0x3, 7, 8)
+#define EMC_DYN_CTRL_DP BSP_BIT32(9)
</font>
/** @} */
<font color='#997700'>@@ -101,10 +101,10 @@
</font> * @{
*/
<font color='#880000'>-#define EMC_DYN_READ_CONFIG_SDR_STRAT(val) FIELD32(val, 0, 1)
-#define EMC_DYN_READ_CONFIG_SDR_POL_POS BIT32(4)
-#define EMC_DYN_READ_CONFIG_DDR_STRAT(val) FIELD32(val, 8, 9)
-#define EMC_DYN_READ_CONFIG_DDR_POL_POS BIT32(12)
</font><font color='#000088'>+#define EMC_DYN_READ_CONFIG_SDR_STRAT(val) BSP_FLD32(val, 0, 1)
+#define EMC_DYN_READ_CONFIG_SDR_POL_POS BSP_BIT32(4)
+#define EMC_DYN_READ_CONFIG_DDR_STRAT(val) BSP_FLD32(val, 8, 9)
+#define EMC_DYN_READ_CONFIG_DDR_POL_POS BSP_BIT32(12)
</font>
/** @} */
<font color='#997700'>@@ -114,9 +114,9 @@
</font> * @{
*/
<font color='#880000'>-#define EMC_DYN_CFG_MD(val) FIELD32(val, 0, 2)
-#define EMC_DYN_CFG_AM(val) FIELD32(val, 7, 14)
-#define EMC_DYN_CFG_P(val) BIT32(20)
</font><font color='#000088'>+#define EMC_DYN_CFG_MD(val) BSP_FLD32(val, 0, 2)
+#define EMC_DYN_CFG_AM(val) BSP_FLD32(val, 7, 14)
+#define EMC_DYN_CFG_P(val) BSP_BIT32(20)
</font>
/** @} */
<font color='#997700'>@@ -126,8 +126,8 @@
</font> * @{
*/
<font color='#880000'>-#define EMC_DYN_RAS(val) FIELD32(val, 0, 3)
-#define EMC_DYN_CAS(val) FIELD32(val, 7, 10)
</font><font color='#000088'>+#define EMC_DYN_RAS(val) BSP_FLD32(val, 0, 3)
+#define EMC_DYN_CAS(val) BSP_FLD32(val, 7, 10)
</font>
/** @} */
<font color='#997700'>@@ -137,7 +137,7 @@
</font> * @{
*/
<font color='#880000'>-#define EMC_AHB_PORT_BUFF_EN BIT32(0)
</font><font color='#000088'>+#define EMC_AHB_PORT_BUFF_EN BSP_BIT32(0)
</font>
/** @} */
<font color='#997700'>@@ -147,7 +147,7 @@
</font> * @{
*/
<font color='#880000'>-#define EMC_AHB_TIMEOUT(val) FIELD32(val, 0, 9)
</font><font color='#000088'>+#define EMC_AHB_TIMEOUT(val) BSP_FLD32(val, 0, 9)
</font>
/** @} */
<font color='#997700'>@@ -182,14 +182,14 @@
</font> #define SDRAM_EXTMODE_64MB(mode) \
(SDRAM_ADDR_BANK_64MB(1, 0) | SDRAM_ADDR_ROW_64MB(mode))
<font color='#880000'>-#define SDRAM_MODE_BURST_LENGTH(val) FIELD32(val, 0, 2)
-#define SDRAM_MODE_BURST_INTERLEAVE BIT32(3)
-#define SDRAM_MODE_CAS(val) FIELD32(val, 4, 6)
-#define SDRAM_MODE_TEST_MODE(val) FIELD32(val, 7, 8)
-#define SDRAM_MODE_WRITE_BURST_SINGLE_BIT BIT32(9)
</font><font color='#000088'>+#define SDRAM_MODE_BURST_LENGTH(val) BSP_FLD32(val, 0, 2)
+#define SDRAM_MODE_BURST_INTERLEAVE BSP_BIT32(3)
+#define SDRAM_MODE_CAS(val) BSP_FLD32(val, 4, 6)
+#define SDRAM_MODE_TEST_MODE(val) BSP_FLD32(val, 7, 8)
+#define SDRAM_MODE_WRITE_BURST_SINGLE_BIT BSP_BIT32(9)
</font>
<font color='#880000'>-#define SDRAM_EXTMODE_PASR(val) FIELD32(val, 0, 2)
-#define SDRAM_EXTMODE_DRIVER_STRENGTH(val) FIELD32(val, 5, 6)
</font><font color='#000088'>+#define SDRAM_EXTMODE_PASR(val) BSP_FLD32(val, 0, 2)
+#define SDRAM_EXTMODE_DRIVER_STRENGTH(val) BSP_FLD32(val, 5, 6)
</font>
/** @} */
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/lpc32xx/include/i2c.h:1.1 rtems/c/src/lib/libbsp/arm/lpc32xx/include/i2c.h:1.2
--- rtems/c/src/lib/libbsp/arm/lpc32xx/include/i2c.h:1.1 Wed Jun 23 03:27:56 2010
+++ rtems/c/src/lib/libbsp/arm/lpc32xx/include/i2c.h Thu Oct 14 04:37:18 2010
</font><font color='#997700'>@@ -49,11 +49,11 @@
</font> * @{
*/
<font color='#880000'>-#define I2CCLK_1_EN BIT32(0)
-#define I2CCLK_2_EN BIT32(1)
-#define I2CCLK_1_HIGH_DRIVE BIT32(2)
-#define I2CCLK_2_HIGH_DRIVE BIT32(3)
-#define I2CCLK_USB_HIGH_DRIVE BIT32(4)
</font><font color='#000088'>+#define I2CCLK_1_EN BSP_BIT32(0)
+#define I2CCLK_2_EN BSP_BIT32(1)
+#define I2CCLK_1_HIGH_DRIVE BSP_BIT32(2)
+#define I2CCLK_2_HIGH_DRIVE BSP_BIT32(3)
+#define I2CCLK_USB_HIGH_DRIVE BSP_BIT32(4)
</font>
/** @} */
<font color='#997700'>@@ -63,10 +63,10 @@
</font> * @{
*/
<font color='#880000'>-#define I2C_TX_READ BIT32(0)
-#define I2C_TX_ADDR(val) FIELD32(val, 1, 7)
-#define I2C_TX_START BIT32(8)
-#define I2C_TX_STOP BIT32(9)
</font><font color='#000088'>+#define I2C_TX_READ BSP_BIT32(0)
+#define I2C_TX_ADDR(val) BSP_FLD32(val, 1, 7)
+#define I2C_TX_START BSP_BIT32(8)
+#define I2C_TX_STOP BSP_BIT32(9)
</font>
/** @} */
<font color='#997700'>@@ -76,20 +76,20 @@
</font> * @{
*/
<font color='#880000'>-#define I2C_STAT_TDI BIT32(0)
-#define I2C_STAT_AFI BIT32(1)
-#define I2C_STAT_NAI BIT32(2)
-#define I2C_STAT_DRMI BIT32(3)
-#define I2C_STAT_DRSI BIT32(4)
-#define I2C_STAT_ACTIVE BIT32(5)
-#define I2C_STAT_SCL BIT32(6)
-#define I2C_STAT_SDA BIT32(7)
-#define I2C_STAT_RFF BIT32(8)
-#define I2C_STAT_RFE BIT32(9)
-#define I2C_STAT_TFF BIT32(10)
-#define I2C_STAT_TFE BIT32(11)
-#define I2C_STAT_TFFS BIT32(12)
-#define I2C_STAT_TFES BIT32(13)
</font><font color='#000088'>+#define I2C_STAT_TDI BSP_BIT32(0)
+#define I2C_STAT_AFI BSP_BIT32(1)
+#define I2C_STAT_NAI BSP_BIT32(2)
+#define I2C_STAT_DRMI BSP_BIT32(3)
+#define I2C_STAT_DRSI BSP_BIT32(4)
+#define I2C_STAT_ACTIVE BSP_BIT32(5)
+#define I2C_STAT_SCL BSP_BIT32(6)
+#define I2C_STAT_SDA BSP_BIT32(7)
+#define I2C_STAT_RFF BSP_BIT32(8)
+#define I2C_STAT_RFE BSP_BIT32(9)
+#define I2C_STAT_TFF BSP_BIT32(10)
+#define I2C_STAT_TFE BSP_BIT32(11)
+#define I2C_STAT_TFFS BSP_BIT32(12)
+#define I2C_STAT_TFES BSP_BIT32(13)
</font>
/** @} */
<font color='#997700'>@@ -99,17 +99,17 @@
</font> * @{
*/
<font color='#880000'>-#define I2C_CTRL_TDIE BIT32(0)
-#define I2C_CTRL_AFIE BIT32(1)
-#define I2C_CTRL_NAIE BIT32(2)
-#define I2C_CTRL_DRMIE BIT32(3)
-#define I2C_CTRL_DRSIE BIT32(4)
-#define I2C_CTRL_RFFIE BIT32(5)
-#define I2C_CTRL_RFDAIE BIT32(6)
-#define I2C_CTRL_TFFIO BIT32(7)
-#define I2C_CTRL_RESET BIT32(8)
-#define I2C_CTRL_SEVEN BIT32(9)
-#define I2C_CTRL_TFFSIE BIT32(10)
</font><font color='#000088'>+#define I2C_CTRL_TDIE BSP_BIT32(0)
+#define I2C_CTRL_AFIE BSP_BIT32(1)
+#define I2C_CTRL_NAIE BSP_BIT32(2)
+#define I2C_CTRL_DRMIE BSP_BIT32(3)
+#define I2C_CTRL_DRSIE BSP_BIT32(4)
+#define I2C_CTRL_RFFIE BSP_BIT32(5)
+#define I2C_CTRL_RFDAIE BSP_BIT32(6)
+#define I2C_CTRL_TFFIO BSP_BIT32(7)
+#define I2C_CTRL_RESET BSP_BIT32(8)
+#define I2C_CTRL_SEVEN BSP_BIT32(9)
+#define I2C_CTRL_TFFSIE BSP_BIT32(10)
</font>
/** @} */
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/lpc32xx/include/lpc32xx.h:1.9 rtems/c/src/lib/libbsp/arm/lpc32xx/include/lpc32xx.h:1.10
--- rtems/c/src/lib/libbsp/arm/lpc32xx/include/lpc32xx.h:1.9 Tue Sep 28 09:38:26 2010
+++ rtems/c/src/lib/libbsp/arm/lpc32xx/include/lpc32xx.h Thu Oct 14 04:37:18 2010
</font><font color='#997700'>@@ -178,16 +178,16 @@
</font> * @{
*/
<font color='#880000'>-#define PWR_STOP BIT32(0)
-#define PWR_HIGHCORE_ALWAYS BIT32(1)
-#define PWR_NORMAL_RUN_MODE BIT32(2)
-#define PWR_SYSCLKEN_ALWAYS BIT32(3)
-#define PWR_SYSCLKEN_HIGH BIT32(4)
-#define PWR_HIGHCORE_HIGH BIT32(5)
-#define PWR_SDRAM_AUTO_REFRESH BIT32(7)
-#define PWR_UPDATE_EMCSREFREQ BIT32(8)
-#define PWR_EMCSREFREQ BIT32(9)
-#define PWR_HCLK_USES_PERIPH_CLK BIT32(10)
</font><font color='#000088'>+#define PWR_STOP BSP_BIT32(0)
+#define PWR_HIGHCORE_ALWAYS BSP_BIT32(1)
+#define PWR_NORMAL_RUN_MODE BSP_BIT32(2)
+#define PWR_SYSCLKEN_ALWAYS BSP_BIT32(3)
+#define PWR_SYSCLKEN_HIGH BSP_BIT32(4)
+#define PWR_HIGHCORE_HIGH BSP_BIT32(5)
+#define PWR_SDRAM_AUTO_REFRESH BSP_BIT32(7)
+#define PWR_UPDATE_EMCSREFREQ BSP_BIT32(8)
+#define PWR_EMCSREFREQ BSP_BIT32(9)
+#define PWR_HCLK_USES_PERIPH_CLK BSP_BIT32(10)
</font>
/** @} */
<font color='#997700'>@@ -197,14 +197,14 @@
</font> * @{
*/
<font color='#880000'>-#define HCLK_PLL_LOCK BIT32(0)
-#define HCLK_PLL_M(val) FIELD32(val, 1, 8)
-#define HCLK_PLL_N(val) FIELD32(val, 9, 10)
-#define HCLK_PLL_P(val) FIELD32(val, 11, 12)
-#define HCLK_PLL_FBD_FCLKOUT BIT32(13)
-#define HCLK_PLL_DIRECT BIT32(14)
-#define HCLK_PLL_BYPASS BIT32(15)
-#define HCLK_PLL_POWER BIT32(16)
</font><font color='#000088'>+#define HCLK_PLL_LOCK BSP_BIT32(0)
+#define HCLK_PLL_M(val) BSP_FLD32(val, 1, 8)
+#define HCLK_PLL_N(val) BSP_FLD32(val, 9, 10)
+#define HCLK_PLL_P(val) BSP_FLD32(val, 11, 12)
+#define HCLK_PLL_FBD_FCLKOUT BSP_BIT32(13)
+#define HCLK_PLL_DIRECT BSP_BIT32(14)
+#define HCLK_PLL_BYPASS BSP_BIT32(15)
+#define HCLK_PLL_POWER BSP_BIT32(16)
</font>
/** @} */
<font color='#997700'>@@ -214,9 +214,9 @@
</font> * @{
*/
<font color='#880000'>-#define HCLK_DIV_HCLK(val) FIELD32(val, 0, 1)
-#define HCLK_DIV_PERIPH_CLK(val) FIELD32(val, 2, 6)
-#define HCLK_DIV_DDRAM_CLK(val) FIELD32(val, 7, 8)
</font><font color='#000088'>+#define HCLK_DIV_HCLK(val) BSP_FLD32(val, 0, 1)
+#define HCLK_DIV_PERIPH_CLK(val) BSP_FLD32(val, 2, 6)
+#define HCLK_DIV_DDRAM_CLK(val) BSP_FLD32(val, 7, 8)
</font>
/** @} */
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/lpc32xx/include/nand-mlc.h:1.1 rtems/c/src/lib/libbsp/arm/lpc32xx/include/nand-mlc.h:1.2
--- rtems/c/src/lib/libbsp/arm/lpc32xx/include/nand-mlc.h:1.1 Wed Jun 23 03:27:56 2010
+++ rtems/c/src/lib/libbsp/arm/lpc32xx/include/nand-mlc.h Thu Oct 14 04:37:18 2010
</font><font color='#997700'>@@ -91,12 +91,12 @@
</font> * @{
*/
<font color='#880000'>-#define FLASHCLK_IRQ_MLC BIT32(5)
-#define FLASHCLK_MLC_DMA_RNB BIT32(4)
-#define FLASHCLK_MLC_DMA_INT BIT32(3)
-#define FLASHCLK_SELECT_SLC BIT32(2)
-#define FLASHCLK_MLC_CLK_ENABLE BIT32(1)
-#define FLASHCLK_SLC_CLK_ENABLE BIT32(0)
</font><font color='#000088'>+#define FLASHCLK_IRQ_MLC BSP_BIT32(5)
+#define FLASHCLK_MLC_DMA_RNB BSP_BIT32(4)
+#define FLASHCLK_MLC_DMA_INT BSP_BIT32(3)
+#define FLASHCLK_SELECT_SLC BSP_BIT32(2)
+#define FLASHCLK_MLC_CLK_ENABLE BSP_BIT32(1)
+#define FLASHCLK_SLC_CLK_ENABLE BSP_BIT32(0)
</font>
/** @} */
<font color='#997700'>@@ -106,13 +106,13 @@
</font> * @{
*/
<font color='#880000'>-#define MLC_TIME_WR_LOW(val) FIELD32(val, 0, 3)
-#define MLC_TIME_WR_HIGH(val) FIELD32(val, 4, 7)
-#define MLC_TIME_RD_LOW(val) FIELD32(val, 8, 11)
-#define MLC_TIME_RD_HIGH(val) FIELD32(val, 12, 15)
-#define MLC_TIME_NAND_TA(val) FIELD32(val, 16, 18)
-#define MLC_TIME_BUSY_DELAY(val) FIELD32(val, 19, 23)
-#define MLC_TIME_TCEA_DELAY(val) FIELD32(val, 24, 25)
</font><font color='#000088'>+#define MLC_TIME_WR_LOW(val) BSP_FLD32(val, 0, 3)
+#define MLC_TIME_WR_HIGH(val) BSP_FLD32(val, 4, 7)
+#define MLC_TIME_RD_LOW(val) BSP_FLD32(val, 8, 11)
+#define MLC_TIME_RD_HIGH(val) BSP_FLD32(val, 12, 15)
+#define MLC_TIME_NAND_TA(val) BSP_FLD32(val, 16, 18)
+#define MLC_TIME_BUSY_DELAY(val) BSP_FLD32(val, 19, 23)
+#define MLC_TIME_TCEA_DELAY(val) BSP_FLD32(val, 24, 25)
</font>
/** @} */
<font color='#997700'>@@ -132,11 +132,11 @@
</font> * @{
*/
<font color='#880000'>-#define MLC_ISR_DECODER_FAILURE BIT32(6)
-#define MLC_ISR_ERRORS_DETECTED BIT32(3)
-#define MLC_ISR_ECC_READY BIT32(2)
-#define MLC_ISR_CONTROLLER_READY BIT32(1)
-#define MLC_ISR_NAND_READY BIT32(0)
</font><font color='#000088'>+#define MLC_ISR_DECODER_FAILURE BSP_BIT32(6)
+#define MLC_ISR_ERRORS_DETECTED BSP_BIT32(3)
+#define MLC_ISR_ECC_READY BSP_BIT32(2)
+#define MLC_ISR_CONTROLLER_READY BSP_BIT32(1)
+#define MLC_ISR_NAND_READY BSP_BIT32(0)
</font>
/** @} */
<font color='#997700'>@@ -146,10 +146,10 @@
</font> * @{
*/
<font color='#880000'>-#define MLC_ICR_SOFT_WRITE_PROT BIT32(3)
-#define MLC_ICR_LARGE_PAGES BIT32(2)
-#define MLC_ICR_ADDR_WORD_COUNT_4_5 BIT32(1)
-#define MLC_ICR_IO_BUS_16 BIT32(0)
</font><font color='#000088'>+#define MLC_ICR_SOFT_WRITE_PROT BSP_BIT32(3)
+#define MLC_ICR_LARGE_PAGES BSP_BIT32(2)
+#define MLC_ICR_ADDR_WORD_COUNT_4_5 BSP_BIT32(1)
+#define MLC_ICR_IO_BUS_16 BSP_BIT32(0)
</font>
/** @} */
<font color='#997700'>@@ -159,7 +159,7 @@
</font> * @{
*/
<font color='#880000'>-#define MLC_ECC_AUTO_ENC_PROGRAM BIT32(8)
</font><font color='#000088'>+#define MLC_ECC_AUTO_ENC_PROGRAM BSP_BIT32(8)
</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>