~martin-decky/helenos/rcu

« back to all changes in this revision

Viewing changes to uspace/srv/devman/main.c

  • Committer: Martin Decky
  • Date: 2010-12-14 12:52:38 UTC
  • Revision ID: martin@decky.cz-20101214125238-a5utoxafbvljh323
more unification of basic types
 - use sysarg_t and native_t (unsigned and signed variant) in both kernel and uspace
 - remove ipcarg_t in favour of sysarg_t
(no change in functionality)

Show diffs side-by-side

added added

removed removed

Lines of Context:
183
183
 * @param match_ids     The list of the device's match ids.
184
184
 * @return              Zero on success, negative error code otherwise.
185
185
 */
186
 
static int devman_receive_match_ids(ipcarg_t match_count,
 
186
static int devman_receive_match_ids(sysarg_t match_count,
187
187
    match_id_list_t *match_ids)
188
188
{
189
189
        int ret = EOK;
210
210
static void devman_add_child(ipc_callid_t callid, ipc_call_t *call)
211
211
{
212
212
        devman_handle_t parent_handle = IPC_GET_ARG1(*call);
213
 
        ipcarg_t match_count = IPC_GET_ARG2(*call);
 
213
        sysarg_t match_count = IPC_GET_ARG2(*call);
214
214
        dev_tree_t *tree = &device_tree;
215
215
        
216
216
        fibril_rwlock_write_lock(&tree->rwlock);
530
530
         */
531
531
        
532
532
        /* Select interface. */
533
 
        switch ((ipcarg_t) (IPC_GET_ARG1(*icall))) {
 
533
        switch ((sysarg_t) (IPC_GET_ARG1(*icall))) {
534
534
        case DEVMAN_DRIVER:
535
535
                devman_connection_driver(iid, icall);
536
536
                break;
598
598
        async_set_client_connection(devman_connection);
599
599
 
600
600
        /* Register device manager at naming service. */
601
 
        ipcarg_t phonead;
 
601
        sysarg_t phonead;
602
602
        if (ipc_connect_to_me(PHONE_NS, SERVICE_DEVMAN, 0, 0, &phonead) != 0)
603
603
                return -1;
604
604