Changeset 31696b4f in mainline for kernel/generic/include
- Timestamp:
- 2008-11-23T10:59:21Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 50e5b25
- Parents:
- 0aa1665
- Location:
- kernel/generic/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/ipc/kbox.h
r0aa1665 r31696b4f 38 38 #include <typedefs.h> 39 39 40 /** Kernel answerbox structure. */ 41 typedef struct kbox { 42 /** The answerbox itself. */ 43 answerbox_t box; 44 /** Thread used to service the answerbox. */ 45 struct thread *thread; 46 /** Kbox thread creation vs. begin of cleanup mutual exclusion. */ 47 mutex_t cleanup_lock; 48 /** True if cleanup of kbox has already started. */ 49 bool finished; 50 } kbox_t; 51 40 52 extern int ipc_connect_kbox(task_id_t); 41 53 extern void ipc_kbox_cleanup(void); -
kernel/generic/include/proc/task.h
r0aa1665 r31696b4f 54 54 #include <proc/scheduler.h> 55 55 #include <udebug/udebug.h> 56 #include <ipc/kbox.h> 56 57 57 58 #define TASK_NAME_BUFLEN 20 … … 99 100 100 101 #ifdef CONFIG_UDEBUG 101 /** Debugging stuff */102 /** Debugging stuff. */ 102 103 udebug_task_t udebug; 103 104 104 /** Kernel answerbox */ 105 answerbox_t kernel_box; 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; 105 /** Kernel answerbox. */ 106 kbox_t kb; 112 107 #endif 113 108 114 109 /** Architecture specific task data. */ 115 110 task_arch_t arch;
Note:
See TracChangeset
for help on using the changeset viewer.