diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-10-21 18:52:06 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-10-21 18:52:06 +0200 |
| commit | 21b3da78f806d6765f9dffa6a84c21346f171cee (patch) | |
| tree | dc57df6545c1106a82b9e871e301ac5d5c1cd876 /dev/zka/KernelKit | |
| parent | 94a3d6b4656d4c2905da173b7ff6ecb074566ea3 (diff) | |
IMP: Implement AHCI support, can detect and read AHCI disks.
TODO: Add Write support to the AHCI driver.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/zka/KernelKit')
| -rw-r--r-- | dev/zka/KernelKit/PCI/Device.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dev/zka/KernelKit/PCI/Device.hxx b/dev/zka/KernelKit/PCI/Device.hxx index 180e7200..bc1b4eb7 100644 --- a/dev/zka/KernelKit/PCI/Device.hxx +++ b/dev/zka/KernelKit/PCI/Device.hxx @@ -60,11 +60,11 @@ namespace Kernel::PCI UChar Subclass(); UChar ProgIf(); UChar HeaderType(); - UInt32 Bar(); + UInt32 Bar(UInt32 bar_in); public: - void EnableMmio(); - void BecomeBusMaster(); // for PCI-DMA, PC-DMA does not need that. + void EnableMmio(UInt32 bar_in); + void BecomeBusMaster(UInt32 bar_in); // for PCI-DMA, PC-DMA does not need that. UShort Vendor(); |
