201 |
struct queue_entry waitq; /* Link in wait queue. */ |
struct queue_entry waitq; /* Link in wait queue. */ |
202 |
struct queue_entry ipcq; /* Link in IPC wait queue. */ |
struct queue_entry ipcq; /* Link in IPC wait queue. */ |
203 |
struct queue_entry allq; /* Link in thread list. */ |
struct queue_entry allq; /* Link in thread list. */ |
204 |
|
struct queue_entry taskq; /* Link in tasks list. */ |
205 |
spin_lock_t lock; /* Lock for thread. */ |
spin_lock_t lock; /* Lock for thread. */ |
206 |
|
|
207 |
struct queue_entry *runq_list; |
struct queue_entry *runq_list; |
236 |
struct timer timer_user; |
struct timer timer_user; |
237 |
struct timer timer_system; |
struct timer timer_system; |
238 |
|
|
239 |
/* IPC information: */ |
|
240 |
struct ipc_kmsg *ipc_kmsg; /* kernel message. */ |
/* Message passed to us from some other thread. When we're |
241 |
rtmk_msg_size_t ipc_length; /* length. */ |
awaken by that thread, IPC_KMSG holds the message. */ |
242 |
ipc_return_t ipc_result; /* result. */ |
struct ipc_kmsg *ipc_kmsg; |
243 |
|
|
244 |
|
/* Maximum length of the message that we can receive. */ |
245 |
|
rtmk_msg_size_t ipc_length; |
246 |
|
|
247 |
|
/* Result of IPC operation. Normally success, or message buffer |
248 |
|
to small. ??? what other result codes can be sent to thread? */ |
249 |
|
ipc_return_t ipc_result; |
250 |
|
|
251 |
|
/* Port that we're waiting on message to be sent to. This |
252 |
|
is used when terminating the thread. */ |
253 |
|
struct ipc_port *ipc_blocked_port; |
254 |
|
|
255 |
/* Scheduling information: */ |
/* Scheduling information: */ |
256 |
int sched_credits; /* Credits. */ |
int sched_credits; /* Credits. */ |