mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
Kernel: Update PCI::Device class to use the new IRQHandler class
This commit is contained in:
parent
ea1251d465
commit
73a7e5875e
Notes:
sideshowbarker
2024-07-19 09:07:06 +09:00
Author: https://github.com/supercomputer7
Commit: 73a7e5875e
Pull-request: https://github.com/SerenityOS/serenity/pull/1274
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/shannonbooth
2 changed files with 8 additions and 4 deletions
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue