Rev 4345 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4345 | Rev 4691 | ||
---|---|---|---|
Line 87... | Line 87... | ||
87 | ipc_callid_t callid; |
87 | ipc_callid_t callid; |
88 | ipc_call_t call; |
88 | ipc_call_t call; |
89 | 89 | ||
90 | callid = async_get_call(&call); |
90 | callid = async_get_call(&call); |
91 | switch (IPC_GET_METHOD(call)) { |
91 | switch (IPC_GET_METHOD(call)) { |
- | 92 | case IPC_M_PHONE_HUNGUP: |
|
- | 93 | return; |
|
92 | case VFS_MOUNTED: |
94 | case VFS_OUT_MOUNTED: |
93 | fat_mounted(callid, &call); |
95 | fat_mounted(callid, &call); |
94 | break; |
96 | break; |
95 | case VFS_MOUNT: |
97 | case VFS_OUT_MOUNT: |
96 | fat_mount(callid, &call); |
98 | fat_mount(callid, &call); |
97 | break; |
99 | break; |
98 | case VFS_LOOKUP: |
100 | case VFS_OUT_LOOKUP: |
99 | fat_lookup(callid, &call); |
101 | fat_lookup(callid, &call); |
100 | break; |
102 | break; |
101 | case VFS_READ: |
103 | case VFS_OUT_READ: |
102 | fat_read(callid, &call); |
104 | fat_read(callid, &call); |
103 | break; |
105 | break; |
104 | case VFS_WRITE: |
106 | case VFS_OUT_WRITE: |
105 | fat_write(callid, &call); |
107 | fat_write(callid, &call); |
106 | break; |
108 | break; |
107 | case VFS_TRUNCATE: |
109 | case VFS_OUT_TRUNCATE: |
108 | fat_truncate(callid, &call); |
110 | fat_truncate(callid, &call); |
109 | break; |
111 | break; |
- | 112 | case VFS_OUT_STAT: |
|
- | 113 | fat_stat(callid, &call); |
|
- | 114 | break; |
|
- | 115 | case VFS_OUT_CLOSE: |
|
- | 116 | fat_close(callid, &call); |
|
- | 117 | break; |
|
110 | case VFS_DESTROY: |
118 | case VFS_OUT_DESTROY: |
111 | fat_destroy(callid, &call); |
119 | fat_destroy(callid, &call); |
112 | break; |
120 | break; |
- | 121 | case VFS_OUT_OPEN_NODE: |
|
- | 122 | fat_open_node(callid, &call); |
|
- | 123 | break; |
|
- | 124 | case VFS_OUT_SYNC: |
|
- | 125 | fat_sync(callid, &call); |
|
- | 126 | break; |
|
113 | default: |
127 | default: |
114 | ipc_answer_0(callid, ENOTSUP); |
128 | ipc_answer_0(callid, ENOTSUP); |
115 | break; |
129 | break; |
116 | } |
130 | } |
117 | } |
131 | } |