mirror of
https://github.com/RGBCube/serenity
synced 2025-05-23 21:55:08 +00:00
![]() Currently, when passing buffers into VirtIOQueues, we use scatter-gather lists, which contain an internal vector of buffers. This vector is allocated, filled and the destroy whenever we try to provide buffers into a virtqueue, which would happen a lot in performance cricital code (the main transport mechanism for certain paravirtualized devices). This commit moves it over to using VirtIOQueueChains and building the chain in place in the VirtIOQueue. Also included are a bunch of fixups for the VirtIO Console device, making it use an internal VM::RingBuffer instead. |
||
---|---|---|
.. | ||
VirtIO.cpp | ||
VirtIO.h | ||
VirtIOConsole.cpp | ||
VirtIOConsole.h | ||
VirtIOQueue.cpp | ||
VirtIOQueue.h | ||
VirtIORNG.cpp | ||
VirtIORNG.h |