Subject: Re: pmax interrupt problem solved
To: Matthew Orgass <darkstar@pgh.net>
From: Michael L. Hitch <mhitch@lightning.msu.montana.edu>
List: port-pmax
Date: 03/11/2000 10:55:30
On Fri, 10 Mar 2000, Matthew Orgass wrote:
> 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>};
Except that the 6 bits in question are not contiguous, so you have to
use 8 bits and a 256 entry array.
--
Michael L. Hitch mhitch@montana.edu
Computer Consultant
Information Technology Center
Montana State University Bozeman, MT USA