Rev 3431 | Rev 3684 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 3431 | Rev 3610 | ||
|---|---|---|---|
| Line 51... | Line 51... | ||
| 51 | #include <adt/list.h> |
51 | #include <adt/list.h> |
| 52 | #include <atomic.h> |
52 | #include <atomic.h> |
| 53 | #include <proc/thread.h> |
53 | #include <proc/thread.h> |
| 54 | #include <sysinfo/sysinfo.h> |
54 | #include <sysinfo/sysinfo.h> |
| 55 | #include <arch/barrier.h> |
55 | #include <arch/barrier.h> |
| - | 56 | #include <arch/interrupt.h> |
|
| 56 | #include <mm/frame.h> |
57 | #include <mm/frame.h> |
| 57 | #include <ddi/ddi.h> |
58 | #include <ddi/ddi.h> |
| 58 | #include <udebug/udebug.h> |
59 | #include <udebug/udebug.h> |
| 59 | 60 | ||
| 60 | /* Pointer to variable with uptime */ |
61 | /* Pointer to variable with uptime */ |
| Line 196... | Line 197... | ||
| 196 | #ifdef CONFIG_UDEBUG |
197 | #ifdef CONFIG_UDEBUG |
| 197 | /* |
198 | /* |
| 198 | * Give udebug chance to stop the thread |
199 | * Give udebug chance to stop the thread |
| 199 | * before it begins executing. |
200 | * before it begins executing. |
| 200 | */ |
201 | */ |
| - | 202 | if (istate_from_uspace(THREAD->udebug.uspace_state)) |
|
| 201 | udebug_before_thread_runs(); |
203 | udebug_before_thread_runs(); |
| 202 | #endif |
204 | #endif |
| 203 | } |
205 | } |
| 204 | } |
206 | } |
| 205 | 207 | ||
| 206 | } |
208 | } |