1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:37:35 +00:00

Kernel/Interrupts: Move PCIIRQHandler => PCI::IRQHandler

This class is part of the PCI code so let's move it to the PCI namespace
like other handling code parts of the PCI bus.
This commit is contained in:
Liav A 2023-06-10 11:10:02 +03:00 committed by Andrew Kaster
parent 4446858401
commit 68c3f9aa5a
8 changed files with 18 additions and 18 deletions

View file

@ -14,7 +14,7 @@ namespace Kernel::Audio::IntelHDA {
class Controller;
class InterruptHandler
: public PCIIRQHandler
: public PCI::IRQHandler
, public RefCounted<InterruptHandler> {
public:
static ErrorOr<NonnullRefPtr<InterruptHandler>> create(Controller& controller)
@ -22,13 +22,13 @@ public:
return adopt_nonnull_ref_or_enomem(new (nothrow) InterruptHandler(controller));
}
// ^PCIIRQHandler
// ^PCI::IRQHandler
virtual StringView purpose() const override { return "IntelHDA IRQ Handler"sv; }
private:
InterruptHandler(Controller& controller);
// ^PCIIRQHandler
// ^PCI::IRQHandler
virtual bool handle_irq(RegisterState const&) override;
Controller& m_controller;