Commit Graph

2478 Commits

Author SHA1 Message Date
Wildan M 997fe9ff50 ci: Add cargo check 2025-12-10 12:52:08 +07:00
Jeremy Soller 2df5447272 Merge branch 'p0' into 'main'
misc: run `cargo update`

See merge request redox-os/base!53
2025-12-08 18:38:05 -07:00
Anhad Singh 854e48c0d6 misc: run cargo update
Fixes compilation of `apcid`
2025-12-09 12:35:28 +11:00
Jeremy Soller 949e1feb55 Merge branch 'bootstrap_cloexec' into 'main'
bootstrap: Open things with O_CLOEXEC where possible

See merge request redox-os/base!52
2025-12-08 16:49:46 -07:00
bjorn3 3bdcd7b04d bootstrap: Open things with O_CLOEXEC where possible 2025-12-08 22:17:41 +01:00
Jeremy Soller bff13cc204 Merge branch 'ec' into 'main'
Initial embedded controller support

See merge request redox-os/base!50
2025-12-08 10:29:16 -07:00
aarch 408eb5c86d Initial embedded controller support 2025-12-08 10:29:16 -07:00
Jeremy Soller 5fac9991c2 Merge branch 'main' into 'main'
fix(procmgr): send SIGCHLD to parent after child exits

See merge request redox-os/base!40
2025-12-07 17:59:52 -07:00
Jeremy Soller 888b51a4eb Merge branch 'update_redox_rt' into 'main'
bootstrap: Update redox-rt

See merge request redox-os/base!51
2025-12-07 13:51:24 -07:00
bjorn3 63907aff45 bootstrap: Update redox-rt 2025-12-07 20:59:32 +01:00
Jeremy Soller 837117485f Merge branch 'minor_init_rc_cleanup' into 'main'
Two minor cleanups to init.rc

See merge request redox-os/base!49
2025-12-06 08:15:24 -07:00
bjorn3 1350cf79cf Remove unnecessary VT switch
We already automatically switch to the first VT that gets created.
2025-12-06 10:51:16 +01:00
Jeremy Soller 85e16c110b Merge branch 'daemon_improvements2' into 'main'
Various improvements to the way daemons work

See merge request redox-os/base!48
2025-12-05 17:31:52 -07:00
bjorn3 6c39bea37a Only depend on redox-rt when compiling for redox
This fixes rust-analyzer when it is not configured to use redox as target.
2025-12-05 22:06:39 +01:00
bjorn3 858ff9cea9 init: Refactor the run function to reduce indentation 2025-12-05 21:02:46 +01:00
bjorn3 1d834c2393 init: Read config files all at once
This is simpler than streaming and likely a bit faster. Config files are
expected to be tiny.
2025-12-05 20:52:50 +01:00
bjorn3 c7adb019b5 Use file as default scheme from the start
This removes one piece of state that init has to manage for the
processes it spawns. This also allows getting rid of the concept of a
default scheme from relibc if we want.
2025-12-05 20:52:50 +01:00
bjorn3 4a182077c9 ipcd: Fix a couple of warnings 2025-12-05 20:52:46 +01:00
bjorn3 3abe41d258 drivers/pcid: Add pci_daemon function
This handles daemonization and getting the PciFunctionHandle.
2025-12-04 11:44:29 +01:00
bjorn3 f06923b201 Standardize main function of all daemons 2025-12-04 11:44:29 +01:00
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
Anhad Singh 5f3b2cc91f fix(procmgr): send SIGCHLD to parent after child exits
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-12-01 11:03:57 +11: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