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

Kernel: Update PCI::Device class to use the new IRQHandler class

This commit is contained in:
Liav A 2020-02-22 19:42:27 +02:00 committed by Andreas Kling
parent ea1251d465
commit 73a7e5875e
2 changed files with 8 additions and 4 deletions

View file

@ -27,10 +27,11 @@
#pragma once
#include <AK/Types.h>
#include <Kernel/InterruptHandler.h>
#include <Kernel/Interrupts/IRQHandler.h>
#include <Kernel/PCI/Definitions.h>
class PCI::Device : public InterruptHandler {
namespace Kernel {
class PCI::Device : public IRQHandler {
public:
Address get_pci_address() const { return m_pci_address; };
@ -42,3 +43,4 @@ protected:
private:
Address m_pci_address;
};
}