Changeset 428 for trunk/kernel/kern/thread.h
- Timestamp:
- Jan 29, 2018, 6:08:07 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/kern/thread.h
r418 r428 73 73 #define THREAD_FLAG_SCHED 0x0004 /*! Scheduling required for this thread */ 74 74 #define THREAD_FLAG_REQ_ACK 0x0008 /*! Acknowledge required from scheduler */ 75 #define THREAD_FLAG_REQ_DELETE 0x0010 /*! Destruction required by scheduler*/75 #define THREAD_FLAG_REQ_DELETE 0x0010 /*! Destruction required from scheduler */ 76 76 77 77 /*************************************************************************************** … … 89 89 #define THREAD_BLOCKED_RPC 0x0200 /*! thread wait RPC completion */ 90 90 #define THREAD_BLOCKED_DEV_ISR 0x0400 /*! thread DEV wait ISR */ 91 #define THREAD_BLOCKED_WAIT 0x0800 /*! thread parent wait child termination */ 91 92 92 93 /*************************************************************************************** … … 123 124 * thread is registered in the local copy of the process descriptor. 124 125 * 125 * WARNING : Don't modify the first 3fields order, as this order is used by the126 * WARNING : Don't modify the first 4 fields order, as this order is used by the 126 127 * hal_kentry assembly code for the TSAR architecture. 127 128 **************************************************************************************/ … … 133 134 void * cpu_context; /*! pointer on CPU context switch */ 134 135 void * fpu_context; /*! pointer on FPU context switch */ 135 void * uzone; /*! used by hal_do_syscakl & hal_do_except */ 136 void * uzone_current; /*! used by hal_do_syscall & hal_do_except */ 137 void * uzone_previous; /*! used by hal_do_syscall & hal_do_except */ 136 138 137 139 intptr_t k_stack_base; /*! kernel stack base address */ … … 150 152 uint32_t remote_locks; /*! number of remote locks owned by thread */ 151 153 152 remote_spinlock_t *join_lock; /*! lock protecting the join/exit */154 remote_spinlock_t join_lock; /*! lock protecting the join/exit */ 153 155 void * join_value; /*! exit_value used in case of join */ 154 156 xptr_t join_xp; /*! extended pointer on joining thread */ … … 193 195 xlist_entry_t wait_list; /*! member of threads blocked on same cond */ 194 196 195 #if CONFIG_LOCKS_DEBUG196 197 list_entry_t locks_root; /*! root of list of locks taken */ 197 198 xlist_entry_t xlocks_root; /*! root of xlist of remote locks taken */ 198 #endif199 199 200 200 thread_info_t info; /*! embedded thread_info_t */
Note: See TracChangeset
for help on using the changeset viewer.