From owner-cvs-all Thu Feb 22 9:47:55 2001 Delivered-To: cvs-all@freebsd.org Received: from anchor-post-30.mail.demon.net (anchor-post-30.mail.demon.net [194.217.242.88]) by hub.freebsd.org (Postfix) with ESMTP id 7DFCB37B401; Thu, 22 Feb 2001 09:47:51 -0800 (PST) (envelope-from dfr@nlsystems.com) Received: from [62.49.251.130] (helo=herring.nlsystems.com) by anchor-post-30.mail.demon.net with esmtp (Exim 2.12 #1) id 14VzqB-0001q6-0U; Thu, 22 Feb 2001 17:47:43 +0000 Received: from herring (herring [10.0.0.2]) by herring.nlsystems.com (8.11.2/8.11.2) with ESMTP id f1MHlg733231; Thu, 22 Feb 2001 17:47:42 GMT (envelope-from dfr@nlsystems.com) Date: Thu, 22 Feb 2001 17:47:42 +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: > > > > 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? Its used in various places to get at the original trapframe which we entered the kernel with. This is needed for instance in signal delivery and execve handling. The i386 equivalent is p_md.md_regs. I'm not sure how the i386 code gets away without setting md_regs. Perhaps its always set correctly be whatever happened right before the call to ast(). -- 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