1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 22:47:44 +00:00

Kernel: Activate queues and enable interrutps in VirtIODevices

This patch actually enables virtio queues after configuring them
so the device can use them, it also enables interrupt handling in
VirtIODevice so they are not ignored.

Co-authored-by: Sahan <sahan.h.fernando@gmail.com>
This commit is contained in:
Idan Horowitz 2021-04-15 19:17:49 +10:00 committed by Andreas Kling
parent 4a467c553a
commit 42b1eb5af1
4 changed files with 30 additions and 6 deletions

View file

@ -231,6 +231,7 @@ private:
bool setup_queues();
bool setup_queue(u16 queue_index);
bool activate_queue(u16 queue_index);
void notify_queue(u16 queue_index);
void reset_device();