beyond infinity wrote:
@mystran: Maybe that feeling as if I consider your writing a full load of nonsense stems from me writing bluntly without caring for warm & fuzzy feelings. No offense intended, honestly.
Hope you didn't think I was offended. Your original reply was great.
Basicly, when I write a technical question, I want a technical answer. I'll ask warm&fuzzy questions if I want warm&fuzzy answers.
If I write a
obviously stupid or malformed technical question, either because I've confused, or by mistake, the best answer is one that answers the question that should have been asked. Your reply did that fine
Oh and I do know what happens on physical level, sure, no need to go there. Was just wondering how stupid devices is one going to have to interface.
Ryu wrote:
At the same time, they are searched when a interrupt is generated to find which driver is responsible for it (which is why I was concern about search times in the other thread). I guess that is the same as your "Device-manager can then tell associated drivers to check if it's their device, and once the suspect is found, device-manager notifies kernel that IRQ be unmasked".
Yeah well, except while I'm not going to support sharing of IO resources, I might have to support sharing of IRQs which means I need some extra logic to figure out which device caused IRQ
n when three devices are using it (so we have three drivers for it). But there's basicly one way to do it: ask every driver (using that interrupt) until one of them says "yeah this was mine". At least I'm not aware of better solutions.
That's just a draft though, have to see how to all works out.