Subject: Re: pmax interrupt problem solved
To: Todd Whitesel <toddpw@best.com>
From: Matthew Orgass <darkstar@pgh.net>
List: port-pmax
Date: 03/10/2000 16:47:58
On Fri, 10 Mar 2000, Todd Whitesel wrote:

> When the priorities are really dynamic, then the method I gave becomes a
> total lose and you're better off doing something totally data driven:

  If there are only six interrupts, how about:

char map_bits_to_intr[64] = {<intr # for each combination>};

while ((csr = <read CSR> & INTR_BITS))
	CALLINTR(map_bits_to_intr[csr]);


Matthew Orgass
darkstar@pgh.net