Date: Sat, 10 Jun 2000 20:59:51 -0400 (EDT) From: Luoqi Chen <luoqi@watermarkgroup.com> To: dfr@nlsystems.com Cc: arch@FreeBSD.ORG Subject: Re: Syscalls and execve Message-ID: <200006110059.e5B0xpk14371@lor.watermarkgroup.com>
next in thread | raw e-mail | index | archive | help
> I think an exec_trampoline might well be the best solution. I can't quite > see how to work it though. > > -- > Doug Rabson Mail: dfr@nlsystems.com > Nonlinear Systems Ltd. Phone: +44 20 8442 9037 > I would put the trampoline code right below the arguments, so it won't waste any stack space. I would first place $pc, $a0, $a3 values into $ra, $s0, $s1 registers in the shorter trapframe, and in the trampoline code, copy from $s0/1 to $a0/3, clear $s0/1 and other volatile registers, return. -lq To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200006110059.e5B0xpk14371>