mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-04 08:36:12 +00:00
Kernel/AHCI: Use interrupts for IO operations
Instead of polling if the device ended the operation, we can just use interrupts for signalling about end of IO operation. In similar way, we use interrupts during device detection. Also, we use the new Work Queue mechanism introduced by @tomuta to allow better performance and stability :)
This commit is contained in:
parent
21bb7fd5c9
commit
0b1fa97b30
Notes:
sideshowbarker
2024-07-18 21:11:54 +09:00
Author: https://github.com/supercomputer7
Commit: 0b1fa97b30
Pull-request: https://github.com/SerenityOS/serenity/pull/5865
Reviewed-by: https://github.com/bgianfo
Reviewed-by: https://github.com/tomuta
3 changed files with 130 additions and 70 deletions
|
@ -37,9 +37,11 @@ namespace Kernel {
|
|||
|
||||
class AsyncBlockDeviceRequest;
|
||||
class AHCIPortHandler;
|
||||
class AHCIPort;
|
||||
class AHCIController final : public StorageController
|
||||
, public PCI::DeviceController {
|
||||
friend class AHCIPortHandler;
|
||||
friend class AHCIPort;
|
||||
AK_MAKE_ETERNAL
|
||||
public:
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue