[haiku-development] Re: Free irq

  • From: "Michael Lotz" <mmlr@xxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Wed, 12 Oct 2011 22:59:06 +0200

Hi again

"Michael Lotz" <mmlr@xxxxxxxx> wrote:
> Basically what's inside the MSI code right now should be made global 
> (the sAllocatedVectors) and a generic allocate/free API very similar 
> to
> ...

I've implemented that in r42832 as a private kernel API. Using 
allocate_io_interrupt_vectors() you should be able to properly get a 
yet unused vector to play with. That one then also gets reserved so 
that it isn't re-used by any other component.

Regards
Michael

Other related posts: