mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-25 15:39:55 +00:00
1ee37245cd
The support is very basic - Each component that needs to handle IRQs inherits from InterruptHandler class. When the InterruptHandler constructor is called it registers itself in a SharedInterruptHandler. When an IRQ is fired, the SharedInterruptHandler is invoked, then it iterates through a list of the registered InterruptHandlers. Also, InterruptEnabler class was created to provide a way to enable IRQ handling temporarily, similar to InterruptDisabler (in CPU.h, which does the opposite). In addition to that a PCI::Device class has been added, that inherits from InterruptHandler. |
||
---|---|---|
.. | ||
Access.cpp | ||
Access.h | ||
Definitions.h | ||
Device.cpp | ||
Device.h | ||
Initializer.cpp | ||
Initializer.h | ||
IOAccess.cpp | ||
IOAccess.h | ||
MMIOAccess.cpp | ||
MMIOAccess.h |