source: rtems/cpukit/libblock/src/blkdev-ops.c @ 1680638

4.11
Last change on this file since 1680638 was 1680638, checked in by Sebastian Huber <sebastian.huber@…>, on Jan 21, 2011 at 9:43:24 AM

2011-01-21 Sebastian Huber <sebastian.huber@…>

  • libblock/src/blkdev-ops.c: New file.
  • libblock/Makefile.am: Reflect change from above.
  • libblock/include/rtems/blkdev.h: Declare rtems_blkdev_generic_ops.
  • Property mode set to 100644
File size: 770 bytes
Line 
1/**
2 * @file
3 *
4 * @ingroup rtems_blkdev
5 *
6 * @brief Block device management.
7 */
8
9/*
10 * Copyright (c) 2011 embedded brains GmbH.  All rights reserved.
11 *
12 *  embedded brains GmbH
13 *  Obere Lagerstr. 30
14 *  82178 Puchheim
15 *  Germany
16 *  <rtems@embedded-brains.de>
17 *
18 * The license and distribution terms for this file may be
19 * found in the file LICENSE in this distribution or at
20 * http://www.rtems.com/license/LICENSE.
21 */
22
23#include <rtems/blkdev.h>
24
25const rtems_driver_address_table rtems_blkdev_generic_ops = {
26        .initialization_entry = NULL,
27        .open_entry = rtems_blkdev_generic_open,
28        .close_entry = rtems_blkdev_generic_close,
29        .read_entry = rtems_blkdev_generic_read,
30        .write_entry = rtems_blkdev_generic_write,
31        .control_entry = rtems_blkdev_generic_ioctl
32};
Note: See TracBrowser for help on using the repository browser.