Subversion Repositories HelenOS

Rev

Rev 4581 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4581 Rev 4718
Line 65... Line 65...
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:
68
        case IPC_M_PHONE_HUNGUP:
69
            return;
69
            return;
70
        case VFS_MOUNTED:
70
        case VFS_OUT_MOUNTED:
71
            devfs_mounted(callid, &call);
71
            devfs_mounted(callid, &call);
72
            break;
72
            break;
73
        case VFS_MOUNT:
73
        case VFS_OUT_MOUNT:
74
            devfs_mount(callid, &call);
74
            devfs_mount(callid, &call);
75
            break;
75
            break;
76
        case VFS_LOOKUP:
76
        case VFS_OUT_LOOKUP:
77
            devfs_lookup(callid, &call);
77
            devfs_lookup(callid, &call);
78
            break;
78
            break;
79
        case VFS_OPEN_NODE:
79
        case VFS_OUT_OPEN_NODE:
80
            devfs_open_node(callid, &call);
80
            devfs_open_node(callid, &call);
81
            break;
81
            break;
82
        case VFS_DEVICE:
82
        case VFS_OUT_STAT:
83
            devfs_device(callid, &call);
83
            devfs_stat(callid, &call);
84
            break;
84
            break;
85
        case VFS_READ:
85
        case VFS_OUT_READ:
86
            devfs_read(callid, &call);
86
            devfs_read(callid, &call);
87
            break;
87
            break;
88
        case VFS_WRITE:
88
        case VFS_OUT_WRITE:
89
            devfs_write(callid, &call);
89
            devfs_write(callid, &call);
90
            break;
90
            break;
91
        case VFS_TRUNCATE:
91
        case VFS_OUT_TRUNCATE:
92
            devfs_truncate(callid, &call);
92
            devfs_truncate(callid, &call);
93
            break;
93
            break;
94
        case VFS_CLOSE:
94
        case VFS_OUT_CLOSE:
95
            devfs_close(callid, &call);
95
            devfs_close(callid, &call);
96
            break;
96
            break;
97
        case VFS_SYNC:
97
        case VFS_OUT_SYNC:
98
            devfs_sync(callid, &call);
98
            devfs_sync(callid, &call);
99
            break;
99
            break;
100
        case VFS_DESTROY:
100
        case VFS_OUT_DESTROY:
101
            devfs_destroy(callid, &call);
101
            devfs_destroy(callid, &call);
102
            break;
102
            break;
103
        default:
103
        default:
104
            ipc_answer_0(callid, ENOTSUP);
104
            ipc_answer_0(callid, ENOTSUP);
105
            break;
105
            break;