Rev 2479 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 2479 | Rev 2482 | ||
|---|---|---|---|
| Line 36... | Line 36... | ||
| 36 | #define LIBC_ppc32_THREAD_H_ |
36 | #define LIBC_ppc32_THREAD_H_ |
| 37 | 37 | ||
| 38 | #define PPC_TP_OFFSET 0x7000 |
38 | #define PPC_TP_OFFSET 0x7000 |
| 39 | 39 | ||
| 40 | typedef struct { |
40 | typedef struct { |
| 41 | void *pst_data; |
41 | void *fibril_data; |
| 42 | } tcb_t; |
42 | } tcb_t; |
| 43 | 43 | ||
| 44 | static inline void __tcb_set(tcb_t *tcb) |
44 | static inline void __tcb_set(tcb_t *tcb) |
| 45 | { |
45 | { |
| 46 | void *tp = tcb; |
46 | void *tp = tcb; |