Changeset cf7b3e0 in mainline for contrib/arch/uspace/srv/vfs/vfs.adl
- Timestamp:
- 2009-09-16T22:46:58Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 51d4040
- Parents:
- 57688fe2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
contrib/arch/uspace/srv/vfs/vfs.adl
r57688fe2 rcf7b3e0 1 1 interface vfs extends service { 2 /* Establish connection */3 ipcarg_t ipc_m_connect_me_to(void);4 5 2 /* Register a filesystem driver */ 6 3 ipcarg_t register(in_copy string name); … … 55 52 56 53 interface fs extends service { 57 /* Establish connection */58 ipcarg_t ipc_m_connect_me_to(void);59 60 54 /* Notify filesystem that it was mounted */ 61 55 ipcarg_t mounted(in ipcarg_t dev_handle, in_copy string opts); … … 87 81 /* Notify on file close */ 88 82 ipcarg_t close(in ipcarg_t dev_handle, in ipcarg_t fs_index); 89 90 /* Close connection */91 ipcarg_t ipc_m_phone_hungup(void);92 83 }; 93 84 94 frame vfs_manager {85 frame dispatcher { 95 86 provides: 96 87 vfs vfs; 97 88 requires: 98 89 [/uspace/lib/libc/requires] 99 fs fs; 90 tmpfs tmpfs; 91 fat fat; 92 devfs devfs; 100 93 ns ns; 101 94 protocol: 102 [/uspace/lib/libc/protocol] +95 [/uspace/lib/libc/protocol] | 103 96 [vfs_server.bp] 104 97 }; 105 98 106 99 architecture vfs { 107 inst vfs_manager vfs;100 inst dispatcher dispatcher; 108 101 inst tmpfs tmpfs; 109 102 inst fat fat; 110 103 inst devfs devfs; 111 104 112 bind vfs:fs to tmpfs:fs;113 bind vfs:fs to fat:fs;114 bind vfs:fs to devfs:fs;105 bind dispatcher:tmpfs to tmpfs:tmpfs; 106 bind dispatcher:fat to fat:fat; 107 bind dispatcher:devfs to devfs:devfs; 115 108 116 bind tmpfs:vfs to vfs:vfs;117 bind fat:vfs to vfs:vfs;118 bind devfs:vfs to vfs:vfs;109 bind tmpfs:vfs to dispatcher:vfs; 110 bind fat:vfs to dispatcher:vfs; 111 bind devfs:vfs to dispatcher:vfs; 119 112 120 delegate vfs to vfs:vfs;113 delegate vfs to dispatcher:vfs; 121 114 122 [/uspace/lib/libc/subsume% vfs]115 [/uspace/lib/libc/subsume%dispatcher] 123 116 [/uspace/lib/libc/subsume%tmpfs] 124 117 [/uspace/lib/libc/subsume%fat] 125 118 [/uspace/lib/libc/subsume%devfs] 126 119 127 subsume vfs:ns to ns;120 subsume dispatcher:ns to ns; 128 121 subsume tmpfs:ns to ns; 129 122 subsume fat:ns to ns; 130 123 subsume devfs:ns to ns; 131 124 132 subsume tmpfs: bd to bd;133 subsume fat: bd to bd;125 subsume tmpfs:rd to rd; 126 subsume fat:rd to rd; 134 127 135 128 subsume devfs:devmap_client to devmap_client;
Note:
See TracChangeset
for help on using the changeset viewer.