mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:07:34 +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:
parent
ecfa7cb824
commit
acdd1424bc
4 changed files with 124 additions and 0 deletions
|
@ -124,6 +124,7 @@ class MemoryManager {
|
|||
friend class PhysicalRegion;
|
||||
friend class AnonymousVMObject;
|
||||
friend class Region;
|
||||
friend class ScatterGatherList;
|
||||
friend class VMObject;
|
||||
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue