On 15-Aug-01 [EMAIL PROTECTED] wrote:
> OK, this is helpful, but I have looked at this before. this seems to be
> where the interrupt vector table is initialized.(correct me if I am
> wrong..) NOw, where do the devices that newbus finds and probes get
> inserted into these structures(intr_handler
OK, this is helpful, but I have looked at this before. this seems to be
where the interrupt vector table is initialized.(correct me if I am
wrong..) NOw, where do the devices that newbus finds and probes get
inserted into these structures(intr_handler,intr_mptr, etc)?
Also, what are fastintr[] and
Thanks, will do
JAn
>
> Go read sys/i386/isa/intr_machdep.c (I know, isa/ is a bad place for it..)
>
> Also look at sys/kern/kern_intr.c and the ithread manpage to understand the MI
> ithread portions.
>
> >> JAn
>
> --
>
> John Baldwin <[EMAIL PROTECTED]> -- http://www.FreeBSD.org/~jhb/
> PGP Ke
That is fine. We are curently in the proccess of fixing up xmach, since
there are about 10 years of code rot in the thing. Priorty for me righ now
is to get newbus to work under xmach. i.e. I need to put newbus to work
with the way xmach handles device, which I am quite familiar with. What I
need
On 15-Aug-01 Mike Smith wrote:
>
> This is *totally* not how to do interrupts with Mach. You should be
> creating a thread for each interrupt source, and keeping a worklist of
> interrupt handlers registered against that source.
That's bascially how ithreads work in -current right now..
>>
This is *totally* not how to do interrupts with Mach. You should be
creating a thread for each interrupt source, and keeping a worklist of
interrupt handlers registered against that source.
Unfortunately, I can't help you with Mach-related things, since I work
for Apple and that'd put me in
> None of these are newbus items. Interrupt dispatch is not managed by
> newbus (due to the costs involved). Instead, interrupts are attached
> with bus_setup_intr, which forwards the interrupt handler and argument
> to platform-specific code. The resource mananger is involved (since
> interrup
First, I would like to thank all of you who answered my first question.
I have spent the past couple of days reading through the newbus code, and
have a couple more questions. I think I have a pretty good Idea about the
device tree by now, but I am a bit confused, as to how the interrupts are
hand
8 matches
Mail list logo