Changeset 6419c6e in mainline for uspace/lib/c/arch/mips32/include/libarch/tls.h
- Timestamp:
- 2018-07-06T20:06:58Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e89a06a
- Parents:
- da680b4b
- git-author:
- Jakub Jermar <jakub@…> (2018-07-06 20:05:27)
- git-committer:
- Jakub Jermar <jakub@…> (2018-07-06 20:06:58)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/arch/mips32/include/libarch/tls.h
rda680b4b r6419c6e 67 67 static inline void __tcb_set(tcb_t *tcb) 68 68 { 69 void *tp =tcb;69 char *tp = (char *) tcb; 70 70 tp += MIPS_TP_OFFSET + sizeof(tcb_t); 71 71 … … 75 75 static inline tcb_t *__tcb_get(void) 76 76 { 77 void*retval;77 char *retval; 78 78 79 79 asm volatile ("add %0, $27, $0" : "=r" (retval));
Note:
See TracChangeset
for help on using the changeset viewer.