summaryrefslogtreecommitdiff
path: root/AK/Tests
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2021-02-26 14:38:17 +0200
committerAndreas Kling <kling@serenityos.org>2021-03-05 11:29:34 +0100
commit17e7cdc6cc906831f8253fdffae59c02b2513dca (patch)
tree5efafee3bc1045e699fbd894f7298755fad6e048 /AK/Tests
parentecb169b61eb50b77bfbfe134939c15abef2a8ad2 (diff)
downloadserenity-17e7cdc6cc906831f8253fdffae59c02b2513dca.zip
Kernel: Implement ScatterList for handling scattered DMA pages
This class is used in the AHCI code to handle a big request of read/write to the disk. If we happen to encounter such request, we will get the needed amount of physical pages from the already-allocated physical pages in AHCIPort, and with that we will create a ScatterList that will create a Region that maps all of these pages in a contiguous virtual memory range. Then, we could easily copy to/from this range, before and after calling the operation on the StorageDevice as needed with read or write operations.
Diffstat (limited to 'AK/Tests')
0 files changed, 0 insertions, 0 deletions