Home
last modified time | relevance | path

Searched refs:thread_frame (Results 1 – 2 of 2) sorted by relevance

/components/lwp/arch/risc-v/rv64/
A Dlwp_arch.c168 struct rt_hw_stack_frame *thread_frame; in arch_set_thread_context() local
205 thread_frame = (struct rt_hw_stack_frame *)stk; in arch_set_thread_context()
210 ((rt_ubase_t *)thread_frame)[i] = 0xdeadbeaf; in arch_set_thread_context()
214 thread_frame->epc = (rt_ubase_t)exit; in arch_set_thread_context()
217 thread_frame->sstatus = read_csr(sstatus) | SSTATUS_SPP; in arch_set_thread_context()
218 thread_frame->sstatus &= ~SSTATUS_SIE; /* must disable interrupt */ in arch_set_thread_context()
221 thread_frame->user_sp_exc_stack = (rt_ubase_t)syscall_stk; in arch_set_thread_context()
/components/lwp/arch/aarch64/cortex-a/
A Dlwp_arch.c105 struct rt_hw_exp_stack *thread_frame; in arch_set_thread_context() local
116 thread_frame = (void *)rt_hw_stack_init(exit, RT_NULL, (void *)syscall_frame, RT_NULL); in arch_set_thread_context()
118 *thread_sp = thread_frame; in arch_set_thread_context()

Completed in 5 milliseconds