<!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-01-21)</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>2011-01-21 Sebastian Huber <sebastian.huber@embedded-brains.de>

        * libblock/src/blkdev-ops.c: New file.
        * libblock/Makefile.am: Reflect change from above.
        * libblock/include/rtems/blkdev.h: Declare rtems_blkdev_generic_ops.
</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.2678&r2=text&tr2=1.2679&diff_format=h">M</a></td><td width='1%'>1.2679</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/Makefile.am.diff?r1=text&tr1=1.39&r2=text&tr2=1.40&diff_format=h">M</a></td><td width='1%'>1.40</td><td width='100%'>cpukit/libblock/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libblock/include/rtems/blkdev.h.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%'>cpukit/libblock/include/rtems/blkdev.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libblock/src/blkdev-ops.c?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">cpukit/libblock/src/blkdev-ops.c</font></td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2678 rtems/cpukit/ChangeLog:1.2679
--- rtems/cpukit/ChangeLog:1.2678       Thu Jan 20 03:18:00 2011
+++ rtems/cpukit/ChangeLog      Fri Jan 21 03:43:23 2011
</font><font color='#997700'>@@ -1,3 +1,9 @@
</font><font color='#000088'>+2011-01-21    Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+       * libblock/src/blkdev-ops.c: New file.
+       * libblock/Makefile.am: Reflect change from above.
+       * libblock/include/rtems/blkdev.h: Declare rtems_blkdev_generic_ops.
+
</font> 2011-01-20        Sebastian Huber <sebastian.huber@embedded-brains.de>
 
        * libblock/src/show_bdbuf.c, score/src/objectmp.c,

<font color='#006600'>diff -u rtems/cpukit/libblock/Makefile.am:1.39 rtems/cpukit/libblock/Makefile.am:1.40
--- rtems/cpukit/libblock/Makefile.am:1.39      Fri Aug 13 07:40:16 2010
+++ rtems/cpukit/libblock/Makefile.am   Fri Jan 21 03:43:23 2011
</font><font color='#997700'>@@ -6,7 +6,11 @@
</font> include $(top_srcdir)/automake/compile.am
 
 noinst_LIBRARIES = libblock.a
<font color='#880000'>-libblock_a_SOURCES = src/bdbuf.c src/blkdev.c src/diskdevs.c src/flashdisk.c \
</font><font color='#000088'>+libblock_a_SOURCES = src/bdbuf.c \
+    src/blkdev.c \
+    src/blkdev-ops.c \
+    src/diskdevs.c \
+    src/flashdisk.c \
</font>     src/ramdisk-driver.c \
     src/ramdisk-init.c \
     src/ramdisk-config.c \

<font color='#006600'>diff -u rtems/cpukit/libblock/include/rtems/blkdev.h:1.21 rtems/cpukit/libblock/include/rtems/blkdev.h:1.22
--- rtems/cpukit/libblock/include/rtems/blkdev.h:1.21   Mon May 17 21:14:05 2010
+++ rtems/cpukit/libblock/include/rtems/blkdev.h        Fri Jan 21 03:43:24 2011
</font><font color='#997700'>@@ -262,6 +262,11 @@
</font> int
 rtems_blkdev_ioctl(rtems_disk_device *dd, uint32_t req, void *argp);
 
<font color='#000088'>+/**
+ * @brief Generic block operations driver address table.
+ */
+extern const rtems_driver_address_table rtems_blkdev_generic_ops;
+
</font> /** @} */
 
 #ifdef __cplusplus

<font color='#006600'>diff -u /dev/null rtems/cpukit/libblock/src/blkdev-ops.c:1.1
--- /dev/null   Fri Jan 21 04:10:58 2011
+++ rtems/cpukit/libblock/src/blkdev-ops.c      Fri Jan 21 03:43:24 2011
</font><font color='#997700'>@@ -0,0 +1,32 @@
</font><font color='#000088'>+/**
+ * @file
+ *
+ * @ingroup rtems_blkdev
+ *
+ * @brief Block device management.
+ */
+
+/*
+ * Copyright (c) 2011 embedded brains GmbH.  All rights reserved.
+ *
+ *  embedded brains GmbH
+ *  Obere Lagerstr. 30
+ *  82178 Puchheim
+ *  Germany
+ *  <rtems@embedded-brains.de>
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.com/license/LICENSE.
+ */
+
+#include <rtems/blkdev.h>
+
+const rtems_driver_address_table rtems_blkdev_generic_ops = {
+       .initialization_entry = NULL,
+       .open_entry = rtems_blkdev_generic_open,
+       .close_entry = rtems_blkdev_generic_close,
+       .read_entry = rtems_blkdev_generic_read,
+       .write_entry = rtems_blkdev_generic_write,
+       .control_entry = rtems_blkdev_generic_ioctl
+};
</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>