Changeset 357b5f5 in mainline for uspace/app/trace


Ignore:
Timestamp:
2011-01-23T20:09:13Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
fdb9982c
Parents:
cead2aa (diff), 7e36c8d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes.

Location:
uspace/app/trace
Files:
4 edited

Legend:

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

    rcead2aa r357b5f5  
    4646
    4747typedef struct {
    48         ipcarg_t phone_hash;
     48        sysarg_t phone_hash;
    4949        ipc_call_t question;
    5050        oper_t *oper;
     
    124124}
    125125
    126 static void ipc_m_print(proto_t *proto, ipcarg_t method)
     126static void ipc_m_print(proto_t *proto, sysarg_t method)
    127127{
    128128        oper_t *oper;
     
    192192        unsigned long key[1];
    193193        oper_t *oper;
    194         ipcarg_t *args;
     194        sysarg_t *args;
    195195        int i;
    196196
     
    204204                    (void *) hash, phone,
    205205                    (proto ? proto->name : "n/a"));
    206                 ipc_m_print(proto, IPC_GET_METHOD(*call));
     206                ipc_m_print(proto, IPC_GET_IMETHOD(*call));
    207207                printf(" args: (%" PRIun ", %" PRIun ", %" PRIun ", "
    208208                    "%" PRIun ", %" PRIun ")\n",
     
    214214
    215215                if (proto != NULL) {
    216                         oper = proto_get_oper(proto, IPC_GET_METHOD(*call));
     216                        oper = proto_get_oper(proto, IPC_GET_IMETHOD(*call));
    217217                } else {
    218218                        oper = NULL;
     
    262262    ipc_call_t *answer)
    263263{
    264         ipcarg_t phone;
    265         ipcarg_t method;
    266         ipcarg_t service;
    267         ipcarg_t retval;
     264        sysarg_t phone;
     265        sysarg_t method;
     266        sysarg_t service;
     267        sysarg_t retval;
    268268        proto_t *proto;
    269269        int cphone;
    270270
    271         ipcarg_t *resp;
     271        sysarg_t *resp;
    272272        oper_t *oper;
    273273        int i;
     
    276276
    277277        phone = pcall->phone_hash;
    278         method = IPC_GET_METHOD(pcall->question);
     278        method = IPC_GET_IMETHOD(pcall->question);
    279279        retval = IPC_GET_RETVAL(*answer);
    280280
  • uspace/app/trace/proto.c

    rcead2aa r357b5f5  
    5353
    5454typedef struct {
    55         ipcarg_t method;
     55        sysarg_t method;
    5656        oper_t *oper;
    5757        link_t link;
  • uspace/app/trace/syscalls.c

    rcead2aa r357b5f5  
    7373    [SYS_PHYSMEM_MAP] = { "physmem_map",                4,      V_ERRNO },
    7474    [SYS_IOSPACE_ENABLE] = { "iospace_enable",          1,      V_ERRNO },
    75     [SYS_INTERRUPT_ENABLE] = { "interrupt_enable",      2,      V_ERRNO },
    7675
    7776    [SYS_SYSINFO_GET_TAG] = { "sysinfo_get_tag",                2,      V_INTEGER },
  • uspace/app/trace/trace.c

    rcead2aa r357b5f5  
    287287{
    288288        ipc_call_t call;
    289         ipcarg_t phoneid;
     289        sysarg_t phoneid;
    290290       
    291291        if (sc_rc == (sysarg_t) IPC_CALLRET_FATAL ||
     
    295295        phoneid = sc_args[0];
    296296
    297         IPC_SET_METHOD(call, sc_args[1]);
     297        IPC_SET_IMETHOD(call, sc_args[1]);
    298298        IPC_SET_ARG1(call, sc_args[2]);
    299299        IPC_SET_ARG2(call, sc_args[3]);
     
    331331        phoneidx = sc_args[0];
    332332
    333         IPC_SET_METHOD(question, sc_args[1]);
     333        IPC_SET_IMETHOD(question, sc_args[1]);
    334334        IPC_SET_ARG1(question, sc_args[2]);
    335335        IPC_SET_ARG2(question, sc_args[3]);
Note: See TracChangeset for help on using the changeset viewer.