bjorn3
99a00abeca
fbcond: Split a couple of helper functions out of open_vt
2024-12-22 18:08:32 +01:00
Jeremy Soller
8b601fb155
Merge branch 'inputd_pull_vt_events' into 'master'
...
inputd: Major refactorings to the inputd interface
See merge request redox-os/drivers!210
2024-12-22 16:56:49 +00:00
Jeremy Soller
78256bad96
Merge branch 'migrate_gpu_drivers_to_redox_scheme' into 'master'
...
Migrate gpu drivers to redox-scheme
See merge request redox-os/drivers!209
2024-12-22 16:56:01 +00:00
bjorn3
8e92e2c743
inputd: Let graphics drivers pull vt activation events from inputd
...
Previously inputd would directly push vt activation events to the
graphics driver, which required being quite lazy to prevent deadlocks as
well as the graphics driver having a location where events can be pushed
to. By having graphics drivers pull the vt activation events instead,
the effective control flow becomes simpler and it becomes easier to
correctly handle multiple graphics drivers on the system. For example it
becomes possible for multiple graphics drivers to present displays for a
single VT as well as making it easier to provide a handoff from the
early framebuffer to a real graphics driver.
2024-12-22 17:18:24 +01:00
bjorn3
273cbda872
inputd: Split ControlHandle and DisplayHandle
...
ControlHandle is used to switch the active vt, while DisplayHandle is
used by display drivers to register new vt's. There are entirely
unrelated tasks and the fact that they had been merged together has been
confusing me for a while.
Also changed activating a VT to no longer create a new vt when none
existed previously. The target graphics driver may not be able to handle
the new VT. inputd -A already didn't allow activating non-existent VT's
as it first tried to open a consumer handle for the target VT.
2024-12-22 16:46:02 +01:00
bjorn3
436a16b069
virtio-gpud: Migrate to redox-scheme
2024-12-22 16:44:27 +01:00
bjorn3
7565720f34
vesad: Migrate to redox-scheme
2024-12-22 16:43:17 +01:00
Jeremy Soller
d6b1e5d435
Merge branch 'fix-33-debug-building' into 'master'
...
fix: MAX_DURATION overflows on init
Closes #33
See merge request redox-os/netstack!52
2024-12-22 02:26:30 +00:00
Jeremy Soller
64ede1f3d5
Merge branch 'inputd_redox_scheme' into 'master'
...
Various inputd improvements
See merge request redox-os/drivers!208
2024-12-22 02:26:13 +00:00
bjorn3
3c00151d49
inputd: Remove the vt handle mutex
2024-12-21 16:15:19 +01:00
bjorn3
cf84e71220
inputd: Use std's concurrency primitives instead of spin
2024-12-21 16:00:34 +01:00
bjorn3
08f619bc22
inputd: Remove usage of Arc for Vt
...
Storing the vt index instead of a direct reference to the vt is just as
easy.
2024-12-21 15:58:07 +01:00
bjorn3
6a1cb33105
inputd: Misc changes
2024-12-21 15:52:36 +01:00
bjorn3
f4193c6886
inputd: Avoid panic when client tried to perform invalid operation
2024-12-21 15:43:23 +01:00
bjorn3
0b2111b029
Port inputd to redox-scheme
2024-12-21 14:53:12 +01:00
Josh Megnauth
b53fb068f5
fix: MAX_DURATION overflows on init
...
Closes : #33
`Duration` is stored as microseconds internally.
The original code caused an overflow by...
```rust
Duration::from_millis(u64::MAX);
```
...which caused `u64::MAX` to be multiplied by 1000 and overflow.
2024-12-21 02:41:57 -05:00
Jeremy Soller
1d2f3b4836
Merge branch 'irq' into 'master'
...
Fix Raspberry 3
See merge request redox-os/drivers!207
2024-12-18 18:20:41 +00:00
Andrey Turkin
63b1d2cf8a
bcm2835-sdhcid: remap mmio range as instructed by DTB
2024-12-18 21:16:33 +03:00
Andrey Turkin
e5e753a426
Sync up with changes to kernel's phandle irq scheme
2024-12-18 21:16:30 +03:00
Andrey Turkin
2f9e28e23e
Rerun cargo fmt to bring CI back to norm
2024-12-18 21:16:17 +03:00
Jeremy Soller
25f69e9906
Merge branch 'steffengy-master-patch-92205' into 'master'
...
Respond only to ARP requests addressed to device via either broadcast or unicast
See merge request redox-os/netstack!51
2024-12-03 21:40:51 +00:00
Steffen Butzer
49abe218ab
Respond only to ARP requests addressed to device via either broadcast or unicast
...
Previous behavior would reply to other IPs that only match the subnet with our (IP, MAC) pair
but not respond to unicast requests addressed with an unknown (all zeroes) MAC or broadcast requests.
2024-11-26 19:02:21 +00:00
Jeremy Soller
5cf8bfda72
xhcid: remove transfer states on dead rings
2024-11-11 14:27:32 -07:00
Jeremy Soller
842fc73a34
Track all drivers launched for a port
2024-11-11 12:51:22 -07:00
Jeremy Soller
191c7973a9
Fix deadlock in xhcid detach_device
2024-11-11 12:10:01 -07:00
Jeremy Soller
6044ca0471
Merge branch 'fix_deadlock_in_usb_driver' into 'master'
...
Fixed the deadlock by only addressing devices in response to attach requests....
See merge request redox-os/drivers!199
2024-11-05 17:35:57 +00:00
Timothy Finnegan
4dedbac4e5
Fixed the deadlock by only addressing devices in response to attach requests....
2024-11-05 17:35:57 +00:00
Jeremy Soller
3f33cb96e7
usbhidd: update rehid
2024-11-04 20:19:18 -07:00
Jeremy Soller
8a36c994e1
Add hwd
2024-11-04 20:19:08 -07:00
Jeremy Soller
6ff633863e
Allow usbhidd to run on multiple interfaces
2024-11-04 16:15:53 -07:00
Jeremy Soller
2975f93f30
acpid: fix compilation on riscv64gc
2024-10-31 10:53:05 -06:00
Jeremy Soller
e765d9c8e1
acpid: only build dmar for x86_64
2024-10-30 20:43:46 -06:00
Jeremy Soller
71b70482d3
acpid: Only acquire I/O port rights on x86
2024-10-30 14:01:20 -06:00
Jeremy Soller
42970953fc
Fix acpid compilation on non-x86
2024-10-30 13:52:19 -06:00
Jeremy Soller
382b298453
acpid: provide buffer contents from amlserde
2024-10-29 18:34:27 -06:00
Jeremy Soller
621456ed0e
Merge branch 'riscv' into 'master'
...
Remap PCI IRQs as instructed in FDT
See merge request redox-os/drivers!206
2024-10-22 18:39:13 +00:00
Andrey Turkin
8152de14a9
Remap PCI IRQs as instructed in FDT
2024-10-22 20:33:35 +03:00
Jeremy Soller
67f4ca3d73
Update redox-scheme
2024-10-18 07:32:38 -06:00
Jeremy Soller
ea8ac9ad5f
Merge branch 'stage' into 'master'
...
Initial RISC-V support
See merge request redox-os/drivers!205
2024-10-18 01:46:52 +00:00
Andrey Turkin
18b688a49c
Partial risc-v support
2024-10-17 20:07:17 +03:00
Andrey Turkin
09b5033fbd
Wholesale cargo fmt to get CI back to green
2024-10-17 20:07:05 +03:00
Jeremy Soller
faf62b7a78
Merge branch 'deps' into 'master'
...
Bump dependencies
See merge request redox-os/ipcd!9
2024-10-17 13:03:28 +00:00
Jeremy Soller
fab7a65ee3
Merge branch 'deps' into 'master'
...
Bump dependencies
See merge request redox-os/randd!14
2024-10-17 13:00:12 +00:00
Jeremy Soller
10e38e1571
Merge branch 'deps' into 'master'
...
Bump dependencies
See merge request redox-os/ramfs!10
2024-10-17 12:59:52 +00:00
Jeremy Soller
d4535e51fe
Merge branch 'deps' into 'master'
...
Bump dependencies
See merge request redox-os/netstack!50
2024-10-17 12:58:25 +00:00
Andrey Turkin
bbd282f480
Bump dependencies
2024-10-17 09:07:44 +03:00
Andrey Turkin
2988e1e097
Bump dependencies
2024-10-17 08:48:16 +03:00
Andrey Turkin
662615b32d
Bump dependencies
2024-10-17 08:45:24 +03:00
Andrey Turkin
2a3fb788df
Bump dependencies
2024-10-17 08:11:02 +03:00
Jeremy Soller
3891c09081
Merge branch 'riscv' into 'master'
...
RISC-V target
See merge request redox-os/bootstrap!15
2024-10-16 17:13:06 +00:00