Changeset a074b4f in mainline for kernel/generic/include
- Timestamp:
- 2010-01-23T19:19:18Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 03333bc
- Parents:
- 336db295
- Location:
- kernel/generic/include
- Files:
-
- 3 edited
-
interrupt.h (modified) (1 diff)
-
ipc/event_types.h (modified) (1 diff)
-
udebug/udebug.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/interrupt.h
r336db295 ra074b4f 46 46 typedef void (* iroutine)(int n, istate_t *istate); 47 47 48 #define fault_if_from_uspace(istate, fmt, ...) \ 49 { \ 50 if (istate_from_uspace(istate)) { \ 51 task_t *task = TASK; \ 52 printf("Task %s (%" PRIu64 ") killed due to an exception at " \ 53 "program counter %p.\n", task->name, task->taskid, istate_get_pc(istate)); \ 54 stack_trace_istate(istate); \ 55 printf("Kill message: " fmt "\n", ##__VA_ARGS__); \ 56 task_kill(task->taskid); \ 57 thread_exit(); \ 58 } \ 59 } 60 48 extern void fault_if_from_uspace(istate_t *istate, char *fmt, ...); 61 49 extern iroutine exc_register(int n, const char *name, iroutine f); 62 50 extern void exc_dispatch(int n, istate_t *t); -
kernel/generic/include/ipc/event_types.h
r336db295 ra074b4f 37 37 38 38 typedef enum event_type { 39 /** New data available in kernel log */ 39 40 EVENT_KLOG = 0, 41 /** Returning from kernel console to userspace */ 40 42 EVENT_KCONSOLE, 43 /** A thread has faulted and will be terminated */ 44 EVENT_FAULT, 41 45 EVENT_END 42 46 } event_type_t; -
kernel/generic/include/udebug/udebug.h
r336db295 ra074b4f 153 153 154 154 #include <synch/mutex.h> 155 #include <synch/condvar.h> 155 156 #include <arch/interrupt.h> 156 157 #include <atomic.h> … … 195 196 bool stoppable; /**< thread is stoppable */ 196 197 bool active; /**< thread is in a debugging session */ 198 condvar_t active_cv; 197 199 } udebug_thread_t; 198 200
Note:
See TracChangeset
for help on using the changeset viewer.
