Subject: Re: Generic soft interrupt support
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: Reinoud Zandijk <reinoud@netbsd.org>
List: port-arm
Date: 02/15/2007 16:52:42
--MGYHOYXEY6WxJCY8
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Fri, Feb 16, 2007 at 12:09:41AM +0900, Izumi Tsutsui wrote:
> > What is the current state? Should sys/arch/arm32/intr.c be tweaked so to 
> > have softintr_establish(), softintr_disestablish() ?
> 
> Yes, "generic software interrupt" means APIs mentioned in softintr(9),
> and __HAVE_GENERIC_SOFT_INTERRUPTS in <machine/types.h> indicates
> that the port has it. (see sys/dev/ic/com.c etc.)

Then i wonder why this code for softintr_establish() is not shared for each 
port? could the code for arch/acorn26/acorn26/softintr.c be used as a 
template for all ARM based machines? or do device drivers need to be 
changed? (Sorry, first time i look into the issue)

thanks in advance,
Reinoud


--MGYHOYXEY6WxJCY8
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (NetBSD)

iQEVAwUBRdSBw4KcNwBDyKpoAQIiaQf/SS0G16IGlz4f4YKaXRa62bH25rCG041G
TXZnU5+eo2dkKp1nGE4uQQlfBVsrJTNuV8XsWiPbI3bu+pFTTc0vdJMeYcmzjAz9
gyyk8asXk47qdLggZ1NdI2vgvpVjgUB62TL+oagBoe4OhXg6jhpkhQ8GGToR9U+F
sQ2ss+ANg66E+4twUuGq6gn4OQgAnBmqepbK5mf+asSAoQtALfCbsfDNomm5m7Jc
9AAqcq9kGwUlm9Mj+rzlNQC9TIuH2RhpvxBR6TKg2oN+l+U9kftMu73LyraNFkwo
8qKy0ByCSdPNXjvGctWSwb+OV0n8ajsRLxctZJk6ydwYhlXB7SfYRw==
=6h0y
-----END PGP SIGNATURE-----

--MGYHOYXEY6WxJCY8--