Port-powerpc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ext_intr thoughts



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@localhost>
NetBSD: Free multi-architecture OS http://www.netbsd.org/
Genecys: Open Source 3D MMORPG: http://www.genecys.org/



Home | Main Index | Thread Index | Old Index