change log for rtems (2010-07-06)

rtems-vc at rtems.org rtems-vc at rtems.org
Tue Jul 6 21:12:58 UTC 2010


 *strauman* (on branch rtems-4-10-branch):
2009-10-28  Till Straumann <strauman at slac.stanford.edu>

	* byteorder.h: added ld_le16, st_le16.

M   1.65  c/src/lib/libcpu/i386/ChangeLog
M 1.64.2.1  c/src/lib/libcpu/i386/ChangeLog
M    1.2  c/src/lib/libcpu/i386/byteorder.h
M 1.1.8.1  c/src/lib/libcpu/i386/byteorder.h

diff -u rtems/c/src/lib/libcpu/i386/ChangeLog:1.64 rtems/c/src/lib/libcpu/i386/ChangeLog:1.65
--- rtems/c/src/lib/libcpu/i386/ChangeLog:1.64	Fri May 21 14:03:21 2010
+++ rtems/c/src/lib/libcpu/i386/ChangeLog	Tue Jul  6 15:13:02 2010
@@ -1,3 +1,7 @@
+2009-10-28  Till Straumann <strauman at slac.stanford.edu>
+
+	* byteorder.h: added ld_le16, st_le16.
+
 2010-05-21	Vinu Rajashekhar <vinutheraj at gmail.com>
 
 	* cache.c, page.c: Use masks and shift operations instead of

diff -u rtems/c/src/lib/libcpu/i386/ChangeLog:1.64 rtems/c/src/lib/libcpu/i386/ChangeLog:1.64.2.1
--- rtems/c/src/lib/libcpu/i386/ChangeLog:1.64	Fri May 21 14:03:21 2010
+++ rtems/c/src/lib/libcpu/i386/ChangeLog	Tue Jul  6 15:11:21 2010
@@ -1,3 +1,7 @@
+2009-10-28  Till Straumann <strauman at slac.stanford.edu>
+
+	* byteorder.h: added ld_le16, st_le16.
+
 2010-05-21	Vinu Rajashekhar <vinutheraj at gmail.com>
 
 	* cache.c, page.c: Use masks and shift operations instead of

diff -u rtems/c/src/lib/libcpu/i386/byteorder.h:1.1 rtems/c/src/lib/libcpu/i386/byteorder.h:1.2
--- rtems/c/src/lib/libcpu/i386/byteorder.h:1.1	Fri Nov  4 11:50:34 2005
+++ rtems/c/src/lib/libcpu/i386/byteorder.h	Tue Jul  6 15:13:02 2010
@@ -19,4 +19,15 @@
   return(*addr);
 }
 
+static inline void st_le16(volatile uint16_t   *addr, uint16_t   value)
+{
+  *(addr)=value ;
+}
+
+static inline uint16_t   ld_le16(volatile uint16_t   *addr)
+{
+  return(*addr);
+}
+
+
 #endif

diff -u rtems/c/src/lib/libcpu/i386/byteorder.h:1.1 rtems/c/src/lib/libcpu/i386/byteorder.h:1.1.8.1
--- rtems/c/src/lib/libcpu/i386/byteorder.h:1.1	Fri Nov  4 11:50:34 2005
+++ rtems/c/src/lib/libcpu/i386/byteorder.h	Tue Jul  6 15:11:21 2010
@@ -19,4 +19,15 @@
   return(*addr);
 }
 
+static inline void st_le16(volatile uint16_t   *addr, uint16_t   value)
+{
+  *(addr)=value ;
+}
+
+static inline uint16_t   ld_le16(volatile uint16_t   *addr)
+{
+  return(*addr);
+}
+
+
 #endif



--

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/20100706/fd8b1c00/attachment-0001.html>


More information about the vc mailing list