Changeset 9fe962d6 in mainline
- Timestamp:
- 2008-06-03T14:42:21Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c70d693
- Parents:
- 558c2bd
- Location:
- kernel/generic/src/ipc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ipc/ipc.c
r558c2bd r9fe962d6 563 563 break; 564 564 } 565 printf("active: % d\n",565 printf("active: %ld\n", 566 566 atomic_get(&task->phones[i].active_calls)); 567 567 } … … 574 574 printf("ABOX - CALLS:\n"); 575 575 for (tmp = task->answerbox.calls.next; tmp != &task->answerbox.calls; 576 576 tmp = tmp->next) { 577 577 call = list_get_instance(tmp, call_t, link); 578 printf("Callid: %p Srctask:%llu M:%d A1:%d A2:%d A3:%d " 579 "A4:%d A5:%d Flags:%x\n", call, call->sender->taskid, 578 printf("Callid: %p Srctask:%" PRIu64 " M:%" PRIun 579 " A1:%" PRIun " A2:%" PRIun " A3:%" PRIun 580 " A4:%" PRIun " A5:%" PRIun " Flags:%x\n", call, call->sender->taskid, 580 581 IPC_GET_METHOD(call->data), IPC_GET_ARG1(call->data), 581 582 IPC_GET_ARG2(call->data), IPC_GET_ARG3(call->data), … … 585 586 /* Print answerbox - calls */ 586 587 printf("ABOX - DISPATCHED CALLS:\n"); 587 for (tmp = task->answerbox.dispatched_calls.next; 588 589 588 for (tmp = task->answerbox.dispatched_calls.next; 589 tmp != &task->answerbox.dispatched_calls; 590 tmp = tmp->next) { 590 591 call = list_get_instance(tmp, call_t, link); 591 printf("Callid: %p Srctask:%llu M:%d A1:%d A2:%d A3:%d " 592 "A4:%d A5:%d Flags:%x\n", call, call->sender->taskid, 592 printf("Callid: %p Srctask:%" PRIu64 " M:%" PRIun 593 " A1:%" PRIun " A2:%" PRIun " A3:%" PRIun 594 " A4:%" PRIun " A5:%" PRIun " Flags:%x\n", call, call->sender->taskid, 593 595 IPC_GET_METHOD(call->data), IPC_GET_ARG1(call->data), 594 596 IPC_GET_ARG2(call->data), IPC_GET_ARG3(call->data), … … 599 601 printf("ABOX - ANSWERS:\n"); 600 602 for (tmp = task->answerbox.answers.next; tmp != &task->answerbox.answers; 601 603 tmp = tmp->next) { 602 604 call = list_get_instance(tmp, call_t, link); 603 printf("Callid:%p M:%d A1:%d A2:%d A3:%d A4:%d A5:%d Flags:%x\n", 605 printf("Callid:%p M:%" PRIun " A1:%" PRIun " A2:%" PRIun 606 " A3:%" PRIun " A4:%" PRIun " A5:%" PRIun " Flags:%x\n", 604 607 call, IPC_GET_METHOD(call->data), IPC_GET_ARG1(call->data), 605 608 IPC_GET_ARG2(call->data), IPC_GET_ARG3(call->data), -
kernel/generic/src/ipc/sysipc.c
r558c2bd r9fe962d6 427 427 int res; 428 428 int rc; 429 429 430 430 GET_CHECK_PHONE(phone, phoneid, return ENOENT); 431 431 … … 627 627 ipc_answer(&TASK->answerbox, call); 628 628 return ENOENT; 629 }); 629 }); 630 630 631 631 if (!method_is_forwardable(IPC_GET_METHOD(call->data))) {
Note:
See TracChangeset
for help on using the changeset viewer.