diff options
| author | Amlal <amlal.elmahrouss@icloud.com> | 2025-02-18 12:09:41 +0100 |
|---|---|---|
| committer | Amlal <amlal.elmahrouss@icloud.com> | 2025-02-18 12:09:41 +0100 |
| commit | 6a9ae8360b9c7757b756be6cc41c77982344b0c6 (patch) | |
| tree | ceaaa4f86f3e097f955d562c325d60222ff4751a /dev/Kernel/HALKit/AMD64 | |
| parent | f471cf287fdef515ced7357aca2f3f47f284998f (diff) | |
ADD: A better thread scheduler.
Diffstat (limited to 'dev/Kernel/HALKit/AMD64')
| -rw-r--r-- | dev/Kernel/HALKit/AMD64/Storage/AHCI.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dev/Kernel/HALKit/AMD64/Storage/AHCI.cc b/dev/Kernel/HALKit/AMD64/Storage/AHCI.cc index 9ebfbb0a..283a873d 100644 --- a/dev/Kernel/HALKit/AMD64/Storage/AHCI.cc +++ b/dev/Kernel/HALKit/AMD64/Storage/AHCI.cc @@ -257,9 +257,9 @@ static Kernel::Void drv_std_input_output(Kernel::UInt64 lba, Kernel::UInt8* buff volatile FisRegH2D* h2d_fis = (volatile FisRegH2D*)((Kernel::UInt64)&command_table->Cfis); - h2d_fis->FisType = kFISTypeRegH2D; + h2d_fis->FisType = kFISTypeRegH2D; h2d_fis->CmdOrCtrl = CommandOrCTRL; - h2d_fis->Command = Write ? kAHCICmdWriteDmaEx : kAHCICmdReadDmaEx; + h2d_fis->Command = Write ? kAHCICmdWriteDmaEx : kAHCICmdReadDmaEx; if (Identify) h2d_fis->Command = kAHCICmdIdentify; |
