mirror of
https://github.com/RGBCube/serenity
synced 2026-01-16 04:01:00 +00:00
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 | ||