[haiku-development] Re: Free irq

  • From: Rene Gollent <anevilyak@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sun, 16 Oct 2011 14:07:08 -0400

On Sun, Oct 16, 2011 at 1:53 PM, Don Quixote de la Mancha
<quixote@xxxxxxxxxxxxxxxx> wrote:
> I could start just by collecting some statistics.  If they were output
> to userspace somehow, or periodically spit out the serial port, the
> simplest thing would be to re-order certain interrupt handlers by
> editing the source code.  More advanced would be to do it adaptively,
> at runtime.

You're not going to be able to do it in any way other than adaptively
since the order isn't in hardwired in the source code at all. It's
entirely dependent on the order in which the drivers are loaded, which
in turn is going to depend on a) which drivers are present on the
user's system, and b) which ones actually detected hardware and
installed a corresponding interrupt handler, which is, of course,
dependent on what hardware the user actually has.

Regards,

Rene

Other related posts: