Changeset 406 for trunk/kernel/kern/thread.h
- Timestamp:
- Aug 29, 2017, 12:03:37 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/kern/thread.h
r367 r406 158 158 * This TRDID is computed by the process_register_thread() function, when the user 159 159 * thread is registered in the local copy of the process descriptor. 160 * 161 * WARNING : Don't modify the first 4 fields order, as this order is used by the 162 * hal_kentry assembly code for the TSAR architecture. 160 163 **************************************************************************************/ 161 164 … … 164 167 typedef struct thread_s 165 168 { 166 void * cpu_uzone; /*! used for exception/interrupt/syscall */167 169 void * cpu_context; /*! used for context switch */ 168 170 void * fpu_context; /*! used for dynamic FPU allocation */ 171 172 intptr_t k_stack_base; /*! kernel stack base address */ 173 uint32_t k_stack_size; /*! kernel stack size (bytes) */ 169 174 170 175 uint32_t trdid; /*! thread index (cxy.ltid) */ … … 189 194 intptr_t u_stack_base; /*! user stack base address */ 190 195 uint32_t u_stack_size; /*! user stack size (bytes) */ 191 intptr_t k_stack_base; /*! kernel stack base address */192 uint32_t k_stack_size; /*! kernel stack size (bytes) */193 196 194 197 void * entry_func; /*! pointer on entry function */
Note: See TracChangeset
for help on using the changeset viewer.