Commit Graph

3361 Commits

Author SHA1 Message Date
Jeremy Soller 1577506765 Merge branch 'pci_interrupts_rework3' into 'master'
Various interrupt handling improvements

See merge request redox-os/drivers!282
2025-08-31 09:49:08 -06:00
bjorn3 131063eb0e Rustfmt 2025-08-31 16:07:57 +02:00
bjorn3 7e3e841f69 xhcid: Fix reading EHB flag in received_irq 2025-08-31 15:58:56 +02:00
bjorn3 e4aab16782 xhcid: Don't exit the event loop when using irqs 2025-08-31 15:58:56 +02:00
bjorn3 2c9be2e9b8 xhcid: Remove unused InterruptSources methods and fields 2025-08-31 15:58:15 +02:00
Josh Megnauth 6e76601529 Simplify Pty::path with write!
Pty::path is a manual implementation of write! that also allocates.
Using write! avoids the alloc and is simpler too.

The original function didn't return an error even if called with a small
buffer and this version preserves that.
2025-08-31 01:58:33 -04:00
bjorn3 b9ce02ea90 storage/nvmed: Remove unused InterruptSources methods and fields 2025-08-30 20:11:05 +02:00
Jeremy Soller cbc4987dc4 Merge branch 'pci_interrupts_rework4' into 'master'
Cleanup and deduplicate a bunch of MSI/MSI-X handling

See merge request redox-os/drivers!281
2025-08-30 11:29:31 -06:00
bjorn3 2945b86b82 pcid: Helper to allocate first MSI interrupt 2025-08-30 19:14:01 +02:00
bjorn3 ea47c97bf8 Check for MSI-X before checking for MSI 2025-08-30 19:14:01 +02:00
bjorn3 0a314b0bad nvmed: Use std::hint::spin_loop 2025-08-30 19:14:01 +02:00
bjorn3 0b6b5e0d04 pcid: Move MappedMsixRegs to pcid_interface 2025-08-30 19:14:01 +02:00
bjorn3 191e6ac4eb pcid: Disable MSI and MSI-X before launching a driver 2025-08-30 18:34:41 +02:00
bjorn3 e4609257fa Merge branch 'fbcond-vim-panic' into 'master'
Fix fbcond panicking when vim quit

See merge request redox-os/drivers!280
2025-08-30 12:48:59 +00:00
Wildan Mubarok 259999c9c3 Fix fbcond panicking when vim quit 2025-08-30 12:27:35 +00:00
Jeremy Soller 8f278dcb63 Merge branch 'fix-xhci-panic' into 'master'
Fix possible panic in device enumeration

See merge request redox-os/drivers!279
2025-08-25 07:21:30 -06:00
Wildan M 34b37410be Merge branch 'master' of https://gitlab.redox-os.org/willnode/drivers into fix-xhci-panic 2025-08-24 20:10:01 +07:00
Wildan M e8bfe4448c Fix possible panic in device enumeration 2025-08-24 20:06:14 +07:00
Jeremy Soller f0fa4125ba Merge branch 'add-vdisable' into 'main'
Add _POSIX_VDISABLE to pty to disable control chars

See merge request redox-os/base!27
2025-08-15 06:57:36 -06:00
Josh Megnauth 1744adb7c1 Add _POSIX_VDISABLE to disable control chars
This is a POSIX extension to disable control chars when set in the c_cc
array. Fish and other programs use it.

See:
* redox-os/relibc!689
* redox-os/termios!3
2025-08-14 01:07:00 -04:00
Jeremy Soller 0922b7d95d Merge branch 'enlarge-debug' into 'main'
Increase initfs in debug build

See merge request redox-os/base!26
2025-08-01 06:50:42 -06:00
Wildan Mubarok fde6dab626 Increase initfs in debug build 2025-08-01 06:00:53 +00:00
Jeremy Soller 24ff0865b6 Merge branch 'bulk-send-recvfd' into 'main'
feat: Implement bulk fd passing

See merge request redox-os/base!25
2025-07-30 18:49:38 -06:00
Ibuki Omatsu 3cad0e8a33 feat: Implement bulk fd passing 2025-07-30 18:49:37 -06:00
Jeremy Soller d03f2cddd1 Merge branch 'integrate-bind-connect-redoxfs' into 'main'
feat: Reimplement bind and connect operation using token and switch GetProcCredentials to capability-based approach.

See merge request redox-os/base!19
2025-07-21 07:56:03 -06:00
Ibuki Omatsu 9a8af7c993 feat: Reimplement bind and connect operation using token and switch GetProcCredentials to capability-based approach. 2025-07-21 07:56:03 -06:00
Jeremy Soller 257e07209d Merge branch 'disable-get_proc_credentials' into 'main'
fix: Fix build errors related to uds scheme

See merge request redox-os/base!24
2025-07-19 12:13:15 -06:00
Ibuki Omatsu 1004be449d fix: Fix build errors related to uds scheme 2025-07-19 12:13:15 -06:00
Jeremy Soller e7388ae2fb Merge branch 'scheme0.6-uds' into 'main'
feat: Implement uds_dgram and uds_stream schemes.

See merge request redox-os/base!16
2025-07-18 21:58:53 -06:00
Ibuki Omatsu 9189c4c6dc feat: Implement uds_dgram and uds_stream schemes. 2025-07-18 21:58:53 -06:00
Jeremy Soller 7f2212836a Merge branch 'logd_improvements' into 'main'
Better handling of kernel logs

See merge request redox-os/base!22
2025-07-13 06:40:44 -06:00
4lDO2 a232996fe8 Add missing OnClose handler in procmgr, fixes leak. 2025-07-13 11:00:41 +02:00
bjorn3 8c8aa29468 logd: Avoid echoing back kernel logs to the kernel debug scheme 2025-07-12 17:14:12 +02:00
bjorn3 8f319d4081 logd: Improve implementation of kernel log copying
I hadn't meant to upstream it yet. I accidentally added it in a commit
touching the netstack. In any case this commit integrates the kernel log
copying directly into LogScheme.

The kernel log copying is meant to show the kernel log on the fbbootlogd
rendered bootlog. Even once the kernel graphical debug has been disabled
or if it never got enabled due to the bootloader not presenting a
framebuffer.
2025-07-12 17:14:12 +02:00
bjorn3 afa109c088 logd: Implement backfilling of logs when adding a new sink 2025-07-12 17:14:12 +02:00
bjorn3 a567d87842 logd: Open kernel log inside LogScheme::new.
This allows a future commit to skip writing to the kernel log when
necessary.
2025-07-12 17:13:17 +02:00
Jeremy Soller 36e37958c9 e1000d: do not print in busy loop 2025-07-11 09:06:10 -06:00
Jeremy Soller fc7ab34d32 Merge branch 'ipcd-scheme-version-up' into 'main'
feat: Update the redox-scheme version to 0.6 in ipcd.

See merge request redox-os/base!17
2025-07-10 21:01:41 -06:00
Ibuki Omatsu 8a3bb40a1f feat: Update the redox-scheme version to 0.6 in ipcd. 2025-07-10 21:01:40 -06:00
Jeremy Soller c39c26ebe7 Merge branch 'virtio_gpu_resize2' into 'master'
graphics/fbcond: Handle display resizing

See merge request redox-os/drivers!277
2025-07-07 14:56:09 -06:00
bjorn3 a6a6dce185 graphics/fbcond: Handle display resizing
Currently resizing only happens when writing to the terminal.
2025-07-07 21:59:08 +02:00
bjorn3 b5caa86906 graphics/fbcond: Use the v2 graphics api 2025-07-07 21:59:07 +02:00
Jeremy Soller cc7170faf7 Merge branch 'graphics_improvements' into 'master'
Various improvements to the graphics subsystem

See merge request redox-os/drivers!276
2025-07-07 12:53:41 -06:00
Jeremy Soller e614d267bb Merge branch 'ttl-to-hoplimit' into 'main'
rename Setting::Ttl to Setting::HopLimit

See merge request redox-os/base!21
2025-07-07 06:37:44 -06:00
auronandace 9240eabe67 rename Setting::Ttl to Setting::HopLimit 2025-07-06 17:29:34 +01:00
bjorn3 93e95f6fe8 graphics: Fix memory leak when resizing the display 2025-07-06 16:22:53 +02:00
bjorn3 ded7a6ed86 graphics/graphics-ipc: Update handle doc comments 2025-07-06 15:30:05 +02:00
bjorn3 918efd01cd graphics/fbcond: Inline open_display 2025-07-06 15:28:42 +02:00
bjorn3 9abeafde8d graphics: Move disable-graphical-debug to driver-graphics
This ensures it graphical debug gets disabled even when vesad never
runs.
2025-07-05 15:43:21 +02:00
bjorn3 e59d4ac7e1 graphics/vesad: Move FrameBuffer to scheme.rs 2025-07-05 15:21:40 +02:00