From: Brian Genisio <briangenisio@ya...> - 2003-06-01 02:31:59
Can someone please clear something up for me?
In the irq.c file, in the init_IRQ function, the IO and Alarm interrupt
handlers are set to SIGIO_irq_type and SIGVTALRM_irq_type. These are types
that contain function pointers to empty functions.
Further, these empty handler functions are called in enable_irq, do_IRQ, etc...
but they do nothing ?
What is the purpose for this? Is this future work that is planned? Is this
code that is no longer needed? Can someone help me understand it a bit better?
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
From: Jeff Dike <jdike@ad...> - 2003-06-02 02:17:49
> Further, these empty handler functions are called in enable_irq,
> do_IRQ, etc... but they do nothing ?
> What is the purpose for this? Is this future work that is planned?
> Is this code that is no longer needed? Can someone help me understand
> it a bit better?
When I wrote the IRQ code, I didn't fully understand what was going on in there
(and specifically didn't understand what those functions were supposed to do),
so I just did everything by hand, intending to go back and fill those in later.
That hasn't yet happened, but I'll will take patches that make it happen...
Get latest updates about Open Source Projects, Conferences and News.