From owner-freebsd-current Thu Feb 25 16:39:40 1999 Delivered-To: freebsd-current@freebsd.org Received: from dingo.cdrom.com (castles204.castles.com [208.214.165.204]) by hub.freebsd.org (Postfix) with ESMTP id 3DD3A14DFF for ; Thu, 25 Feb 1999 16:39:37 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id QAA02910; Thu, 25 Feb 1999 16:34:34 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199902260034.QAA02910@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: "Jan B. Koum " Cc: current@freebsd.org, "Michael T. Stolarchuk" Subject: Re: [mts@off.to: freebsd low kernel expert...] In-reply-to: Your message of "Mon, 22 Feb 1999 06:46:15 PST." <19990222064614.D14395@best.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 25 Feb 1999 16:34:34 -0800 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > i'm looking for someone who can answer some questions about > interrupt processing code in freebsd 3.0... not the stuff > after the SMP processors get to C code, but the glue between > the hardware and the C code... Bruce Evans (bde@freebsd.org) and Steve Passe (fsmp@freebsd.org) are probably your best contacts. > i want to find the `pc' of the interrupting processor... i can > find the pc of the other processors, but don't yet know how > to get the previous-pc for the processor which fielded the > interrupt. If you're referring to the pc at which the processor running the interrupt handler was interrupted, I expect that you'll have to unwind the stack to find it. Note that AFAIK we support multiple interrupt entry, so you may have one handler interrupted by another. It may be easier if you have a specific context in which you need to get at the suspended PC. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message