Subversion Repositories HelenOS

Rev

Rev 2187 | Rev 2268 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2187 Rev 2216
Line 191... Line 191...
191
    bool uncounted;
191
    bool uncounted;
192
 
192
 
193
    /** Thread's priority. Implemented as index to CPU->rq */
193
    /** Thread's priority. Implemented as index to CPU->rq */
194
    int priority;
194
    int priority;
195
    /** Thread ID. */
195
    /** Thread ID. */
196
    uint32_t tid;
196
    thread_id_t tid;
197
   
197
   
198
    /** Architecture-specific data. */
198
    /** Architecture-specific data. */
199
    thread_arch_t arch;
199
    thread_arch_t arch;
200
 
200
 
201
    /** Thread's kernel stack. */
201
    /** Thread's kernel stack. */
Line 246... Line 246...
246
 
246
 
247
/** Fpu context slab cache. */
247
/** Fpu context slab cache. */
248
extern slab_cache_t *fpu_context_slab;
248
extern slab_cache_t *fpu_context_slab;
249
 
249
 
250
/* Thread syscall prototypes. */
250
/* Thread syscall prototypes. */
251
unative_t sys_thread_create(uspace_arg_t *uspace_uarg, char *uspace_name);
251
extern unative_t sys_thread_create(uspace_arg_t *uspace_uarg, char *uspace_name, thread_id_t *uspace_thread_id);
252
unative_t sys_thread_exit(int uspace_status);
252
extern unative_t sys_thread_exit(int uspace_status);
253
unative_t sys_thread_get_id(void);
253
extern unative_t sys_thread_get_id(thread_id_t *uspace_thread_id);
254
 
254
 
255
#endif
255
#endif
256
 
256
 
257
/** @}
257
/** @}
258
 */
258
 */