Changeset fafb8e5 in mainline for uspace/app/trace/ipcp.c


Ignore:
Timestamp:
2019-02-06T13:25:12Z (5 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_*

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/trace/ipcp.c

    reb13ef8 rfafb8e5  
    194194                printf("Call handle: %p, phone: %p, proto: %s, method: ",
    195195                    chandle, phandle, (proto ? proto->name : "n/a"));
    196                 ipc_m_print(proto, IPC_GET_IMETHOD(call));
     196                ipc_m_print(proto, ipc_get_imethod(call));
    197197                printf(" args: (%" PRIun ", %" PRIun ", %" PRIun ", "
    198198                    "%" PRIun ", %" PRIun ")\n",
     
    203203
    204204                if (proto != NULL) {
    205                         oper = proto_get_oper(proto, IPC_GET_IMETHOD(call));
     205                        oper = proto_get_oper(proto, ipc_get_imethod(call));
    206206                } else {
    207207                        oper = NULL;
     
    262262
    263263        phone = pcall->phone_handle;
    264         method = IPC_GET_IMETHOD(&pcall->question);
    265         retval = IPC_GET_RETVAL(answer);
     264        method = ipc_get_imethod(&pcall->question);
     265        retval = ipc_get_retval(answer);
    266266
    267267        resp = answer->args;
     
    270270                printf("Response to %p: retval=%s, args = (%" PRIun ", "
    271271                    "%" PRIun ", %" PRIun ", %" PRIun ", %" PRIun ")\n",
    272                     call_handle, str_error_name(retval), IPC_GET_ARG1(answer),
    273                     IPC_GET_ARG2(answer), IPC_GET_ARG3(answer),
    274                     IPC_GET_ARG4(answer), IPC_GET_ARG5(answer));
     272                    call_handle, str_error_name(retval), ipc_get_arg1(answer),
     273                    ipc_get_arg2(answer), ipc_get_arg3(answer),
     274                    ipc_get_arg4(answer), ipc_get_arg5(answer));
    275275        }
    276276
     
    305305            (retval == 0)) {
    306306                /* Connected to a service (through NS) */
    307                 service = IPC_GET_ARG2(&pcall->question);
     307                service = ipc_get_arg2(&pcall->question);
    308308                proto = proto_get_by_srv(service);
    309309                if (proto == NULL)
    310310                        proto = proto_unknown;
    311311
    312                 cphone = (cap_phone_handle_t) IPC_GET_ARG5(answer);
     312                cphone = (cap_phone_handle_t) ipc_get_arg5(answer);
    313313                if ((display_mask & DM_SYSTEM) != 0) {
    314314                        printf("Registering connection (phone %p, protocol: %s)\n", cphone,
Note: See TracChangeset for help on using the changeset viewer.