mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 22:07:36 +00:00
Kernel: Add support for reading from VirtIOConsole
This allows two-way communication with the host through a VirtIOConsole. This is necessary for features like clipboard sharing.
This commit is contained in:
parent
1c06d77262
commit
1492bb2fd6
5 changed files with 74 additions and 8 deletions
|
@ -42,6 +42,8 @@ private:
|
|||
virtual String device_name() const override { return String::formatted("hvc{}", minor()); }
|
||||
virtual void handle_queue_update(u16 queue_index) override;
|
||||
|
||||
void init_receive_buffer();
|
||||
|
||||
OwnPtr<RingBuffer> m_receive_buffer;
|
||||
OwnPtr<RingBuffer> m_transmit_buffer;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue