Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Feb 2001 17:47:42 +0000 (GMT)
From:      Doug Rabson <dfr@nlsystems.com>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        <cvs-committers@FreeBSD.org>, <cvs-all@FreeBSD.org>
Subject:   Re: cvs commit: src/sys/alpha/alpha swtch.s
Message-ID:  <Pine.BSF.4.33.0102221740320.33213-100000@herring.nlsystems.com>
In-Reply-To: <XFMail.010222093029.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.33.0102221740320.33213-100000>