Drew Galbraith
f26fd73116
[Zion][Denali] Move to MSI for AHCI devices.
...
This will allow us to properly do interrupts for XHCI devices in the
future.
Also move PCI device header parsing to a shared library.
Get rid of the old irq register format which supplied an irq number and
instead pass the appropriate irq number back out to the caller.
2025-05-05 23:14:01 -07:00
Drew Galbraith
c645405ca8
Fix build after removing a bunch of stuff.
2025-05-05 21:04:42 -07:00
Drew Galbraith
59efb1659a
Move denali client to separate lib.
2025-02-07 18:24:48 -08:00
Drew Galbraith
9452e6c705
[Denali] Assert sector size is 512.
2025-02-07 17:50:39 -08:00
Drew Galbraith
e34540b77e
Move command into its own file.
2025-02-01 14:49:41 -08:00
Drew Galbraith
4efeca661e
Move command.rs to ahci_command.rs
2025-02-01 14:44:03 -08:00
Drew Galbraith
15a5e210ef
Move port controller to separate file.
2025-02-01 14:42:45 -08:00
Drew Galbraith
49c3ff8499
Implement read_many for denali.
2025-02-01 14:09:28 -08:00
Drew Galbraith
6f0dfa8719
Register denali on yellowstone, handle read requests.
2025-02-01 13:09:42 -08:00
Drew Galbraith
a5cdd23f0b
Run denali server thread.
2025-02-01 12:11:59 -08:00
Drew Galbraith
b270c7c9aa
Only trigger future on poll in controller.
2025-02-01 01:37:51 -08:00
Drew Galbraith
caa1b9c952
Move AHCI controller to async.
2025-02-01 01:29:26 -08:00
Drew Galbraith
c97d39c36b
Make handle interrupt non-mutable in ahci controller.
2025-01-31 22:07:33 -08:00
Drew Galbraith
017367c4de
Store ahci hba and pci device header as mut references
2025-01-31 21:38:06 -08:00
Drew Galbraith
04effd44f8
Move Ahci Port Controller to hold raw references.
2025-01-31 21:23:42 -08:00
Drew Galbraith
0024e38412
Move AHCI Port to use volatile.
2025-01-31 20:52:14 -08:00
Drew Galbraith
741b605a1c
Move init implementation into hba and introduce volatile.
2025-01-31 18:03:04 -08:00
Drew Galbraith
6814c26708
Store sector size and count on the AhciPortController.
2025-01-26 17:52:31 -08:00
Drew Galbraith
ab75085f32
Fix cargo warnings in userland.
2025-01-26 09:35:23 -08:00
Drew Galbraith
d777b8f4ab
Move yunq to new thread spawn and remove old one.
2025-01-26 00:05:55 -08:00
Drew Galbraith
79e1ea2791
Move denali to new thread spawn
2025-01-25 23:48:53 -08:00
Drew Galbraith
14585c005c
Parse information out of identify command.
2024-10-03 21:25:37 -07:00
Drew Galbraith
d94f61511b
[Denali] Interrupts working in rust.
2024-10-02 23:59:50 -07:00
Drew Galbraith
df79233bbb
[Denali] Reset HBA and iterate over ports.
2024-09-10 01:12:32 -07:00
Drew Galbraith
7d4c882f2b
[Denali] Added AHCI Port HBA Definitions.
2024-08-30 23:45:56 -07:00
Drew Galbraith
67546664ed
Move to bitfield structs for AHCI info.
2024-08-30 17:09:27 -07:00
Drew Galbraith
51478e7ccf
[Denali] Begin porting to rust.
2024-08-30 00:38:15 -07:00