change log for rtems (2011-05-11)

rtems-vc at rtems.org rtems-vc at rtems.org
Wed May 11 09:11:36 UTC 2011


 *sh* (on branch rtems-4-10-branch):
2011-05-11	Sebastian Huber <sebastian.huber at embedded-brains.de>

	PR 1790/cpukit
	* libblock/src/flashdisk.c: Fixed memset() parameters.

M 1.2809  cpukit/ChangeLog
M 1.2346.2.87  cpukit/ChangeLog
M   1.21  cpukit/libblock/src/flashdisk.c
M 1.18.2.2  cpukit/libblock/src/flashdisk.c

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
@@ -1,3 +1,8 @@
+2011-05-11	Sebastian Huber <sebastian.huber at embedded-brains.de>
+
+	PR 1790/cpukit
+	* libblock/src/flashdisk.c: Fixed memset() parameters.
+
 2011-05-11	Chris Johns <chrisj at rtems.org>
 
 	PR 1774/filesystem

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
@@ -1,3 +1,8 @@
+2011-05-11	Sebastian Huber <sebastian.huber at embedded-brains.de>
+
+	PR 1790/cpukit
+	* libblock/src/flashdisk.c: Fixed memset() parameters.
+
 2011-04-16	Chris Johns <chrisj at rtems.org>
 
 	PR 1774/filesystem

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
@@ -1736,7 +1736,7 @@
 #if RTEMS_FDISK_TRACE
     rtems_fdisk_info (fd, "read-block: no segment mapping: %d", block);
 #endif
-    memset (buffer, fd->block_size, 0xff);
+    memset (buffer, 0xff, fd->block_size);
     return 0;
   }
 

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
@@ -1731,7 +1731,7 @@
 #if RTEMS_FDISK_TRACE
     rtems_fdisk_info (fd, "read-block: no segment mapping: %d", block);
 #endif
-    memset (buffer, fd->block_size, 0xff);
+    memset (buffer, 0xff, fd->block_size);
     return 0;
   }
 


 *sh*:
2011-05-11	Sebastian Huber <sebastian.huber at embedded-brains.de>

	* rtems/powerpc/registers.h: Added FSL_EIS_SVR define.

M  1.164  cpukit/score/cpu/powerpc/ChangeLog
M   1.38  cpukit/score/cpu/powerpc/rtems/powerpc/registers.h

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
@@ -1,3 +1,7 @@
+2011-05-11	Sebastian Huber <sebastian.huber at embedded-brains.de>
+
+	* rtems/powerpc/registers.h: Added FSL_EIS_SVR define.
+
 2011-02-16	Sebastian Huber <sebastian.huber at embedded-brains.de>
 
 	* rtems/powerpc/registers.h: Added FSL_EIS_ATBL, FSL_EIS_ATBL, and

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
@@ -324,6 +324,10 @@
 #define BOOKE_PID 48
 #define BOOKE_PIR 286
 
+/* Freescale Book E Implementation Standards (EIS): Hardware Implementation-Dependent Registers */
+
+#define FSL_EIS_SVR 1023
+
 /* Freescale Book E Implementation Standards (EIS): MMU Control and Status */
 
 #define FSL_EIS_MAS0 624


 *sh*:
2011-05-11	Sebastian Huber <sebastian.huber at embedded-brains.de>

	* libmisc/shell/main_msdosfmt.c: Fixed NULL pointer access.

M 1.2810  cpukit/ChangeLog
M   1.12  cpukit/libmisc/shell/main_msdosfmt.c

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
@@ -1,5 +1,9 @@
 2011-05-11	Sebastian Huber <sebastian.huber at embedded-brains.de>
 
+	* libmisc/shell/main_msdosfmt.c: Fixed NULL pointer access.
+
+2011-05-11	Sebastian Huber <sebastian.huber at embedded-brains.de>
+
 	PR 1790/cpukit
 	* libblock/src/flashdisk.c: Fixed memset() parameters.
 

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
@@ -179,7 +179,7 @@
   "msdosfmt",                                /* name */
   NULL,                                      /* usage */
   "files",                                   /* topic */
-  NULL,                                      /* command */
+  rtems_shell_main_msdos_format,             /* command */
   &rtems_shell_MSDOSFMT_Command,             /* alias */
   NULL                                       /* next */
 };


 *sh*:
2011-05-11	Sebastian Huber <sebastian.huber at embedded-brains.de>

	* shared/include/powerpc-utility.h: Added ppc_fsl_system_version*()
	functions.

M  1.382  c/src/lib/libcpu/powerpc/ChangeLog
M   1.16  c/src/lib/libcpu/powerpc/shared/include/powerpc-utility.h

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
@@ -1,3 +1,8 @@
+2011-05-11	Sebastian Huber <sebastian.huber at embedded-brains.de>
+
+	* shared/include/powerpc-utility.h: Added ppc_fsl_system_version*()
+	functions.
+
 2011-03-10	Sebastian Huber <sebastian.huber at embedded-brains.de>
 
 	* shared/include/cpuIdent.h: Fixed warnings.

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
@@ -771,6 +771,41 @@
   PPC_SET_SPECIAL_PURPOSE_REGISTER(BOOKE_PIR, val);
 }
 
+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;
+}
+
 void ppc_code_copy(void *dest, const void *src, size_t n);
 
 #endif /* ifndef ASM */



--

Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20110511/c1e66cd2/attachment.html>


More information about the vc mailing list