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

Kernel: Make VirtIOConsole block when VirtIOQueue is full

This commit is contained in:
Sahan Fernando 2021-04-18 18:10:34 +10:00 committed by Andreas Kling
parent 5c924d395f
commit 45f97c1096
4 changed files with 13 additions and 1 deletions

View file

@ -192,6 +192,12 @@ protected:
return m_queues[queue_index];
}
const VirtIOQueue& get_queue(u16 queue_index) const
{
VERIFY(queue_index < m_queue_count);
return m_queues[queue_index];
}
template<typename F>
bool negotiate_features(F f)
{