mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-07 01:56:38 +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
Notes:
sideshowbarker
2024-07-18 10:02:01 +09:00
Author: https://github.com/X-yl
Commit: 1492bb2fd6
Pull-request: https://github.com/SerenityOS/serenity/pull/8257
Reviewed-by: https://github.com/IdanHo
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/ccapitalK
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