change log for rtems (2011-01-21)
rtems-vc at rtems.org
rtems-vc at rtems.org
Fri Jan 21 10:10:58 UTC 2011
*sh*:
2011-01-21 Sebastian Huber <sebastian.huber at 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.
M 1.2679 cpukit/ChangeLog
M 1.40 cpukit/libblock/Makefile.am
M 1.22 cpukit/libblock/include/rtems/blkdev.h
A 1.1 cpukit/libblock/src/blkdev-ops.c
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
@@ -1,3 +1,9 @@
+2011-01-21 Sebastian Huber <sebastian.huber at 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.
+
2011-01-20 Sebastian Huber <sebastian.huber at embedded-brains.de>
* libblock/src/show_bdbuf.c, score/src/objectmp.c,
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
@@ -6,7 +6,11 @@
include $(top_srcdir)/automake/compile.am
noinst_LIBRARIES = libblock.a
-libblock_a_SOURCES = src/bdbuf.c src/blkdev.c src/diskdevs.c src/flashdisk.c \
+libblock_a_SOURCES = src/bdbuf.c \
+ src/blkdev.c \
+ src/blkdev-ops.c \
+ src/diskdevs.c \
+ src/flashdisk.c \
src/ramdisk-driver.c \
src/ramdisk-init.c \
src/ramdisk-config.c \
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
@@ -262,6 +262,11 @@
int
rtems_blkdev_ioctl(rtems_disk_device *dd, uint32_t req, void *argp);
+/**
+ * @brief Generic block operations driver address table.
+ */
+extern const rtems_driver_address_table rtems_blkdev_generic_ops;
+
/** @} */
#ifdef __cplusplus
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
@@ -0,0 +1,32 @@
+/**
+ * @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 at 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
+};
--
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/20110121/b0cd59e9/attachment.html>
More information about the vc
mailing list