Rev 1787 | Rev 1839 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1787 | Rev 1820 | ||
---|---|---|---|
Line 24... | Line 24... | ||
24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | */ |
27 | */ |
28 | 28 | ||
29 | /** @addtogroup genericproc |
29 | /** @addtogroup genericproc |
30 | * @{ |
30 | * @{ |
31 | */ |
31 | */ |
32 | /** @file |
32 | /** @file |
33 | */ |
33 | */ |
34 | 34 | ||
Line 144... | Line 144... | ||
144 | 144 | ||
145 | uint64_t ticks; /**< Ticks before preemption. */ |
145 | uint64_t ticks; /**< Ticks before preemption. */ |
146 | 146 | ||
147 | int priority; /**< Thread's priority. Implemented as index to CPU->rq */ |
147 | int priority; /**< Thread's priority. Implemented as index to CPU->rq */ |
148 | uint32_t tid; /**< Thread ID. */ |
148 | uint32_t tid; /**< Thread ID. */ |
- | 149 | context_id_t context; /**< Thread security context */ |
|
149 | 150 | ||
150 | thread_arch_t arch; /**< Architecture-specific data. */ |
151 | thread_arch_t arch; /**< Architecture-specific data. */ |
151 | 152 | ||
152 | uint8_t *kstack; /**< Thread's kernel stack. */ |
153 | uint8_t *kstack; /**< Thread's kernel stack. */ |
153 | }; |
154 | }; |
Line 190... | Line 191... | ||
190 | unative_t sys_thread_create(uspace_arg_t *uspace_uarg, char *uspace_name); |
191 | unative_t sys_thread_create(uspace_arg_t *uspace_uarg, char *uspace_name); |
191 | unative_t sys_thread_exit(int uspace_status); |
192 | unative_t sys_thread_exit(int uspace_status); |
192 | 193 | ||
193 | #endif |
194 | #endif |
194 | 195 | ||
195 | /** @} |
196 | /** @} |
196 | */ |
197 | */ |
197 | - |