diff options
author | Tom <tomut@yahoo.com> | 2020-11-02 11:16:01 -0700 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-11-12 18:04:30 +0100 |
commit | e445ff670dd1c715945832147ae3fb8724485ad6 (patch) | |
tree | b75644638c8a13b85288dd33d6eadbe3714ca6c7 /Kernel/Thread.cpp | |
parent | 91db31880faae9526693670bb76e186a59959887 (diff) | |
download | serenity-e445ff670dd1c715945832147ae3fb8724485ad6.zip |
Kernel: Implement an asynchronous device request stack
This allows issuing asynchronous requests for devices and waiting
on the completion of the request. The requests can cascade into
multiple sub-requests.
Since IRQs may complete at any time, if the current process is no
longer the same that started the process, we need to swich the
paging context before accessing user buffers.
Change the PATA driver to use this model.
Diffstat (limited to 'Kernel/Thread.cpp')
0 files changed, 0 insertions, 0 deletions