Changeset 0b05082 in mainline for uspace/lib/c/arch/riscv64/include/libarch/tls.h
- Timestamp:
- 2018-07-18T18:56:16Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 40abf56
- Parents:
- 9b1baac
- git-author:
- Jiří Zárevúcky <jiri.zarevucky@…> (2018-07-18 14:25:11)
- git-committer:
- Jiří Zárevúcky <jiri.zarevucky@…> (2018-07-18 18:56:16)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/arch/riscv64/include/libarch/tls.h
r9b1baac r0b05082 40 40 #include <libc.h> 41 41 42 /* Some architectures store the value with an offset. Some do not. */ 43 #define ARCH_TP_OFFSET 0 44 42 45 typedef struct { 43 46 void *self; … … 45 48 } tcb_t; 46 49 47 static inline void __tcb_ set(tcb_t *tcb)50 static inline void __tcb_raw_set(void *tls) 48 51 { 52 // TODO 49 53 } 50 54 51 static inline tcb_t *__tcb_get(void)55 static inline void *__tcb_raw_get(void) 52 56 { 53 return (tcb_t *) 0; 57 // TODO 58 return 0; 54 59 } 55 60
Note:
See TracChangeset
for help on using the changeset viewer.