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
dc801786b1
[VFS] Move victoria falls to rust. (Breaks voyageurs)
...
Move victoria falls to rust, which allows us to remove both the denali
and victoria falls C++ code. This disk driver appears to work properly
but has highlighted some instability in the voyageus xhci implementation
which now breaks.
2025-05-05 19:37:53 -07:00
Drew Galbraith
f918966727
[Zion] Don't try to set state on dying threads in cleanup.
2025-05-03 14:54:03 -07:00
Drew Galbraith
26ff82cf54
Add ccls cache to gitignore.
2025-05-03 14:48:42 -07:00
Drew Galbraith
6e9dc0838c
Bump cmake version.
2025-05-03 14:44:55 -07:00
Drew Galbraith
a806e41af0
[VFS] Skeleton for moving victoria falls to rust.
2025-02-07 18:59:00 -08:00
Drew Galbraith
59efb1659a
Move denali client to separate lib.
2025-02-07 18:24:48 -08:00
Drew Galbraith
c8f84ec352
Moved victoriafalls to sys dir in rust.
2025-02-07 18:05:38 -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
440de700f9
Remove denali cpp executable.
2025-02-01 14:32:05 -08:00
Drew Galbraith
faa71d08c5
Reduce wait in async executor.
2025-02-01 14:29:38 -08:00
Drew Galbraith
feb7c8e839
Increase scheduler frequency.
2025-02-01 14:29:08 -08:00
Drew Galbraith
49c3ff8499
Implement read_many for denali.
2025-02-01 14:09:28 -08:00
Drew Galbraith
5ec05f9a88
Improve error message in victoriafalls ext2 reader.
2025-02-01 14:08:59 -08:00
Drew Galbraith
00f2424987
Fix repeated message serialization in cpp yunq.
2025-02-01 14:08:35 -08:00
Drew Galbraith
c4dfa624fa
Fix repeated parsing in rust yunq.
2025-02-01 14:07:57 -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
10e536acab
Add an async server implementation for Yunq.
2025-02-01 11:25:37 -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
34bd3b80d3
Created a basic async runtime.
2025-01-27 23:50:23 -08:00
Drew Galbraith
6814c26708
Store sector size and count on the AhciPortController.
2025-01-26 17:52:31 -08:00
Drew Galbraith
df19ee0f54
Fix clippy messages in yunq compiler.
2025-01-26 09:42:01 -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
c4613cf87f
Move to new limine format.
2025-01-25 23:26:01 -08:00
Drew Galbraith
d1b5720abd
Add a Mutex implementation.
2025-01-25 23:17:45 -08:00
Drew Galbraith
71c6003905
Move teton to use new thread spawning.
2025-01-25 23:16:27 -08:00
Drew Galbraith
9da38d608a
Add thread spawn with proper trait checks.
2025-01-25 21:49:28 -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
8dfd57b411
Clean up rust unused warnings.
2024-08-30 00:49:33 -07:00
Drew Galbraith
51478e7ccf
[Denali] Begin porting to rust.
2024-08-30 00:38:15 -07:00
Drew Galbraith
72e5d8c618
[Yunq] Rust tests for nested messages.
2024-08-29 23:39:30 -07:00
Drew Galbraith
f94f56f9ec
[Yunq] Create repeated field implementations in rust.
2024-08-29 23:29:58 -07:00
Drew Galbraith
4ee8dc924c
Add a uniq test module for yunq in rust.
2024-08-29 21:27:27 -07:00