diff options
author | Liav A <liavalb@gmail.com> | 2021-02-26 14:38:17 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-03-05 11:29:34 +0100 |
commit | 17e7cdc6cc906831f8253fdffae59c02b2513dca (patch) | |
tree | 5efafee3bc1045e699fbd894f7298755fad6e048 /AK/Tests | |
parent | ecb169b61eb50b77bfbfe134939c15abef2a8ad2 (diff) | |
download | serenity-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