Changes in kernel/generic/src/proc/task.c [473d5d2:5bcf1f9] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/proc/task.c
r473d5d2 r5bcf1f9 190 190 str_cpy(task->name, TASK_NAME_BUFLEN, name); 191 191 192 task->cont ainer = CONTAINER;192 task->context = CONTEXT; 193 193 task->capabilities = 0; 194 194 task->ucycles = 0; … … 211 211 212 212 if ((ipc_phone_0) && 213 (cont ainer_check(ipc_phone_0->task->container, task->container)))213 (context_check(ipc_phone_0->task->context, task->context))) 214 214 ipc_phone_connect(&task->phones[0], ipc_phone_0); 215 215 … … 534 534 */ 535 535 if (notify) { 536 /* Notify the subscriber that a fault occurred. */ 537 if (event_notify_3(EVENT_FAULT, false, LOWER32(TASK->taskid), 538 UPPER32(TASK->taskid), (sysarg_t) THREAD) == EOK) { 536 if (event_is_subscribed(EVENT_FAULT)) { 537 /* Notify the subscriber that a fault occurred. */ 538 event_notify_3(EVENT_FAULT, LOWER32(TASK->taskid), 539 UPPER32(TASK->taskid), (sysarg_t) THREAD); 540 539 541 #ifdef CONFIG_UDEBUG 540 542 /* Wait for a debugging session. */ … … 584 586 printf("%-8" PRIu64 " %-14s %-5" PRIu32 " %10p %10p" 585 587 " %9" PRIu64 "%c %9" PRIu64 "%c\n", task->taskid, 586 task->name, task->cont ainer, task, task->as,588 task->name, task->context, task, task->as, 587 589 ucycles, usuffix, kcycles, ksuffix); 588 590 #endif … … 595 597 else 596 598 printf("%-8" PRIu64 " %-14s %-5" PRIu32 " %18p %18p\n", 597 task->taskid, task->name, task->cont ainer, task, task->as);599 task->taskid, task->name, task->context, task, task->as); 598 600 #endif 599 601 … … 625 627 printf("[id ] [threads] [calls] [callee\n"); 626 628 else 627 printf("[id ] [name ] [ct n] [address ] [as ]"629 printf("[id ] [name ] [ctx] [address ] [as ]" 628 630 " [ucycles ] [kcycles ]\n"); 629 631 #endif … … 634 636 " [callee\n"); 635 637 else 636 printf("[id ] [name ] [ct n] [address ]"638 printf("[id ] [name ] [ctx] [address ]" 637 639 " [as ]\n"); 638 640 #endif
Note:
See TracChangeset
for help on using the changeset viewer.