Subject: Re: ext_intr thoughts
To: Michael Lorenz <macallan@netbsd.org>
From: Tim Rightnour <root@garbled.net>
List: port-powerpc
Date: 04/27/2007 08:46:18
On 27-Apr-2007 Michael Lorenz wrote:
> Each method takes a (struct pic_ops *) as first parameter.

If we don't mind having an extra function call in the mix, I think we could do
this, by having ext_intr() just be:

void
ext_intr(void)
{
        generic_ext_intr(first_pic);
}

I think that might be doable.. The struct pic_ops would be defined by the
actual port.  Only adjustments I would make is that I don't know if the three
functions you listed are needed in there, rather, we need the three
get/clear/mask irq functions.

---
Tim Rightnour <root@garbled.net>
NetBSD: Free multi-architecture OS http://www.netbsd.org/
Genecys: Open Source 3D MMORPG: http://www.genecys.org/