Changeset 17fd1d4 in mainline for uspace/srv/fs/devfs/devfs_ops.h


Ignore:
Timestamp:
2009-06-03T18:59:31Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c20aa06
Parents:
05b9912
Message:

devfs rewrite:

  • implement VFS_OPEN_NODE, VFS_DEVICE, VFS_SYNC, VFS_CLOSE
  • connect to underlying device during VFS_LOOKUP (if L_OPEN flag is used) and VFS_OPEN_NODE
  • disconnect from underlying device during VFS_CLOSE
  • forward VFS_READ, VFS_WRITE and VFS_SYNC to the underlying device
  • VFS_DEVICE: return underlying device handle
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/devfs/devfs_ops.h

    r05b9912 r17fd1d4  
    2929/** @addtogroup fs
    3030 * @{
    31  */ 
     31 */
    3232
    3333#ifndef DEVFS_DEVFS_OPS_H_
     
    4242extern void devfs_mount(ipc_callid_t, ipc_call_t *);
    4343extern void devfs_lookup(ipc_callid_t, ipc_call_t *);
     44extern void devfs_open_node(ipc_callid_t, ipc_call_t *);
     45extern void devfs_device(ipc_callid_t, ipc_call_t *);
     46extern void devfs_sync(ipc_callid_t, ipc_call_t *);
    4447extern void devfs_read(ipc_callid_t, ipc_call_t *);
    4548extern void devfs_write(ipc_callid_t, ipc_call_t *);
    4649extern void devfs_truncate(ipc_callid_t, ipc_call_t *);
     50extern void devfs_close(ipc_callid_t, ipc_call_t *);
    4751extern void devfs_destroy(ipc_callid_t, ipc_call_t *);
    4852
Note: See TracChangeset for help on using the changeset viewer.