Searched refs:syscall_frame (Results 1 – 2 of 2) sorted by relevance
104 struct rt_hw_exp_stack *syscall_frame; in arch_set_thread_context() local111 syscall_frame = (void *)((long)new_thread_stack - sizeof(struct rt_hw_exp_stack)); in arch_set_thread_context()112 memcpy(syscall_frame, ori_syscall, sizeof(*syscall_frame)); in arch_set_thread_context()113 syscall_frame->sp_el0 = (long)user_stack; in arch_set_thread_context()114 syscall_frame->x0 = 0; in arch_set_thread_context()116 thread_frame = (void *)rt_hw_stack_init(exit, RT_NULL, (void *)syscall_frame, RT_NULL); in arch_set_thread_context()
167 struct rt_hw_stack_frame *syscall_frame; in arch_set_thread_context() local178 syscall_frame = (struct rt_hw_stack_frame *)stk; in arch_set_thread_context()181 syscall_frame->user_sp_exc_stack = (rt_ubase_t)user_stack; in arch_set_thread_context()184 syscall_frame->epc += 4; in arch_set_thread_context()187 syscall_frame->a0 = 0; in arch_set_thread_context()188 syscall_frame->a1 = 0; in arch_set_thread_context()192 syscall_frame->tp = (rt_ubase_t)thread->thread_idr; in arch_set_thread_context()
Completed in 24 milliseconds