Subversion Repositories HelenOS

Rev

Rev 2745 | Rev 3137 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2745 Rev 2802
Line 169... Line 169...
169
    ta->context = CONTEXT;
169
    ta->context = CONTEXT;
170
 
170
 
171
    ta->capabilities = 0;
171
    ta->capabilities = 0;
172
    ta->cycles = 0;
172
    ta->cycles = 0;
173
   
173
   
174
    ipc_answerbox_init(&ta->answerbox);
174
    ipc_answerbox_init(&ta->answerbox, ta);
175
    for (i = 0; i < IPC_MAX_PHONES; i++)
175
    for (i = 0; i < IPC_MAX_PHONES; i++)
176
        ipc_phone_init(&ta->phones[i]);
176
        ipc_phone_init(&ta->phones[i]);
177
    if ((ipc_phone_0) && (context_check(ipc_phone_0->task->context,
177
    if ((ipc_phone_0) && (context_check(ipc_phone_0->task->context,
178
        ta->context)))
178
        ta->context)))
179
        ipc_phone_connect(&ta->phones[0], ipc_phone_0);
179
        ipc_phone_connect(&ta->phones[0], ipc_phone_0);