<!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 (2011-05-11)</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>
 <font color='#225522'><em>(on branch rtems-4-10-branch)</em></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-05-11 Sebastian Huber <sebastian.huber@embedded-brains.de>

        PR 1790/cpukit
        * libblock/src/flashdisk.c: Fixed memset() parameters.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/ChangeLog.diff?r1=text&tr1=1.2808&r2=text&tr2=1.2809&diff_format=h">M</a></td><td width='1%'>1.2809</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/ChangeLog.diff?r1=text&tr1=1.2346.2.86&r2=text&tr2=1.2346.2.87&diff_format=h">M</a></td><td width='1%'>1.2346.2.87</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libblock/src/flashdisk.c.diff?r1=text&tr1=1.20&r2=text&tr2=1.21&diff_format=h">M</a></td><td width='1%'>1.21</td><td width='100%'>cpukit/libblock/src/flashdisk.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libblock/src/flashdisk.c.diff?r1=text&tr1=1.18.2.1&r2=text&tr2=1.18.2.2&diff_format=h">M</a></td><td width='1%'>1.18.2.2</td><td width='100%'>cpukit/libblock/src/flashdisk.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2808 rtems/cpukit/ChangeLog:1.2809
--- rtems/cpukit/ChangeLog:1.2808       Tue May 10 22:01:54 2011
+++ rtems/cpukit/ChangeLog      Wed May 11 03:28:49 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-05-11    Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+       PR 1790/cpukit
+       * libblock/src/flashdisk.c: Fixed memset() parameters.
+
</font> 2011-05-11        Chris Johns <chrisj@rtems.org>
 
        PR 1774/filesystem

<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2346.2.86 rtems/cpukit/ChangeLog:1.2346.2.87
--- rtems/cpukit/ChangeLog:1.2346.2.86  Fri Apr 15 22:47:31 2011
+++ rtems/cpukit/ChangeLog      Wed May 11 03:29:16 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-05-11    Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+       PR 1790/cpukit
+       * libblock/src/flashdisk.c: Fixed memset() parameters.
+
</font> 2011-04-16        Chris Johns <chrisj@rtems.org>
 
        PR 1774/filesystem

<font color='#006600'>diff -u rtems/cpukit/libblock/src/flashdisk.c:1.20 rtems/cpukit/libblock/src/flashdisk.c:1.21
--- rtems/cpukit/libblock/src/flashdisk.c:1.20  Mon Aug 23 18:17:42 2010
+++ rtems/cpukit/libblock/src/flashdisk.c       Wed May 11 03:28:49 2011
</font><font color='#997700'>@@ -1736,7 +1736,7 @@
</font> #if RTEMS_FDISK_TRACE
     rtems_fdisk_info (fd, "read-block: no segment mapping: %d", block);
 #endif
<font color='#880000'>-    memset (buffer, fd->block_size, 0xff);
</font><font color='#000088'>+    memset (buffer, 0xff, fd->block_size);
</font>     return 0;
   }
 

<font color='#006600'>diff -u rtems/cpukit/libblock/src/flashdisk.c:1.18.2.1 rtems/cpukit/libblock/src/flashdisk.c:1.18.2.2
--- rtems/cpukit/libblock/src/flashdisk.c:1.18.2.1      Mon Jun 14 08:02:20 2010
+++ rtems/cpukit/libblock/src/flashdisk.c       Wed May 11 03:29:17 2011
</font><font color='#997700'>@@ -1731,7 +1731,7 @@
</font> #if RTEMS_FDISK_TRACE
     rtems_fdisk_info (fd, "read-block: no segment mapping: %d", block);
 #endif
<font color='#880000'>-    memset (buffer, fd->block_size, 0xff);
</font><font color='#000088'>+    memset (buffer, 0xff, fd->block_size);
</font>     return 0;
   }
 
</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>2011-05-11 Sebastian Huber <sebastian.huber@embedded-brains.de>

        * rtems/powerpc/registers.h: Added FSL_EIS_SVR define.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/cpu/powerpc/ChangeLog.diff?r1=text&tr1=1.163&r2=text&tr2=1.164&diff_format=h">M</a></td><td width='1%'>1.164</td><td width='100%'>cpukit/score/cpu/powerpc/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/cpu/powerpc/rtems/powerpc/registers.h.diff?r1=text&tr1=1.37&r2=text&tr2=1.38&diff_format=h">M</a></td><td width='1%'>1.38</td><td width='100%'>cpukit/score/cpu/powerpc/rtems/powerpc/registers.h</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/score/cpu/powerpc/ChangeLog:1.163 rtems/cpukit/score/cpu/powerpc/ChangeLog:1.164
--- rtems/cpukit/score/cpu/powerpc/ChangeLog:1.163      Wed Feb 16 02:27:14 2011
+++ rtems/cpukit/score/cpu/powerpc/ChangeLog    Wed May 11 03:43:28 2011
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2011-05-11    Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+       * rtems/powerpc/registers.h: Added FSL_EIS_SVR define.
+
</font> 2011-02-16        Sebastian Huber <sebastian.huber@embedded-brains.de>
 
        * rtems/powerpc/registers.h: Added FSL_EIS_ATBL, FSL_EIS_ATBL, and

<font color='#006600'>diff -u rtems/cpukit/score/cpu/powerpc/rtems/powerpc/registers.h:1.37 rtems/cpukit/score/cpu/powerpc/rtems/powerpc/registers.h:1.38
--- rtems/cpukit/score/cpu/powerpc/rtems/powerpc/registers.h:1.37       Wed Feb 16 02:27:14 2011
+++ rtems/cpukit/score/cpu/powerpc/rtems/powerpc/registers.h    Wed May 11 03:43:28 2011
</font><font color='#997700'>@@ -324,6 +324,10 @@
</font> #define BOOKE_PID 48
 #define BOOKE_PIR 286
 
<font color='#000088'>+/* Freescale Book E Implementation Standards (EIS): Hardware Implementation-Dependent Registers */
+
+#define FSL_EIS_SVR 1023
+
</font> /* Freescale Book E Implementation Standards (EIS): MMU Control and Status */
 
 #define FSL_EIS_MAS0 624
</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>2011-05-11 Sebastian Huber <sebastian.huber@embedded-brains.de>

        * libmisc/shell/main_msdosfmt.c: Fixed NULL pointer access.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/ChangeLog.diff?r1=text&tr1=1.2809&r2=text&tr2=1.2810&diff_format=h">M</a></td><td width='1%'>1.2810</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libmisc/shell/main_msdosfmt.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%'>cpukit/libmisc/shell/main_msdosfmt.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2809 rtems/cpukit/ChangeLog:1.2810
--- rtems/cpukit/ChangeLog:1.2809       Wed May 11 03:28:49 2011
+++ rtems/cpukit/ChangeLog      Wed May 11 03:44:33 2011
</font><font color='#997700'>@@ -1,5 +1,9 @@
</font> 2011-05-11        Sebastian Huber <sebastian.huber@embedded-brains.de>
 
<font color='#000088'>+   * libmisc/shell/main_msdosfmt.c: Fixed NULL pointer access.
+
+2011-05-11     Sebastian Huber <sebastian.huber@embedded-brains.de>
+
</font>   PR 1790/cpukit
        * libblock/src/flashdisk.c: Fixed memset() parameters.
 

<font color='#006600'>diff -u rtems/cpukit/libmisc/shell/main_msdosfmt.c:1.11 rtems/cpukit/libmisc/shell/main_msdosfmt.c:1.12
--- rtems/cpukit/libmisc/shell/main_msdosfmt.c:1.11     Tue Jun 15 00:42:28 2010
+++ rtems/cpukit/libmisc/shell/main_msdosfmt.c  Wed May 11 03:44:34 2011
</font><font color='#997700'>@@ -179,7 +179,7 @@
</font>   "msdosfmt",                                /* name */
   NULL,                                      /* usage */
   "files",                                   /* topic */
<font color='#880000'>-  NULL,                                      /* command */
</font><font color='#000088'>+  rtems_shell_main_msdos_format,             /* command */
</font>   &rtems_shell_MSDOSFMT_Command,             /* alias */
   NULL                                       /* next */
 };
</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>2011-05-11 Sebastian Huber <sebastian.huber@embedded-brains.de>

        * shared/include/powerpc-utility.h: Added ppc_fsl_system_version*()
        functions.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libcpu/powerpc/ChangeLog.diff?r1=text&tr1=1.381&r2=text&tr2=1.382&diff_format=h">M</a></td><td width='1%'>1.382</td><td width='100%'>c/src/lib/libcpu/powerpc/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libcpu/powerpc/shared/include/powerpc-utility.h.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/powerpc/shared/include/powerpc-utility.h</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libcpu/powerpc/ChangeLog:1.381 rtems/c/src/lib/libcpu/powerpc/ChangeLog:1.382
--- rtems/c/src/lib/libcpu/powerpc/ChangeLog:1.381      Thu Mar 10 09:04:21 2011
+++ rtems/c/src/lib/libcpu/powerpc/ChangeLog    Wed May 11 03:46:33 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-05-11    Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+       * shared/include/powerpc-utility.h: Added ppc_fsl_system_version*()
+       functions.
+
</font> 2011-03-10        Sebastian Huber <sebastian.huber@embedded-brains.de>
 
        * shared/include/cpuIdent.h: Fixed warnings.

<font color='#006600'>diff -u rtems/c/src/lib/libcpu/powerpc/shared/include/powerpc-utility.h:1.15 rtems/c/src/lib/libcpu/powerpc/shared/include/powerpc-utility.h:1.16
--- rtems/c/src/lib/libcpu/powerpc/shared/include/powerpc-utility.h:1.15        Wed Feb 16 02:33:02 2011
+++ rtems/c/src/lib/libcpu/powerpc/shared/include/powerpc-utility.h     Wed May 11 03:46:33 2011
</font><font color='#997700'>@@ -771,6 +771,41 @@
</font>   PPC_SET_SPECIAL_PURPOSE_REGISTER(BOOKE_PIR, val);
 }
 
<font color='#000088'>+static inline uint32_t ppc_fsl_system_version(void)
+{
+  return PPC_SPECIAL_PURPOSE_REGISTER(FSL_EIS_SVR);
+}
+
+static inline uint32_t ppc_fsl_system_version_cid(uint32_t svr)
+{
+  return (svr >> 28) & 0xf;
+}
+
+static inline uint32_t ppc_fsl_system_version_sid(uint32_t svr)
+{
+  return (svr >> 16) & 0xfff;
+}
+
+static inline uint32_t ppc_fsl_system_version_proc(uint32_t svr)
+{
+  return (svr >> 12) & 0xf;
+}
+
+static inline uint32_t ppc_fsl_system_version_mfg(uint32_t svr)
+{
+  return (svr >> 8) & 0xf;
+}
+
+static inline uint32_t ppc_fsl_system_version_mjrev(uint32_t svr)
+{
+  return (svr >> 4) & 0xf;
+}
+
+static inline uint32_t ppc_fsl_system_version_mnrev(uint32_t svr)
+{
+  return (svr >> 0) & 0xf;
+}
+
</font> void ppc_code_copy(void *dest, const void *src, size_t n);
 
 #endif /* ifndef ASM */
</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>