Jeremy Soller
efc5cc712d
Disable xhcid until it works on real hardware
2022-09-09 08:38:52 -06:00
Jeremy Soller
fc8ef508a5
xhcid: Make polling mode code match normal irq code
2022-09-02 11:32:38 -06:00
Jeremy Soller
988cb5c066
xhcid: fix polling mode
2022-09-02 11:24:35 -06:00
Jeremy Soller
4bca3e55d3
Fix xhcid compilation
2022-08-31 08:49:39 -06:00
Jeremy Soller
0e85c01ea3
Implement 64-bit BARs
2022-08-31 08:46:53 -06:00
Jeremy Soller
86b065d724
Allow boot to continue if HCI probe does not return
2022-08-27 08:33:53 -06:00
Jeremy Soller
8bbf1d8f5b
Fix typo in xhcid
2022-08-27 08:18:19 -06:00
4lDO2
af873f7626
Update redox_syscall dependency.
2022-07-27 17:55:39 +02:00
4lDO2
21e30b7339
Replace syscall::clone() with libc::fork().
2022-07-27 16:25:01 +02:00
4lDO2
badd5906d5
Page-align size in physmap.
2022-07-27 15:33:25 +02:00
Jeremy Soller
cb9656d83d
Fix minor issue on x86_64
2022-07-26 17:31:02 -06:00
Jeremy Soller
00de428d6b
Workarounds for x86 32-bit
2022-07-26 17:20:34 -06:00
Jeremy Soller
ed5257e23f
Enable xhcid and make usbhidd more quiet
2022-04-13 17:01:43 -06:00
Jeremy Soller
a3a76284cb
xhcid: set logging filter to info
2022-04-13 09:05:26 -06:00
Jeremy Soller
8db1781146
xhcid: use actual BAR size
2022-04-12 20:34:56 -06:00
4lDO2
07f10fb4d1
Update redox_syscall to v0.2.12
2022-03-24 16:06:00 +01:00
Jeremy Soller
0cd3a6b797
Fix scheme name for xhcid and launch drivers
2022-02-14 09:38:31 -07:00
Jeremy Soller
544f1cbebc
nvmed,xhcid: print BAR number
2022-02-11 10:44:38 -07:00
Jeremy Soller
33ef3a3262
xhcid: panic if BAR is 0
2022-02-11 10:42:05 -07:00
4lDO2
7a2b3d7656
Update dependencies.
2021-06-17 18:18:27 +02:00
Jeremy Soller
be101621cc
Update to newer syscall
2020-08-02 15:25:03 -06:00
4lDO2
6bd4bb814f
Support xHCs that only support 32-bit physical addresses.
2020-06-18 19:17:20 +00:00
4lDO2
07b1fe79fa
Cleanup, and remove trace log writes for nvmed.
2020-05-03 16:33:56 +02:00
4lDO2
3558397859
ASYNC COMMAND SUBMISSION WORKS (partially).
2020-05-03 15:47:09 +02:00
4lDO2
6c2f103841
WIP: Complete the NVME CQ reactor (doesn't compile yet)
2020-04-29 19:35:48 +02:00
4lDO2
7b69d5b9b5
WIP: Use the enhanced pcid IPC.
2020-04-22 21:21:55 +02:00
4lDO2
fe95c942ac
Add pcid logging.
2020-04-22 18:27:43 +02:00
4lDO2
aea6e1b84c
Improve xhcid logging.
2020-04-22 18:09:56 +02:00
4lDO2
85691b8f4e
Fix xhcid.
2020-04-22 14:43:06 +02:00
4lDO2
cafee6ad7b
Allow per-cpu IRQ allocation.
2020-04-22 13:43:53 +02:00
4lDO2
4f62888bb4
Various fixes.
2020-04-21 15:42:51 +02:00
4lDO2
afe9c88f37
Allow every settable MSI field to be set.
2020-04-21 15:42:51 +02:00
4lDO2
da188109d4
Change the default log level to debug.
2020-04-19 17:11:08 +02:00
4lDO2
57bde84edb
usbscsid works again, AFAICT.
2020-04-19 14:45:46 +02:00
4lDO2
0e802e2085
Fix two deadlocks.
2020-04-19 14:45:46 +02:00
4lDO2
f4398854fc
Add trace debug printlns for opening handles.
2020-04-19 14:45:46 +02:00
4lDO2
74c77412bf
Replace all calls to [e]println with log macros.
2020-04-19 14:45:46 +02:00
4lDO2
80d3affa1c
Enable xhci logging, powered by redox-log.
2020-04-19 14:45:46 +02:00
4lDO2
ae49a0ba30
Update chashmap version.
2020-04-19 14:45:46 +02:00
4lDO2
08616920d6
Get descriptor fetching working.
2020-04-19 14:45:46 +02:00
4lDO2
f3d2d3e2d1
Fix the IRQ reactor when doing subsequent cmds.
2020-04-19 14:45:46 +02:00
4lDO2
ddf71d48e6
Get the Enable Slot cmd working, asynchronously!
...
This is the first command that actually worked by calling the IRQ
reactor and then getting a response. While this may not be that much on
its own, it means the async/await model actually works in this context.
Now the major problem is getting rid of all the deadlocks, and later
remove block_on(future) in the Scheme impl, and instead go async with
future spawning instead.
2020-04-19 14:45:46 +02:00
4lDO2
e58245b280
Use an event queue in the IRQ reactor.
2020-04-19 14:45:46 +02:00
4lDO2
9e34ed3fbf
It compiles!
2020-04-19 14:45:46 +02:00
4lDO2
078a929bfc
Fix borrow checker errors, except SchemeMut::handle.
2020-04-19 14:45:46 +02:00
4lDO2
6791429cd2
Fix most high-level errors in xhcid.
2020-04-19 14:45:46 +02:00
4lDO2
bae238bbef
Asyncify Xhci::execute_transfer.
2020-04-19 14:45:46 +02:00
4lDO2
443b160b6d
Add internal locking to the Xhci struct.
2020-04-19 14:45:46 +02:00
4lDO2
cfc4d65d48
THE INTERRUPTS ARE GETTING GENERATED!
2020-04-19 14:45:46 +02:00
4lDO2
cb5a72fbc1
Successfully recognize (only one) MSI-X IRQ.
...
Somehow it only happens once though.
2020-04-19 14:45:46 +02:00