Subversion Repositories HelenOS

Rev

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

Rev 3343 Rev 3492
Line 50... Line 50...
50
#include <arch/context.h>
50
#include <arch/context.h>
51
#include <arch/fpu_context.h>
51
#include <arch/fpu_context.h>
52
#include <arch/cpu.h>
52
#include <arch/cpu.h>
53
#include <mm/tlb.h>
53
#include <mm/tlb.h>
54
#include <proc/scheduler.h>
54
#include <proc/scheduler.h>
-
 
55
#include <udebug/udebug.h>
55
 
56
 
56
struct thread;
57
struct thread;
57
 
58
 
58
/** Task structure. */
59
/** Task structure. */
59
typedef struct task {
60
typedef struct task {
Line 91... Line 92...
91
    /**
92
    /**
92
     * Active asynchronous messages. It is used for limiting uspace to
93
     * Active asynchronous messages. It is used for limiting uspace to
93
     * certain extent.
94
     * certain extent.
94
     */
95
     */
95
    atomic_t active_calls;
96
    atomic_t active_calls;
-
 
97
 
-
 
98
#ifdef CONFIG_UDEBUG
-
 
99
    /** Debugging stuff */
-
 
100
    udebug_task_t udebug;
-
 
101
 
-
 
102
    /** Kernel answerbox */
-
 
103
    answerbox_t kernel_box;
-
 
104
    /** Thread used to service kernel answerbox */
-
 
105
    struct thread *kb_thread;
-
 
106
    /** Kbox thread creation vs. begin of cleanup mutual exclusion */
-
 
107
    mutex_t kb_cleanup_lock;
-
 
108
    /** True if cleanup of kbox has already started */
-
 
109
    bool kb_finished;
-
 
110
#endif
96
   
111
   
97
    /** Architecture specific task data. */
112
    /** Architecture specific task data. */
98
    task_arch_t arch;
113
    task_arch_t arch;
99
   
114
   
100
    /**
115
    /**