Subversion Repositories HelenOS-historic

Rev

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

Rev 973 Rev 998
Line 79... Line 79...
79
 
79
 
80
    ipc_answerbox_init(&ta->answerbox);
80
    ipc_answerbox_init(&ta->answerbox);
81
    memsetb((__address)&ta->phones, sizeof(ta->phones[0])*IPC_MAX_PHONES, 0);
81
    memsetb((__address)&ta->phones, sizeof(ta->phones[0])*IPC_MAX_PHONES, 0);
82
    if (ipc_phone_0)
82
    if (ipc_phone_0)
83
        ipc_phone_init(&ta->phones[0], ipc_phone_0);
83
        ipc_phone_init(&ta->phones[0], ipc_phone_0);
-
 
84
    atomic_set(&ta->active_calls, 0);
84
   
85
   
85
    ipl = interrupts_disable();
86
    ipl = interrupts_disable();
86
    spinlock_lock(&tasks_lock);
87
    spinlock_lock(&tasks_lock);
87
    list_append(&ta->tasks_link, &tasks_head);
88
    list_append(&ta->tasks_link, &tasks_head);
88
    spinlock_unlock(&tasks_lock);
89
    spinlock_unlock(&tasks_lock);