Kernel: Implement a simple Scatter/Gather List

This allows converting a single virtual buffer into its non-physically
contiguous parts, this is especially useful for DMA-based devices that
support scatter/gather-like functionality, as it eliminates the need
to clone outgoing buffers into one physically contiguous buffer.
This commit is contained in:
Idan Horowitz 2021-01-20 18:34:16 +02:00 committed by Andreas Kling
commit acdd1424bc
Notes: sideshowbarker 2024-07-18 19:31:27 +09:00
4 changed files with 124 additions and 0 deletions

View file

@ -124,6 +124,7 @@ class MemoryManager {
friend class PhysicalRegion;
friend class AnonymousVMObject;
friend class Region;
friend class ScatterGatherList;
friend class VMObject;
public: