Subversion Repositories HelenOS

Rev

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

Rev 3222 Rev 3438
Line 44... Line 44...
44
#include <adt/avl.h>
44
#include <adt/avl.h>
45
#include <mm/slab.h>
45
#include <mm/slab.h>
46
#include <arch/cpu.h>
46
#include <arch/cpu.h>
47
#include <mm/tlb.h>
47
#include <mm/tlb.h>
48
#include <proc/uarg.h>
48
#include <proc/uarg.h>
-
 
49
#include <udebug/udebug.h>
49
 
50
 
50
#define THREAD_STACK_SIZE   STACK_SIZE
51
#define THREAD_STACK_SIZE   STACK_SIZE
51
#define THREAD_NAME_BUFLEN  20
52
#define THREAD_NAME_BUFLEN  20
52
 
53
 
53
extern char *thread_states[];
54
extern char *thread_states[];
Line 201... Line 202...
201
    /** Architecture-specific data. */
202
    /** Architecture-specific data. */
202
    thread_arch_t arch;
203
    thread_arch_t arch;
203
 
204
 
204
    /** Thread's kernel stack. */
205
    /** Thread's kernel stack. */
205
    uint8_t *kstack;
206
    uint8_t *kstack;
-
 
207
 
-
 
208
#ifdef CONFIG_UDEBUG
-
 
209
    /** Debugging stuff */
-
 
210
    udebug_thread_t udebug;
-
 
211
#endif
-
 
212
 
206
} thread_t;
213
} thread_t;
207
 
214
 
208
/** Thread list lock.
215
/** Thread list lock.
209
 *
216
 *
210
 * This lock protects the threads_tree.
217
 * This lock protects the threads_tree.