Subversion Repositories HelenOS

Rev

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

Rev 2848 Rev 2866
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 208... Line 209...
208
    SPINLOCK_DECLARE(debug_lock);
209
    SPINLOCK_DECLARE(debug_lock);
209
    waitq_t go_wq;
210
    waitq_t go_wq;
210
    call_t *debug_go_call;
211
    call_t *debug_go_call;
211
    unative_t syscall_args[6];
212
    unative_t syscall_args[6];
212
    istate_t *uspace_state;
213
    istate_t *uspace_state;
-
 
214
    /** What type of event are we stopped in or 0 if none */
-
 
215
    udebug_event_t cur_event;  
213
    bool debug_stop;
216
    bool debug_stop;
214
    bool debug_active; /**< In a debugging session */
217
    bool debug_active; /**< In a debugging session */
215
} thread_t;
218
} thread_t;
216
 
219
 
217
/** Thread list lock.
220
/** Thread list lock.