Changes in contrib/arch/uspace/srv/fs/devfs/devfs.bp [cf7b3e0:07fdf203] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
contrib/arch/uspace/srv/fs/devfs/devfs.bp
rcf7b3e0 r07fdf203 1 [../../../lib/libc/devmap_get_phone] ; 2 !ns.IPC_M_CONNECT_ME_TO /* vfs */ ; 3 [../../../lib/libfs/fs_register] ; 1 4 ( 2 ? ipc_m_connect_me_to;5 ?fs.IPC_M_CONNECT_ME_TO ; 3 6 ( 4 ? mounted{5 ? ipc_m_data_write/* mount options */7 ?fs.VFS_OUT_MOUNTED { 8 ?fs.IPC_M_DATA_WRITE /* mount options */ 6 9 } + 7 10 8 ?lookup { 9 tentative { 10 [/uspace/lib/libc/fnc.devmap_device_get_handle] ; 11 tentative { 12 [/uspace/lib/libc/fnc.devmap_device_connect] 13 } 14 } 11 ?fs.VFS_OUT_MOUNT + 12 13 ?fs.VFS_OUT_LOOKUP { 14 ( 15 [../../../lib/libc/devmap_device_get_handle] ; 16 [../../../lib/libc/devmap_device_connect] 17 ) + 18 NULL 15 19 } + 16 20 17 ?open_node { 18 tentative { 19 [/uspace/lib/libc/fnc.devmap_device_connect] 20 } 21 } + 22 23 ?read { 24 tentative { 25 ?ipc_m_data_read /* payload */ { 26 !device.read { 27 !device.ipc_m_data_read /* forward */ 28 } 29 } + 21 ?fs.VFS_OUT_READ { 22 ?fs.IPC_M_DATA_READ /* payload */ { 30 23 ( 31 [/uspace/lib/libc/fnc.devmap_device_get_count] ; 32 [/uspace/lib/libc/fnc.devmap_device_get_devices] 24 !dev.VFS_OUT_READ ; 25 !dev.IPC_M_DATA_READ /* forwarded */ 26 ) + 27 ( 28 [../../../lib/libc/devmap_device_get_count] ; 29 [../../../lib/libc/devmap_device_get_devices] 33 30 ) 34 31 } 35 32 } + 36 33 37 ? write{38 tentative{39 ?ipc_m_data_write /* payload */ {40 !dev ice.write {41 !device.ipc_m_data_write /* forward */42 }43 }44 }34 ?fs.VFS_OUT_WRITE { 35 ?fs.IPC_M_DATA_WRITE /* payload */ { 36 ( 37 !dev.VFS_OUT_WRITE ; 38 !dev.IPC_M_DATA_WRITE /* forwarded */ 39 ) 40 } + 41 NULL 45 42 } + 46 43 47 ?stat { 48 ?ipc_m_data_read /* struct data */ 44 ?fs.VFS_OUT_TRUNCATE + 45 46 ?fs.VFS_OUT_CLOSE { 47 !dev.IPC_M_PHONE_HUNGUP 49 48 } + 50 49 51 ?close { 52 !device.ipc_m_phone_hungup 50 ?fs.VFS_OUT_DESTROY + 51 52 ?fs.VFS_OUT_OPEN_NODE { 53 [../../../lib/libc/devmap_device_connect] + 54 NULL 53 55 } + 54 56 55 ?mount + 56 ?truncate + 57 ?destroy + 58 ?sync 57 ?fs.VFS_OUT_STAT { 58 ?IPC_M_DATA_READ /* struct stat */ 59 } + 60 61 ?fs.VFS_OUT_SYNC 62 59 63 )* ; 60 ? ipc_m_phone_hungup64 ?fs.IPC_M_PHONE_HUNGUP 61 65 )* ; 62 !vfs. ipc_m_phone_hungup66 !vfs.IPC_M_PHONE_HUNGUP
Note:
See TracChangeset
for help on using the changeset viewer.