1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:37:45 +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

@ -60,6 +60,7 @@ public:
bool supply_buffer(Badge<VirtIODevice>, const ScatterGatherList&, BufferType, void* token);
bool new_data_available() const;
bool can_write() const;
void* get_buffer(size_t*);
void discard_used_buffers();