Changeset 357b5f5 in mainline for uspace/app/trace
- Timestamp:
- 2011-01-23T20:09:13Z (15 years ago)
- 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. - Location:
- uspace/app/trace
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/trace/ipcp.c
rcead2aa r357b5f5 46 46 47 47 typedef struct { 48 ipcarg_t phone_hash;48 sysarg_t phone_hash; 49 49 ipc_call_t question; 50 50 oper_t *oper; … … 124 124 } 125 125 126 static void ipc_m_print(proto_t *proto, ipcarg_t method)126 static void ipc_m_print(proto_t *proto, sysarg_t method) 127 127 { 128 128 oper_t *oper; … … 192 192 unsigned long key[1]; 193 193 oper_t *oper; 194 ipcarg_t *args;194 sysarg_t *args; 195 195 int i; 196 196 … … 204 204 (void *) hash, phone, 205 205 (proto ? proto->name : "n/a")); 206 ipc_m_print(proto, IPC_GET_ METHOD(*call));206 ipc_m_print(proto, IPC_GET_IMETHOD(*call)); 207 207 printf(" args: (%" PRIun ", %" PRIun ", %" PRIun ", " 208 208 "%" PRIun ", %" PRIun ")\n", … … 214 214 215 215 if (proto != NULL) { 216 oper = proto_get_oper(proto, IPC_GET_ METHOD(*call));216 oper = proto_get_oper(proto, IPC_GET_IMETHOD(*call)); 217 217 } else { 218 218 oper = NULL; … … 262 262 ipc_call_t *answer) 263 263 { 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; 268 268 proto_t *proto; 269 269 int cphone; 270 270 271 ipcarg_t *resp;271 sysarg_t *resp; 272 272 oper_t *oper; 273 273 int i; … … 276 276 277 277 phone = pcall->phone_hash; 278 method = IPC_GET_ METHOD(pcall->question);278 method = IPC_GET_IMETHOD(pcall->question); 279 279 retval = IPC_GET_RETVAL(*answer); 280 280 -
uspace/app/trace/proto.c
rcead2aa r357b5f5 53 53 54 54 typedef struct { 55 ipcarg_t method;55 sysarg_t method; 56 56 oper_t *oper; 57 57 link_t link; -
uspace/app/trace/syscalls.c
rcead2aa r357b5f5 73 73 [SYS_PHYSMEM_MAP] = { "physmem_map", 4, V_ERRNO }, 74 74 [SYS_IOSPACE_ENABLE] = { "iospace_enable", 1, V_ERRNO }, 75 [SYS_INTERRUPT_ENABLE] = { "interrupt_enable", 2, V_ERRNO },76 75 77 76 [SYS_SYSINFO_GET_TAG] = { "sysinfo_get_tag", 2, V_INTEGER }, -
uspace/app/trace/trace.c
rcead2aa r357b5f5 287 287 { 288 288 ipc_call_t call; 289 ipcarg_t phoneid;289 sysarg_t phoneid; 290 290 291 291 if (sc_rc == (sysarg_t) IPC_CALLRET_FATAL || … … 295 295 phoneid = sc_args[0]; 296 296 297 IPC_SET_ METHOD(call, sc_args[1]);297 IPC_SET_IMETHOD(call, sc_args[1]); 298 298 IPC_SET_ARG1(call, sc_args[2]); 299 299 IPC_SET_ARG2(call, sc_args[3]); … … 331 331 phoneidx = sc_args[0]; 332 332 333 IPC_SET_ METHOD(question, sc_args[1]);333 IPC_SET_IMETHOD(question, sc_args[1]); 334 334 IPC_SET_ARG1(question, sc_args[2]); 335 335 IPC_SET_ARG2(question, sc_args[3]);
Note:
See TracChangeset
for help on using the changeset viewer.
