Rev 4417 | Rev 4584 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4417 | Rev 4464 | ||
---|---|---|---|
Line 26... | Line 26... | ||
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | */ |
27 | */ |
28 | 28 | ||
29 | /** @addtogroup fs |
29 | /** @addtogroup fs |
30 | * @{ |
30 | * @{ |
31 | */ |
31 | */ |
32 | 32 | ||
33 | /** |
33 | /** |
34 | * @file devfs.c |
34 | * @file devfs.c |
35 | * @brief Devices file system. |
35 | * @brief Devices file system. |
36 | * |
36 | * |
Line 72... | Line 72... | ||
72 | devfs_mount(callid, &call); |
72 | devfs_mount(callid, &call); |
73 | break; |
73 | break; |
74 | case VFS_LOOKUP: |
74 | case VFS_LOOKUP: |
75 | devfs_lookup(callid, &call); |
75 | devfs_lookup(callid, &call); |
76 | break; |
76 | break; |
- | 77 | case VFS_OPEN_NODE: |
|
- | 78 | devfs_open_node(callid, &call); |
|
- | 79 | break; |
|
- | 80 | case VFS_DEVICE: |
|
- | 81 | devfs_device(callid, &call); |
|
- | 82 | break; |
|
77 | case VFS_READ: |
83 | case VFS_READ: |
78 | devfs_read(callid, &call); |
84 | devfs_read(callid, &call); |
79 | break; |
85 | break; |
80 | case VFS_WRITE: |
86 | case VFS_WRITE: |
81 | devfs_write(callid, &call); |
87 | devfs_write(callid, &call); |
82 | break; |
88 | break; |
83 | case VFS_TRUNCATE: |
89 | case VFS_TRUNCATE: |
84 | devfs_truncate(callid, &call); |
90 | devfs_truncate(callid, &call); |
85 | break; |
91 | break; |
- | 92 | case VFS_CLOSE: |
|
- | 93 | devfs_close(callid, &call); |
|
- | 94 | break; |
|
- | 95 | case VFS_SYNC: |
|
- | 96 | devfs_sync(callid, &call); |
|
- | 97 | break; |
|
86 | case VFS_DESTROY: |
98 | case VFS_DESTROY: |
87 | devfs_destroy(callid, &call); |
99 | devfs_destroy(callid, &call); |
88 | break; |
100 | break; |
89 | default: |
101 | default: |
90 | ipc_answer_0(callid, ENOTSUP); |
102 | ipc_answer_0(callid, ENOTSUP); |
Line 120... | Line 132... | ||
120 | 132 | ||
121 | /* Not reached */ |
133 | /* Not reached */ |
122 | return 0; |
134 | return 0; |
123 | } |
135 | } |
124 | 136 | ||
125 | /** |
137 | /** |
126 | * @} |
138 | * @} |
127 | */ |
139 | */ |