summaryrefslogtreecommitdiff
path: root/Kernel
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2022-01-23 20:22:08 +0200
committerLinus Groh <mail@linusgroh.de>2022-01-23 20:56:28 +0000
commit64adb2ef9666ba61b0596c66039c69f4c9fdf1b7 (patch)
tree289cceec57a114bf79ed09465e2191d1bf35d356 /Kernel
parent5f639493f030ebb78b1a232b781eb596793d70b3 (diff)
downloadserenity-64adb2ef9666ba61b0596c66039c69f4c9fdf1b7.zip
Kernel/Storage: Declare NVMeQueue handle_irq virtual as it should be
Diffstat (limited to 'Kernel')
-rw-r--r--Kernel/Storage/NVMe/NVMeQueue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Storage/NVMe/NVMeQueue.h b/Kernel/Storage/NVMe/NVMeQueue.h
index 86476eca3a..07ebf8edb2 100644
--- a/Kernel/Storage/NVMe/NVMeQueue.h
+++ b/Kernel/Storage/NVMe/NVMeQueue.h
@@ -33,7 +33,7 @@ public:
ErrorOr<void> create();
explicit NVMeQueue(u16 qid, u8 irq, u32 q_depth, OwnPtr<Memory::Region> cq_dma_region, NonnullRefPtrVector<Memory::PhysicalPage> cq_dma_page, OwnPtr<Memory::Region> sq_dma_region, NonnullRefPtrVector<Memory::PhysicalPage> sq_dma_page, Memory::TypedMapping<volatile DoorbellRegister> db_regs);
bool is_admin_queue() { return m_admin_queue; };
- bool handle_irq(const RegisterState&) override;
+ virtual bool handle_irq(const RegisterState&) override;
void submit_sqe(NVMeSubmission&);
u16 submit_sync_sqe(NVMeSubmission&);
void read(AsyncBlockDeviceRequest& request, u16 nsid, u64 index, u32 count);