Subject: Re: OMAP _almost_ builds at tip of tree now.
To: Toru Nishimura <locore64@alkyltechnology.com>
From: Michael Lorenz <macallan@netbsd.org>
List: port-arm
Date: 02/21/2007 12:39:44
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Feb 21, 2007, at 09:46, Toru Nishimura wrote:

> NetBSD/arm, in general, does smart things with "ipending" global
> variable to implement NetBSD-peculiar (other OS camp would call it
> strange) spl(9) priority level scheme.  While this approach fits with 
> 32 way
> interrupt source, it is rather painful to adapt 64bit source.

Depends wether you really have >30 distinct interrupt sources in use. 
Macppc for instance can have  32, 64 or 128 IRQs ( some powerbooks have 
two Heathrow PICs with 64 IRQ lines each ) but only a fraction is 
actually connected to anything. So what we do there is to map those 
interrupts actually in use into a uint32_t. Not that I think this is a 
particularly nice approach but it does the job and it's fairly 
painless.

have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iQEVAwUBRdyD4MpnzkX8Yg2nAQJwxwgAjOSWANWp5enKXIKZp/E5/PtzJSEF+OkH
CwiywZJNKlD1eB16Rl/ciNTQ2HPUQfcYImrTrkhD9rWlx3it1PkgoAbAiVrHJXHf
0re6LdhZcb4wX5HT/yfUW/zJq2LAgSgZMwVd4boOzXthJcNb3/1NoeEJ5gLvV22S
cKlIBSYS/aBcxu+KW7UUIVKIO16KnkVpJRpxCi7GM4UM4kHAAtuSmZPdvkBw4QPb
UnnmQXRHuUBS2SCKuv1OyBqXeTzAXGWZv47Lp690dGk4lWpvxITEkWdz2M9HgR3C
oByJyLbXE27oeU4HnDuAhE92TWBMqCQeGIgTyC/bXgCYpAJLNgdEPg==
=10X+
-----END PGP SIGNATURE-----