Home
last modified time | relevance | path

Searched refs:tls (Results 1 – 25 of 34) sorted by relevance

12

/picolibc-3.7.0-3.6.0/newlib/libc/picolib/machine/arm/
Dtls.c60 _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()
DCMakeLists.txt40 tls.c
Dmeson.build38 src_picolib += files('tls.c', 'read_tp.S')
/picolibc-3.7.0-3.6.0/test/
Dtls.c71 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/
Dinittls.c67 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/
Dtls.c42 _set_tls(void *tls) in _set_tls() argument
44 __asm__("mv tp, %0" : : "r" (tls)); in _set_tls()
DCMakeLists.txt37 picolibc_sources(tls.c)
Dmeson.build37 src_picolib += files('tls.c')
/picolibc-3.7.0-3.6.0/newlib/libc/picolib/machine/mips/
Dtls.c41 _set_tls(void *tls) in _set_tls() argument
51 : : "Jr" (tls), in _set_tls()
Dmeson.build37 src_picolib += files('tls.c')
/picolibc-3.7.0-3.6.0/newlib/libc/picolib/machine/sparc/
Dtls.c42 _set_tls(void *tls) in _set_tls() argument
44 char *ctls = tls; in _set_tls()
DCMakeLists.txt40 tls.c
/picolibc-3.7.0-3.6.0/newlib/libc/picolib/machine/xtensa/
Dtls.c44 _set_tls(void *tls) in _set_tls() argument
46 __asm__("wur %0," REG(THREADPTR) : : "r" (tls)); in _set_tls()
DCMakeLists.txt37 picolibc_sources(tls.c)
Dmeson.build37 src_picolib += files('tls.c')
/picolibc-3.7.0-3.6.0/newlib/libc/picolib/machine/aarch64/
Dtls.c58 _set_tls(void *tls) in _set_tls() argument
60 __asm__ volatile("msr tpidr_el0, %0" : : "r" (tls - TP_OFFSET)); in _set_tls()
Dmeson.build37 src_picolib += files('tls.c')
/picolibc-3.7.0-3.6.0/newlib/libc/include/
Dpicotls.h56 _init_tls(void *tls);
60 _set_tls(void *tls);
/picolibc-3.7.0-3.6.0/newlib/libc/picolib/machine/arc/
Dtls.c52 _set_tls(void *tls) in _set_tls() argument
54 __asm__("mov " REG(TLS_REGNO) ", %0" : : "r" (tls)); in _set_tls()
DCMakeLists.txt37 picolibc_sources(tls.c)
Dmeson.build37 src_picolib += files('tls.c')
/picolibc-3.7.0-3.6.0/picocrt/machine/aarch64/
Dcrt0.c55 _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/
Dtls.md92 _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/
DTC-microbit.ld59 tls PT_TLS;
154 } >ram AT>flash :tls :ram_init
173 } >ram AT>ram :tls :ram
DTC-arm-none-eabi.ld59 tls PT_TLS;
154 } >ram AT>flash :tls :ram_init
173 } >ram AT>ram :tls :ram

12