Commit Graph

2787 Commits

Author SHA1 Message Date
bjorn3 48c652f5d1 Move DisplayHandle creation into GraphicsScheme::new 2026-03-07 17:49:45 +01:00
Jeremy Soller 70fe985736 Merge branch 'no_nulld' into 'main'
zerod: Don't require a copy named nulld for /dev/null

See merge request redox-os/base!146
2026-03-07 09:44:30 -07:00
bjorn3 0380521186 zerod: Don't require a copy named nulld for /dev/null
This saves 600kb on the initfs size.
2026-03-07 17:40:55 +01:00
Jeremy Soller 59cc1c30b2 Merge branch 'tidier_bootstrap_mappings' into 'main'
Tidier bootstrap memory mappings

See merge request redox-os/base!145
2026-03-07 06:32:10 -07:00
bjorn3 3a406b75e2 bootstrap: Only keep the initfs data mapped in the initfs process 2026-03-07 12:46:45 +01:00
bjorn3 ecaa58d5e5 bootstrap: Remove outdated fixme
The initfs data is already mapped as read-only by the "rest of memory"
mprotect.
2026-03-07 12:46:45 +01:00
bjorn3 a8f3e83e9d bootstrap: Map .data.rel.ro, GOT and PLT as read-only 2026-03-07 12:46:45 +01:00
Jeremy Soller 0216268ee3 Merge branch 'graphics_cleanup' into 'main'
Couple of cleanups to the graphic subsystem

See merge request redox-os/base!144
2026-03-06 14:56:37 -07:00
Jeremy Soller f6f29d8d93 Merge branch 'remove_unnecessary_patches' into 'main'
Remove no longer necessary patches

See merge request redox-os/base!143
2026-03-06 14:56:14 -07:00
bjorn3 3c79908b5a drivers/graphics: Directly pass scheme name to DisplayHandle::new 2026-03-06 22:55:50 +01:00
bjorn3 f518db3d6a drivers/inputd: Minor cleanup 2026-03-06 22:55:33 +01:00
bjorn3 bae900b79c driver/graphics: Replace direct redox_sys_call_v0 usage with libredox 2026-03-06 22:55:21 +01:00
bjorn3 d70d648ceb Remove no longer necessary patches
New versions of drm and drm-sys have been released with Redox OS support.
2026-03-06 22:40:12 +01:00
Jeremy Soller fa3f4cb825 Merge branch 'bootstrap_refactors2' into 'main'
Use FdGuard in bootstrap where possible

See merge request redox-os/base!142
2026-03-06 14:29:51 -07:00
bjorn3 311e180019 bootstrap: Move scheme socket creation to spawn 2026-03-06 22:25:20 +01:00
bjorn3 b31f48cb59 bootstrap: Directly pass event cap fd to procmgr 2026-03-06 22:25:19 +01:00
bjorn3 890f325368 bootstrap: Store FdGuard's in KernelSchemeMap 2026-03-06 22:25:18 +01:00
bjorn3 b641ed3741 bootstrap: Pass proc auth FdGuard by-value 2026-03-06 22:25:16 +01:00
bjorn3 0d957f8d20 bootstrap: Return FdGuard for the scheme root in spawn 2026-03-06 22:25:14 +01:00
bjorn3 fe3f09133d bootstrap: Use FdGuard for scheme_creation_cap 2026-03-06 22:25:05 +01:00
Jeremy Soller 3eb1309923 Merge branch 'init_rework7' into 'main'
Change from push to a pull for loading units and support unit instancing

See merge request redox-os/base!141
2026-03-05 12:12:33 -07:00
bjorn3 a063db73a4 init: Support unit instancing
And use it for the logging ramfs by having a generic ramfs unit.
2026-03-05 19:42:17 +01:00
bjorn3 0869d8184c init: Nicer error handling 2026-03-05 19:41:30 +01:00
bjorn3 1424a470d3 init: Change from push to a pull for loading units
Rather than starting all services in the config dir, we only start those
which are a dependency of the target we want to reach. This is necessary
to handle unit templating, service start stop and an alternative target
for recovery or graceful shutdown.
2026-03-04 21:55:11 +01:00
bjorn3 7cea939540 init: Switch root upon reaching initfs.target 2026-03-04 21:53:48 +01:00
Jeremy Soller c4e3a7e98f Merge branch 'init_rework6' into 'main'
Migrate the entire initfs to service definitions

See merge request redox-os/base!140
2026-02-28 09:07:13 -07:00
bjorn3 6d243d666c init: Convert rootfs to a service
With this the entire initfs now uses service definitions.
2026-02-28 17:03:25 +01:00
bjorn3 e86dbfa17e Init: Introduce support for conditionally spawning services
depending on the architecture and selected board. With this the
migration of initfs daemons to service definitions is almost done.
2026-02-28 16:55:26 +01:00
Jeremy Soller 352d90332f Use libredox::protocol in ipcd and netstack 2026-02-28 08:20:24 -07:00
Jeremy Soller 7c1a183b12 Merge branch 'base-stdfscall' into 'main'
feat: Implement std_fs_call handling to initfs, ramfs, acpi and xhci

See merge request redox-os/base!134
2026-02-28 08:15:16 -07:00
Ibuki Omatsu 2738f69224 feat: Implement std_fs_call handling to initfs, ramfs, acpi and xhci 2026-02-28 08:15:16 -07:00
Jeremy Soller 9624cd3c2c Merge branch 'serde-toml' into 'main'
make serde and toml workspace dependencies

See merge request redox-os/base!139
2026-02-27 06:19:36 -07:00
auronandace 7849aa23b3 make serde and toml workspace dependencies 2026-02-27 08:39:29 +00:00
Jeremy Soller 3a94262aff Downgrade scheme not found log level to info 2026-02-26 10:00:39 -07:00
Jeremy Soller e9e514efce Merge branch 'init_rework5' into 'main'
Convert all service definitions to toml

See merge request redox-os/base!138
2026-02-26 09:56:59 -07:00
bjorn3 124f11bde1 init: Convert all service definitions to toml 2026-02-26 17:41:39 +01:00
bjorn3 a7ee3a2364 Update to toml 1.0 2026-02-26 17:28:12 +01:00
Jeremy Soller 34acae8990 Merge branch 'fix_bootlog' into 'main'
Add missing vesad dependency to fbbootlogd

See merge request redox-os/base!137
2026-02-26 09:04:21 -07:00
bjorn3 a5041f7d7a init: Add missing vesad dependency to fbbootlogd 2026-02-26 17:03:14 +01:00
Jeremy Soller f5219072e4 Merge branch 'init_rework4' into 'main'
Convert 10_logging, 20_graphics and 30_live to services

See merge request redox-os/base!136
2026-02-26 08:50:52 -07:00
bjorn3 4f90c249ff init: Fix some issues in driver configs for arm64
Remove an unnecessary unset, remove a duplicate hwd spawn and update
requires_weak dependencies.
2026-02-26 16:46:29 +01:00
bjorn3 3d2951a23d init: Convert vesad, fbbootlogd and fbcond to services 2026-02-26 16:38:56 +01:00
bjorn3 e55bd17530 drivers/graphics: Fix a couple of warnings 2026-02-26 16:23:32 +01:00
bjorn3 31489ce7ca init: Convert inputd and lived to services 2026-02-26 16:03:41 +01:00
bjorn3 72b96695b0 init: Add a couple of service descriptions 2026-02-26 15:38:14 +01:00
bjorn3 fb051cd486 init: Special case logd
Logd is a special case. Every other service effectively has an implicit
dependency on it for sending log messages to it and even init itself
depends on it for it's own log messages.
2026-02-26 15:18:19 +01:00
Jeremy Soller e46bfb0005 Merge branch 'er' into 'main'
fix: add descriptive error messages for -K flag

See merge request redox-os/base!135
2026-02-26 06:38:14 -07:00
Jeremy Soller 1bcf92eba9 Merge branch 'cwd-fd' into 'main'
feat: Pass initial cwd fd to init

See merge request redox-os/base!131
2026-02-26 06:36:30 -07:00
Ibuki Omatsu ac3d816672 feat: Pass initial cwd fd to init 2026-02-26 06:36:30 -07:00
nekluu 49f000a3ed fix: add descriptive error messages for -K flag 2026-02-26 16:23:22 +03:00