> > 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 (b...@freebsd.org) and Steve Passe (f...@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. \\ m...@smith.net.au \\ The race is long, and in the \\ msm...@freebsd.org \\ end it's only with yourself. \\ msm...@cdrom.com To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-current" in the body of the message