<div dir="ltr">Hi,<div><br></div><div>Since yesterday, we are stuck on this problem. Userspace process is created fine, syscall handling also works, e.g. for print it prints out what it needs to, but when returning from syscall, i.e. jumping back to userspace, the application suddenly terminates. I fed the cpu_jump_to_userspace function context->sp and context->epc as arguments.The problem is that the context->sp is set to 0 for some reason, which i believe isn't the correct input for the jump. I traced the change to the memcpy method, so to when the binary image is being copied, but i'm currently stuck here.</div><div><br></div><div>Any help would be appreciated.</div><div>Regards,</div><div>Patrik Smelik</div></div>