/picolibc-3.7.0-3.6.0/newlib/libc/picolib/machine/arm/ |
D | tls.c | 60 _set_tls(void *tls) in _set_tls() argument 63 __asm__("mcr p15, 0, %0, cr13, cr0, 3" : : "r" (tls - TP_OFFSET)); in _set_tls() 65 __tls = (uint8_t *) tls - TP_OFFSET; in _set_tls()
|
D | CMakeLists.txt | 40 tls.c
|
D | meson.build | 38 src_picolib += files('tls.c', 'read_tp.S')
|
/picolibc-3.7.0-3.6.0/test/ |
D | tls.c | 71 inside_tls_region(void *ptr, const void *tls) in inside_tls_region() argument 73 return (uintptr_t)ptr >= (uintptr_t)tls && in inside_tls_region() 74 (uintptr_t)ptr < (uintptr_t)tls + _tls_size(); in inside_tls_region() 292 void *tls = aligned_alloc(tls_align, tls_size); in main() local 294 if (tls) { in main() 299 memset(tls, 0x55, tls_size); in main() 301 _init_tls(tls); in main() 302 _set_tls(tls); in main() 304 if (memcmp(tls, &__tdata_source, tdata_size) != 0) { in main() 307 hexdump(tls, tdata_size, "RAM:"); in main() [all …]
|
/picolibc-3.7.0-3.6.0/newlib/libc/picolib/ |
D | inittls.c | 67 char *tls = __tls; in _init_tls() local 70 memcpy(tls, __tdata_source, (uintptr_t) __tdata_size); in _init_tls() 73 memset(tls + (uintptr_t) __tbss_offset, '\0', (uintptr_t) __tbss_size); in _init_tls()
|
/picolibc-3.7.0-3.6.0/newlib/libc/picolib/machine/riscv/ |
D | tls.c | 42 _set_tls(void *tls) in _set_tls() argument 44 __asm__("mv tp, %0" : : "r" (tls)); in _set_tls()
|
D | CMakeLists.txt | 37 picolibc_sources(tls.c)
|
D | meson.build | 37 src_picolib += files('tls.c')
|
/picolibc-3.7.0-3.6.0/newlib/libc/picolib/machine/mips/ |
D | tls.c | 41 _set_tls(void *tls) in _set_tls() argument 51 : : "Jr" (tls), in _set_tls()
|
D | meson.build | 37 src_picolib += files('tls.c')
|
/picolibc-3.7.0-3.6.0/newlib/libc/picolib/machine/sparc/ |
D | tls.c | 42 _set_tls(void *tls) in _set_tls() argument 44 char *ctls = tls; in _set_tls()
|
D | CMakeLists.txt | 40 tls.c
|
/picolibc-3.7.0-3.6.0/newlib/libc/picolib/machine/xtensa/ |
D | tls.c | 44 _set_tls(void *tls) in _set_tls() argument 46 __asm__("wur %0," REG(THREADPTR) : : "r" (tls)); in _set_tls()
|
D | CMakeLists.txt | 37 picolibc_sources(tls.c)
|
D | meson.build | 37 src_picolib += files('tls.c')
|
/picolibc-3.7.0-3.6.0/newlib/libc/picolib/machine/aarch64/ |
D | tls.c | 58 _set_tls(void *tls) in _set_tls() argument 60 __asm__ volatile("msr tpidr_el0, %0" : : "r" (tls - TP_OFFSET)); in _set_tls()
|
D | meson.build | 37 src_picolib += files('tls.c')
|
/picolibc-3.7.0-3.6.0/newlib/libc/include/ |
D | picotls.h | 56 _init_tls(void *tls); 60 _set_tls(void *tls);
|
/picolibc-3.7.0-3.6.0/newlib/libc/picolib/machine/arc/ |
D | tls.c | 52 _set_tls(void *tls) in _set_tls() argument 54 __asm__("mov " REG(TLS_REGNO) ", %0" : : "r" (tls)); in _set_tls()
|
D | CMakeLists.txt | 37 picolibc_sources(tls.c)
|
D | meson.build | 37 src_picolib += files('tls.c')
|
/picolibc-3.7.0-3.6.0/picocrt/machine/aarch64/ |
D | crt0.c | 55 _set_tls(void *tls) in _set_tls() argument 57 __asm__ volatile("msr tpidr_el0, %0" : : "r" (tls - TP_OFFSET)); in _set_tls()
|
/picolibc-3.7.0-3.6.0/doc/ |
D | tls.md | 92 _set_tls(void *tls); 95 block pointer for the processor to `tls`. 100 _init_tls(void *tls);
|
/picolibc-3.7.0-3.6.0/cmake/ |
D | TC-microbit.ld | 59 tls PT_TLS; 154 } >ram AT>flash :tls :ram_init 173 } >ram AT>ram :tls :ram
|
D | TC-arm-none-eabi.ld | 59 tls PT_TLS; 154 } >ram AT>flash :tls :ram_init 173 } >ram AT>ram :tls :ram
|