Date: Thu, 22 Feb 2001 09:30:29 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: Doug Rabson <dfr@nlsystems.com> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/alpha/alpha swtch.s Message-ID: <XFMail.010222093029.jhb@FreeBSD.org> In-Reply-To: <Pine.BSF.4.33.0102221602230.32872-100000@herring.nlsystems.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 22-Feb-01 Doug Rabson wrote: > On Thu, 22 Feb 2001, John Baldwin wrote: > >> >> On 22-Feb-01 Doug Rabson wrote: >> > On Thu, 22 Feb 2001, John Baldwin wrote: >> > >> >> jhb 2001/02/22 07:06:20 PST >> >> >> >> Modified files: >> >> sys/alpha/alpha swtch.s >> >> Log: >> >> Cleanup and clarify the comments above switch_trampoline(). >> > >> > Should we unify the name for this thing? Alpha and ia64 use >> > switch_trampoline (derived from the NetBSD/alpha code) and i386 uses >> > fork_trampoline, which is probably a slightly better name. >> >> I've thought about doing that, yes. If you want, I can stick it on my todo >> list. Also, I have managed to make userret() and ast() (modulo a few >> commits >> coming up in the next 15 minutes or so) the same across all architectures. >> Do you think that given that it would be feasible to move those two >> functions >> to sys/kern/subr_trap.c and let them be MI? > > That seems like a good direction to take. Oops, bit too hasty. There is one remaining MD portion in the alpha ast() that the ia64 ast() has inherited, we set the p->p_md.md_tf field to point to the trapframe passed in to ast(). Do you know what it is used for? -- John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.010222093029.jhb>