Subversion Repositories HelenOS

Rev

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

Rev 3597 Rev 3623
Line 51... Line 51...
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
#include <udebug/udebug.h>
-
 
56
#include <ipc/kbox.h>
56
 
57
 
57
#define TASK_NAME_BUFLEN    20
58
#define TASK_NAME_BUFLEN    20
58
 
59
 
59
struct thread;
60
struct thread;
60
 
61
 
Line 96... Line 97...
96
     * certain extent.
97
     * certain extent.
97
     */
98
     */
98
    atomic_t active_calls;
99
    atomic_t active_calls;
99
 
100
 
100
#ifdef CONFIG_UDEBUG
101
#ifdef CONFIG_UDEBUG
101
    /** Debugging stuff */
102
    /** Debugging stuff. */
102
    udebug_task_t udebug;
103
    udebug_task_t udebug;
103
 
104
 
104
    /** Kernel answerbox */
105
    /** Kernel answerbox. */
105
    answerbox_t kernel_box;
106
    kbox_t kb;
106
    /** Thread used to service kernel answerbox */
-
 
107
    struct thread *kb_thread;
-
 
108
    /** Kbox thread creation vs. begin of cleanup mutual exclusion */
-
 
109
    mutex_t kb_cleanup_lock;
-
 
110
    /** True if cleanup of kbox has already started */
-
 
111
    bool kb_finished;
-
 
112
#endif
107
#endif
113
   
108
 
114
    /** Architecture specific task data. */
109
    /** Architecture specific task data. */
115
    task_arch_t arch;
110
    task_arch_t arch;
116
   
111
   
117
    /**
112
    /**
118
     * Serializes access to the B+tree of task's futexes. This mutex is
113
     * Serializes access to the B+tree of task's futexes. This mutex is