1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 03:07:43 +00:00

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
parent ecfa7cb824
commit acdd1424bc
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: