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:
parent
5c924d395f
commit
45f97c1096
4 changed files with 13 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue