Home
last modified time | relevance | path

Searched refs:self_ptr (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/arch/x86/core/ia32/
Dtls.c35 uintptr_t *self_ptr; in z_x86_early_tls_update_gdt() local
44 self_ptr = (void *)stack_ptr; in z_x86_early_tls_update_gdt()
45 *self_ptr = POINTER_TO_UINT(stack_ptr); in z_x86_early_tls_update_gdt()
47 sd->base_low = POINTER_TO_UINT(self_ptr) & 0xFFFFU; in z_x86_early_tls_update_gdt()
48 sd->base_mid = (POINTER_TO_UINT(self_ptr) >> 16) & 0xFFU; in z_x86_early_tls_update_gdt()
49 sd->base_hi = (POINTER_TO_UINT(self_ptr) >> 24) & 0xFFU; in z_x86_early_tls_update_gdt()
/Zephyr-latest/arch/x86/core/intel64/
Dtls.c12 uintptr_t *self_ptr; in z_x86_early_tls_update_gdt() local
20 self_ptr = (void *)stack_ptr; in z_x86_early_tls_update_gdt()
21 *self_ptr = POINTER_TO_UINT(stack_ptr); in z_x86_early_tls_update_gdt()
30 : "r"(fs_base), "r"(POINTER_TO_UINT(self_ptr))); in z_x86_early_tls_update_gdt()
/Zephyr-latest/arch/x86/core/
Dtls.c24 uintptr_t *self_ptr; in arch_tls_stack_setup() local
31 self_ptr = (void *)stack_ptr; in arch_tls_stack_setup()
32 *self_ptr = POINTER_TO_UINT(stack_ptr); in arch_tls_stack_setup()
38 new_thread->tls = POINTER_TO_UINT(self_ptr); in arch_tls_stack_setup()