From owner-cvs-all Thu Feb 22 8: 4:46 2001 Delivered-To: cvs-all@freebsd.org Received: from finch-post-12.mail.demon.net (finch-post-12.mail.demon.net [194.217.242.41]) by hub.freebsd.org (Postfix) with ESMTP id C18C437B491; Thu, 22 Feb 2001 08:04:38 -0800 (PST) (envelope-from dfr@nlsystems.com) Received: from [62.49.251.130] (helo=herring.nlsystems.com) by finch-post-12.mail.demon.net with esmtp (Exim 2.12 #1) id 14VyEO-000HPp-0C; Thu, 22 Feb 2001 16:04:36 +0000 Received: from herring (herring [10.0.0.2]) by herring.nlsystems.com (8.11.2/8.11.2) with ESMTP id f1MG4Z732890; Thu, 22 Feb 2001 16:04:35 GMT (envelope-from dfr@nlsystems.com) Date: Thu, 22 Feb 2001 16:04:35 +0000 (GMT) From: Doug Rabson To: John Baldwin Cc: , Subject: Re: cvs commit: src/sys/alpha/alpha swtch.s In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. > > Also, as a sidenote, I think that addupc_task() should take a uniptr_t, not a > uint64_t as its second argument.. It should certainly be uintptr_t. -- Doug Rabson Mail: dfr@nlsystems.com Phone: +44 20 8348 6160 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message