Lines Matching refs:arg
318 arch_store_fork_frame(struct arch_fork_arg *arg)
322 dprintf(" arg: %p\n", arg);
326 memcpy(&arg->frame, thread_get_current_thread()->arch_info.userFrame,
328 arg->frame.a0 = 0; // fork return value
341 arch_restore_fork_frame(struct arch_fork_arg *arg)
343 //dprintf("arch_restore_fork_frame(%p)\n", arg);
347 //dprintf(" user PC: "); WritePC(arg->frame.epc); dprintf("\n");
356 arg->frame.status = status.val;
357 arch_load_user_iframe(stackHeader, &arg->frame);