Rev 4537 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4537 | Rev 4668 | ||
---|---|---|---|
Line 63... | Line 63... | ||
63 | while (true) { |
63 | while (true) { |
64 | ipc_call_t call; |
64 | ipc_call_t call; |
65 | ipc_callid_t callid = async_get_call(&call); |
65 | ipc_callid_t callid = async_get_call(&call); |
66 | 66 | ||
67 | switch (IPC_GET_METHOD(call)) { |
67 | switch (IPC_GET_METHOD(call)) { |
- | 68 | case IPC_M_PHONE_HUNGUP: |
|
- | 69 | return; |
|
68 | case VFS_MOUNTED: |
70 | case VFS_OUT_MOUNTED: |
69 | devfs_mounted(callid, &call); |
71 | devfs_mounted(callid, &call); |
70 | break; |
72 | break; |
71 | case VFS_MOUNT: |
73 | case VFS_OUT_MOUNT: |
72 | devfs_mount(callid, &call); |
74 | devfs_mount(callid, &call); |
73 | break; |
75 | break; |
74 | case VFS_LOOKUP: |
76 | case VFS_OUT_LOOKUP: |
75 | devfs_lookup(callid, &call); |
77 | devfs_lookup(callid, &call); |
76 | break; |
78 | break; |
77 | case VFS_OPEN_NODE: |
79 | case VFS_OUT_OPEN_NODE: |
78 | devfs_open_node(callid, &call); |
80 | devfs_open_node(callid, &call); |
79 | break; |
81 | break; |
80 | case VFS_DEVICE: |
82 | case VFS_OUT_STAT: |
81 | devfs_device(callid, &call); |
83 | devfs_stat(callid, &call); |
82 | break; |
84 | break; |
83 | case VFS_READ: |
85 | case VFS_OUT_READ: |
84 | devfs_read(callid, &call); |
86 | devfs_read(callid, &call); |
85 | break; |
87 | break; |
86 | case VFS_WRITE: |
88 | case VFS_OUT_WRITE: |
87 | devfs_write(callid, &call); |
89 | devfs_write(callid, &call); |
88 | break; |
90 | break; |
89 | case VFS_TRUNCATE: |
91 | case VFS_OUT_TRUNCATE: |
90 | devfs_truncate(callid, &call); |
92 | devfs_truncate(callid, &call); |
91 | break; |
93 | break; |
92 | case VFS_CLOSE: |
94 | case VFS_OUT_CLOSE: |
93 | devfs_close(callid, &call); |
95 | devfs_close(callid, &call); |
94 | break; |
96 | break; |
95 | case VFS_SYNC: |
97 | case VFS_OUT_SYNC: |
96 | devfs_sync(callid, &call); |
98 | devfs_sync(callid, &call); |
97 | break; |
99 | break; |
98 | case VFS_DESTROY: |
100 | case VFS_OUT_DESTROY: |
99 | devfs_destroy(callid, &call); |
101 | devfs_destroy(callid, &call); |
100 | break; |
102 | break; |
101 | default: |
103 | default: |
102 | ipc_answer_0(callid, ENOTSUP); |
104 | ipc_answer_0(callid, ENOTSUP); |
103 | break; |
105 | break; |