Subversion Repositories HelenOS

Rev

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

Rev 3535 Rev 4347
Line 42... Line 42...
42
#include <synch/mutex.h>
42
#include <synch/mutex.h>
43
#include <synch/waitq.h>
43
#include <synch/waitq.h>
44
#include <synch/synch.h>
44
#include <synch/synch.h>
45
#include <ipc/ipc.h>
45
#include <ipc/ipc.h>
46
#include <ipc/kbox.h>
46
#include <ipc/kbox.h>
-
 
47
#include <event/event.h>
47
#include <errno.h>
48
#include <errno.h>
48
#include <mm/slab.h>
49
#include <mm/slab.h>
49
#include <arch.h>
50
#include <arch.h>
50
#include <proc/task.h>
51
#include <proc/task.h>
51
#include <memstr.h>
52
#include <memstr.h>
52
#include <debug.h>
53
#include <debug.h>
53
 
54
 
-
 
55
 
54
#include <print.h>
56
#include <print.h>
55
#include <console/console.h>
57
#include <console/console.h>
56
#include <proc/thread.h>
58
#include <proc/thread.h>
57
#include <arch/interrupt.h>
59
#include <arch/interrupt.h>
58
#include <ipc/irq.h>
60
#include <ipc/irq.h>
Line 524... Line 526...
524
 
526
 
525
    /* Disconnect all our phones ('ipc_phone_hangup') */
527
    /* Disconnect all our phones ('ipc_phone_hangup') */
526
    for (i = 0; i < IPC_MAX_PHONES; i++)
528
    for (i = 0; i < IPC_MAX_PHONES; i++)
527
        ipc_phone_hangup(&TASK->phones[i]);
529
        ipc_phone_hangup(&TASK->phones[i]);
528
 
530
 
-
 
531
    /* Unsubscribe from any event notifications. */
-
 
532
    event_cleanup_answerbox(&TASK->answerbox);
-
 
533
 
529
    /* Disconnect all connected irqs */
534
    /* Disconnect all connected irqs */
530
    ipc_irq_cleanup(&TASK->answerbox);
535
    ipc_irq_cleanup(&TASK->answerbox);
531
 
536
 
532
    /* Disconnect all phones connected to our regular answerbox */
537
    /* Disconnect all phones connected to our regular answerbox */
533
    ipc_answerbox_slam_phones(&TASK->answerbox, false);
538
    ipc_answerbox_slam_phones(&TASK->answerbox, false);