Changeset fafb8e5 in mainline for uspace/srv/ns


Ignore:
Timestamp:
2019-02-06T13:25:12Z (7 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
95a47b0
Parents:
eb13ef8
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-02 14:10:59)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-06 13:25:12)
Message:

Mechanically lowercase IPC_SET_*/IPC_GET_*

Location:
uspace/srv/ns
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/ns/clonable.c

    reb13ef8 rfafb8e5  
    9595        async_exch_t *exch = async_exchange_begin(sess);
    9696        async_forward_1(&csr->call, exch, csr->iface,
    97             IPC_GET_ARG3(&csr->call), IPC_FF_NONE);
     97            ipc_get_arg3(&csr->call), IPC_FF_NONE);
    9898        async_exchange_end(exch);
    9999
  • uspace/srv/ns/ns.c

    reb13ef8 rfafb8e5  
    5555        service_t service;
    5656
    57         iface = IPC_GET_ARG1(icall);
    58         service = IPC_GET_ARG2(icall);
     57        iface = ipc_get_arg1(icall);
     58        service = ipc_get_arg2(icall);
    5959        if (service != 0) {
    6060                /*
     
    7676
    7777                async_get_call(&call);
    78                 if (!IPC_GET_IMETHOD(&call))
     78                if (!ipc_get_imethod(&call))
    7979                        break;
    8080
     
    8484                service_t service;
    8585
    86                 switch (IPC_GET_IMETHOD(&call)) {
     86                switch (ipc_get_imethod(&call)) {
    8787                case NS_REGISTER:
    88                         service = IPC_GET_ARG1(&call);
    89                         iface = IPC_GET_ARG2(&call);
     88                        service = ipc_get_arg1(&call);
     89                        iface = ipc_get_arg2(&call);
    9090
    9191                        /*
     
    101101                        break;
    102102                case NS_REGISTER_BROKER:
    103                         service = IPC_GET_ARG1(&call);
     103                        service = ipc_get_arg1(&call);
    104104                        retval = ns_service_register_broker(service);
    105105                        break;
     
    109109                case NS_TASK_WAIT:
    110110                        id = (task_id_t)
    111                             MERGE_LOUP32(IPC_GET_ARG1(&call), IPC_GET_ARG2(&call));
     111                            MERGE_LOUP32(ipc_get_arg1(&call), ipc_get_arg2(&call));
    112112                        wait_for_task(id, &call);
    113113                        continue;
     
    120120                default:
    121121                        printf("%s: Method not supported (%" PRIun ")\n",
    122                             NAME, IPC_GET_IMETHOD(&call));
     122                            NAME, ipc_get_imethod(&call));
    123123                        retval = ENOTSUP;
    124124                        break;
  • uspace/srv/ns/service.c

    reb13ef8 rfafb8e5  
    154154{
    155155        async_exch_t *exch = async_exchange_begin(sess);
    156         async_forward_1(call, exch, iface, IPC_GET_ARG3(call), IPC_FF_NONE);
     156        async_forward_1(call, exch, iface, ipc_get_arg3(call), IPC_FF_NONE);
    157157        async_exchange_end(exch);
    158158}
     
    366366void ns_service_forward(service_t service, iface_t iface, ipc_call_t *call)
    367367{
    368         sysarg_t flags = IPC_GET_ARG4(call);
     368        sysarg_t flags = ipc_get_arg4(call);
    369369        errno_t retval;
    370370
  • uspace/srv/ns/task.c

    reb13ef8 rfafb8e5  
    225225errno_t ns_task_id_intro(ipc_call_t *call)
    226226{
    227         task_id_t id = MERGE_LOUP32(IPC_GET_ARG1(call), IPC_GET_ARG2(call));
     227        task_id_t id = MERGE_LOUP32(ipc_get_arg1(call), ipc_get_arg2(call));
    228228
    229229        ht_link_t *link = hash_table_find(&phone_to_id, &call->request_label);
     
    289289        ht->finished = true;
    290290        ht->have_rval = true;
    291         ht->retval = IPC_GET_ARG1(call);
     291        ht->retval = ipc_get_arg1(call);
    292292
    293293        process_pending_wait();
Note: See TracChangeset for help on using the changeset viewer.