Changeset 30bc2ce in mainline
- Timestamp:
- 2018-07-05T21:41:25Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d62d2c6
- Parents:
- 199b6d8
- git-author:
- Dzejrou <dzejrou@…> (2018-06-25 19:38:34)
- git-committer:
- Dzejrou <dzejrou@…> (2018-07-05 21:41:25)
- Location:
- uspace/lib/c/arch
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/arch/ia32/include/libarch/tls.h
r199b6d8 r30bc2ce 57 57 asm volatile ("movl %%gs:0, %0" : "=r" (retval)); 58 58 59 return retval;59 return (tcb_t *)retval; 60 60 } 61 61 -
uspace/lib/c/arch/ia64/include/libarch/tls.h
r199b6d8 r30bc2ce 56 56 asm volatile ("mov %0 = r13\n" : "=r" (retval)); 57 57 58 return retval;58 return (tcb_t *)retval; 59 59 } 60 60 -
uspace/lib/c/arch/riscv64/include/libarch/tls.h
r199b6d8 r30bc2ce 51 51 static inline tcb_t *__tcb_get(void) 52 52 { 53 return ( void*) 0;53 return (tcb_t *) 0; 54 54 } 55 55 -
uspace/lib/c/arch/sparc64/include/libarch/tls.h
r199b6d8 r30bc2ce 57 57 asm volatile ("mov %%g7, %0\n" : "=r" (retval)); 58 58 59 return retval;59 return (tcb_t *)retval; 60 60 } 61 61
Note:
See TracChangeset
for help on using the changeset viewer.