Date: Wed, 15 Aug 2001 10:30:19 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> To: Mike Smith <msmith@FreeBSD.org> Cc: hackers@FreeBSD.org, janb@cs.utep.edu Subject: Re: more Newbus questions Message-ID: <XFMail.010815103019.jhb@FreeBSD.org> In-Reply-To: <200108151714.f7FHEIC01010@mass.dis.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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.. >> Could you possibly go over how this works on the i386. Is there a global >> structure that keeps track of all allocated IRQs and interrupt handling >> routines? What I really need, is to find out, where this structure is >> built, so that at this point, I can instead build the structure that xmach >> needs. Or, alternatively, I can wait until that structure is done, and >> then make the xmach structure from that... >> >> Thanks again, 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 <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.010815103019.jhb>