summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src/rfs/rtems-rfs-buffer-devio.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libfs/src/rfs/rtems-rfs-buffer-devio.c')
-rw-r--r--cpukit/libfs/src/rfs/rtems-rfs-buffer-devio.c61
1 files changed, 61 insertions, 0 deletions
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-buffer-devio.c b/cpukit/libfs/src/rfs/rtems-rfs-buffer-devio.c
new file mode 100644
index 0000000000..714c2bf300
--- /dev/null
+++ b/cpukit/libfs/src/rfs/rtems-rfs-buffer-devio.c
@@ -0,0 +1,61 @@
+/*
+ * COPYRIGHT (c) 2010 Chris Johns <chrisj@rtems.org>
+ *
+ * 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.
+ *
+ * $Id$
+ */
+/**
+ * @file
+ *
+ * @ingroup rtems-rfs
+ *
+ * RTEMS File Systems Buffer Routines.
+ *
+ */
+
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <errno.h>
+
+#include <rtems/rfs/rtems-rfs-buffer.h>
+#include <rtems/rfs/rtems-rfs-file-system.h>
+
+#if !RTEMS_RFS_USE_LIBBLOCK
+
+/**
+ * Show errors.
+ */
+#define RTEMS_RFS_BUFFER_ERRORS 1
+
+int
+rtems_rfs_buffer_deviceio_request (rtems_rfs_buffer_handle* handle,
+ dev_t device,
+ rtems_rfs_buffer_block block,
+ bool read)
+{
+}
+
+int
+rtems_rfs_buffer_deviceio_release (rtems_rfs_buffer_handle* handle,
+ dev_t device)
+{
+}
+
+int
+rtems_rfs_buffer_deviceio_handle_open (rtems_rfs_buffer_handle* handle,
+ dev_t device)
+{
+}
+
+int
+rtems_rfs_buffer_device_handle_close (rtems_rfs_buffer_handle* handle,
+ dev_t device)
+{
+}
+
+#endif