Commit Graph

2457 Commits

Author SHA1 Message Date
Jeremy Soller b334e969b1 Merge branch 'daemon_improvements' into 'main'
Move redox-daemon into this repo and improve it

See merge request redox-os/base!47
2025-12-03 15:11:45 -07:00
bjorn3 7aa0776abd Rustfmt 2025-12-03 22:02:20 +01:00
bjorn3 f1057b6750 daemon: Abort on errors
All users did this anyway. And handling it inside the daemon crate
allows avoiding a panic of the parent process when the child process
panicked.
2025-12-03 21:55:47 +01:00
bjorn3 583c2fb3c1 daemon: Use std::io::pipe() 2025-12-03 21:43:09 +01:00
bjorn3 5655d20a64 daemon: Remove libredox dependency 2025-12-03 21:34:40 +01:00
bjorn3 54d81e7423 Merge redox-daemon into this repo 2025-12-03 21:07:13 +01:00
bjorn3 0c2341d53e Remove outdated Cargo.lock files 2025-12-03 21:00:13 +01:00
Jeremy Soller 1a92bd4bef Merge branch 'init_nowait' into 'main'
init: Add a nowait command that immediately daemonizes

See merge request redox-os/base!45
2025-11-30 07:09:29 -07:00
Jeremy Soller e5fe30573b Merge branch 'move_init_rc' into 'main'
Move init.rc from redox repo

See merge request redox-os/base!44
2025-11-30 07:07:21 -07:00
Jeremy Soller 588121d267 Merge branch 'misc_changes' into 'main'
Misc changes

See merge request redox-os/base!43
2025-11-30 07:06:36 -07:00
bjorn3 66ca17f899 init: Add a nowait command that immediately daemonizes
This is useful for daemons on which no other daemon has a dependency as
those would no longer need to use redox_daemon to daemonize themself.
2025-11-30 10:45:55 +01:00
bjorn3 ecdaccd728 Move init.rc from redox repo 2025-11-30 09:08:43 +01:00
bjorn3 5250df46dc Fix a couple of warnings 2025-11-30 09:07:40 +01:00
bjorn3 03087b091d Disable LTO 2025-11-30 09:01:58 +01:00
Jeremy Soller ff578463cb Merge branch 'fix_some_warnings' into 'main'
Fix some warnings in ptyd

See merge request redox-os/base!42
2025-11-29 12:40:06 -07:00
bjorn3 fd0f45eac8 Fix some warnings in ptyd 2025-11-29 19:17:36 +01:00
bjorn3 91a1574c7d Update for drivers repo merge 2025-11-29 19:04:06 +01:00
bjorn3 07a2b97f08 Add 'drivers/' from commit '20ffe4d7f4a85b7cc1f59495d7e6e355fed4cb06'
git-subtree-dir: drivers
git-subtree-mainline: e76ecea4ce
git-subtree-split: 20ffe4d7f4
2025-11-29 19:04:04 +01:00
Jeremy Soller 20ffe4d7f4 Merge branch 'modernize_bgad' into 'master'
graphics/bgad: Use the MMIO based interface rather than port based one

See merge request redox-os/drivers!303
2025-11-29 09:22:25 -07:00
Jeremy Soller df74936858 Merge branch 'fix_x86' into 'master'
pcid: Fix compilation on x86

See merge request redox-os/drivers!304
2025-11-29 09:20:40 -07:00
bjorn3 891a9af623 pcid: Fix compilation on x86 2025-11-29 16:18:10 +01:00
bjorn3 ce9564dd3c graphics/bgad: Use the MMIO based interface rather than port based one
This only works in QEMU, so disable bgad in VirtualBox. It currently
doesn't do much useful anyway. It supports reporting the display size
(which vesad already supports) and changing the display size (which
doesn't really work anyway as the framebuffer mapping used by vesad
doesn't get resized.) And in any case vboxd already has code to use
the BGA interface for resizing that is broken to the same extend the
resizing in bgad is.
2025-11-29 16:05:57 +01:00
Jeremy Soller ff0ac17992 Merge branch 'pcid_int_rework2' into 'master'
Use pci_allocate_interrupt_vector in nvmed

See merge request redox-os/drivers!302
2025-11-29 08:01:56 -07:00
bjorn3 5c55c4bb16 Use pci_allocate_interrupt_vector in nvmed 2025-11-29 15:39:08 +01:00
bjorn3 8dbd454ec8 Merge branch 'latest-redox-scheme' into 'master'
feat: Update some drivers to latest redox-scheme from the legacy scheme.

See merge request redox-os/drivers!296
2025-11-29 14:20:44 +00:00
Ibuki Omatsu a5d502625e feat: Update some drivers to latest redox-scheme from the legacy scheme. 2025-11-29 14:20:44 +00:00
Jeremy Soller fec64b98ef Merge branch 'pci_type_name_fix' into 'master'
Fix arg type typo

See merge request redox-os/drivers!300
2025-11-29 07:20:18 -07:00
aarch 627ead6e06 Fix arg type typo 2025-11-29 14:10:09 +00:00
Jeremy Soller 2f90aee27a Merge branch 'fix_warnings' into 'master'
Fix a bunch of warnings

See merge request redox-os/drivers!299
2025-11-29 06:45:24 -07:00
Jeremy Soller 0f24975ffb Merge branch 'pci_interrupts_rework5' into 'master'
Deduplicate int vector handling between ihdad and rtl network drivers

See merge request redox-os/drivers!298
2025-11-29 06:41:39 -07:00
bjorn3 420fde3c54 Remove a couple of unused feature gates 2025-11-29 11:16:59 +01:00
bjorn3 36e3834d8b Fix a bunch of warnings 2025-11-29 11:15:39 +01:00
bjorn3 f5475fc9a7 Deduplicate int vector handling between ihdad and rtl network drivers
Xhcid and nvmed still use their own get_int_method function as they need
need to distinguish between legacy, MSI and MSI-X interrupts.
2025-11-29 10:40:15 +01:00
Jeremy Soller 4d6581d454 xhcid: add more timeouts 2025-11-26 17:45:46 -07:00
Jeremy Soller 8ca163d575 ihdad: add many more timeouts and error handling 2025-11-26 17:30:03 -07:00
Jeremy Soller 84d43ecbf3 Add timeouts to ihdad, reduce nvmed timeouts 2025-11-26 09:53:25 -07:00
Jeremy Soller e76ecea4ce audiod: daemonize after creating audio scheme 2025-11-26 09:52:32 -07:00
Jeremy Soller d07a33ec0b Add timeouts to more driver spin loops 2025-11-26 09:30:45 -07:00
Jeremy Soller 6de1b07cb1 Merge branch 'recover-netstack' into 'main'
netstack: Do not quit at error

See merge request redox-os/base!39
2025-11-24 06:41:06 -07:00
Wildan M e65fbb6537 netstack: Do not quit at error 2025-11-23 22:09:20 -08:00
Jeremy Soller dd41c4f13e net: scheme created and daemon ready before device init 2025-11-23 09:23:09 -07:00
Jeremy Soller e3d5abdaa1 pcid: also scan bus 0x80 by default for Arrow Lake 2025-11-23 08:14:58 -07:00
Jeremy Soller 6a11465e3e pcid: allow unaligned access 2025-11-23 08:08:11 -07:00
Jeremy Soller 6d8d91ec85 hwd: daemonize 2025-11-22 20:44:15 -07:00
Jeremy Soller ccd8d8f158 hwd: launch pcid after acpid but before probe 2025-11-22 17:30:52 -07:00
Jeremy Soller 2ee3a846fb acpid: do not enter null namespace (workaround for pci) 2025-11-22 17:30:37 -07:00
Jeremy Soller e114fd9bda acpid: use pcid access file 2025-11-22 17:30:10 -07:00
Jeremy Soller cd5adcd848 acpid: initialize aml on demand 2025-11-22 17:29:46 -07:00
Jeremy Soller 2e96800384 pcid: add access file 2025-11-22 17:29:11 -07:00
Jeremy Soller e129875294 Remove unnecessary double evaluation of AML 2025-11-22 10:12:56 -07:00