Changeset 1433ecda in mainline for uspace/lib/c/arch/ppc32/include/libarch/tls.h
- Timestamp:
- 2018-04-04T15:42:37Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2c4e1cc
- Parents:
- 47b2d7e3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/arch/ppc32/include/libarch/tls.h
r47b2d7e3 r1433ecda 50 50 51 51 asm volatile ( 52 53 54 52 "mr %%r2, %0\n" 53 : 54 : "r" (tp) 55 55 ); 56 56 } 57 57 58 static inline tcb_t * 58 static inline tcb_t *__tcb_get(void) 59 59 { 60 void * 60 void *retval; 61 61 62 62 asm volatile ( 63 64 63 "mr %0, %%r2\n" 64 : "=r" (retval) 65 65 ); 66 66
Note:
See TracChangeset
for help on using the changeset viewer.