[okl4-developer] interrupt manager

Carl van Schaik carl at ok-labs.com
Tue May 15 12:06:12 EST 2007


Hi Jorge,

There is a global class already which could be used for this which other 
architectures use. I guess this is where the code should be.

ie:
pistachio/platform/generic/include/plat/intctrl-apic.h
pistachio/platform/generic/include/plat/intctrl-pic.h

should add a method similar to register_interrupt_handler() in 
pistachio/platform/pxa/include/plat/intctrl.h but with ia32 specific 
arguments.

regards,
Carl

Jorge Torres wrote:
> Hi okl4.org <http://okl4.org>,
>
>     > on this elegant irq interrupts handler registration proposed  on
>     OKL4
>     > (irq_manager.register(hwirq, #, FUNCTION)), what is it there to do?
>     I'm not an ia32 person, but I guess what they where after was a class
>     that handled the irq related stuff (ie irq_manager). A method of the
>     class would then be used to do the appropriate IDT etc manipulation
>     stuff. I guess that they would want the irq manager to handle multiple
>     levels of interrupt controllers and different hardware types.
>
>
> Carl, again excuse my ignorance; I don't know a thing about other 
> architectures, but shouldn't an interrupt manager class be a global 
> solution?
>
> Thanks again,
>
> Jorge
>




More information about the Developer mailing list