Changeset c4c5de5 in mainline for libc/arch/ia32/include/thread.h
- Timestamp:
- 2006-03-24T14:29:19Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8fe1cdb
- Parents:
- 520492a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libc/arch/ia32/include/thread.h
r520492a rc4c5de5 32 32 #include <libc.h> 33 33 34 static inline void __tls_set(void *tls) 34 typedef struct { 35 void *self; 36 void *pst_data; 37 } tcb_t; 38 39 static inline void __tcb_set(tcb_t *tcb) 35 40 { 36 __SYSCALL1(SYS_TLS_SET, (sysarg_t) t ls);41 __SYSCALL1(SYS_TLS_SET, (sysarg_t) tcb); 37 42 } 38 43 39 static inline void * __tls_get(void)44 static inline tcb_t * __tcb_get(void) 40 45 { 41 46 void * retval;
Note:
See TracChangeset
for help on using the changeset viewer.