Subversion Repositories HelenOS-historic

Rev

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

Rev 1227 Rev 1235
Line 33... Line 33...
33
#include <synch/spinlock.h>
33
#include <synch/spinlock.h>
34
#include <adt/btree.h>
34
#include <adt/btree.h>
35
#include <adt/list.h>
35
#include <adt/list.h>
36
#include <ipc/ipc.h>
36
#include <ipc/ipc.h>
37
#include <security/cap.h>
37
#include <security/cap.h>
-
 
38
#include <mm/as_arg.h>
38
#include <arch/proc/task.h>
39
#include <arch/proc/task.h>
39
 
40
 
40
/** Task structure. */
41
/** Task structure. */
41
struct task {
42
struct task {
42
    SPINLOCK_DECLARE(lock);
43
    SPINLOCK_DECLARE(lock);
Line 50... Line 51...
50
    /* IPC stuff */
51
    /* IPC stuff */
51
    answerbox_t answerbox;  /**< Communication endpoint */
52
    answerbox_t answerbox;  /**< Communication endpoint */
52
    phone_t phones[IPC_MAX_PHONES];
53
    phone_t phones[IPC_MAX_PHONES];
53
    atomic_t active_calls;  /**< Active asynchronous messages */
54
    atomic_t active_calls;  /**< Active asynchronous messages */
54
   
55
   
-
 
56
    /** Accept argument of SYS_AS_AREA_ACCEPT. */
-
 
57
    as_area_acptsnd_arg_t accept_arg;
-
 
58
   
55
    task_arch_t arch;   /**< Architecture specific task data. */
59
    task_arch_t arch;   /**< Architecture specific task data. */
56
};
60
};
57
 
61
 
58
extern spinlock_t tasks_lock;
62
extern spinlock_t tasks_lock;
59
extern btree_t tasks_btree;
63
extern btree_t tasks_btree;