Commit Graph

2801 Commits

Author SHA1 Message Date
Jeremy Soller 49ef369fed Merge branch 'ps2d-self-test' into 'main'
ps2d: disable keyboard before running self test

See merge request redox-os/base!152
2026-03-11 07:18:08 -06:00
Jeremy Soller 3ea1fbf5f7 Merge branch 'no-panic-aml' into 'main'
acpid: Do not panic on AML failure

See merge request redox-os/base!151
2026-03-11 07:16:28 -06:00
Connor-GH 15790b1e1a ps2d: disable keyboard before running self test
Beforehand, if you spammed 'enter' (or any key) upon startup, your self
test would fail with 1C or 9C (the scancodes for pressing and releasing
enter respectively). We now disable the keyboard earlier, and this fixes
the issue.
2026-03-10 14:19:11 -05:00
Wildan M 89855606c2 acpid: Do not panic on AML failure 2026-03-10 23:38:47 +07:00
Jeremy Soller 6393a33380 Merge branch 'shm_single_segment' into 'main'
ipcd: Use a single segment + mremap for shm

See merge request redox-os/base!150
2026-03-09 13:11:27 -06:00
bjorn3 53327b0969 ipcd: Use a single segment + mremap for shm
This way mmap fully functions even in the presence of growing. Fixes a
crash of Wayland applications when resizing the SHM pool.
2026-03-09 20:06:54 +01:00
Jeremy Soller 5fdc723c38 ps2d: limit mouse resets to 10 2026-03-08 20:23:09 -06:00
Jeremy Soller 683771cc3e Merge branch 'shm_fixes' into 'main'
Couple of shm fixes for Wayland

See merge request redox-os/base!149
2026-03-08 14:45:29 -06:00
bjorn3 bd6bc56d4d ipcd: Support ftruncate in shm 2026-03-08 21:42:50 +01:00
bjorn3 db4292da49 ipcd: Implement fsize for shm
To fix seek support.
2026-03-08 21:35:52 +01:00
Jeremy Soller 3338fc7708 Merge branch 'namespace_unmount' into 'main'
Support removing schemes from a namespace

See merge request redox-os/base!148
2026-03-07 14:38:40 -07:00
bjorn3 331189d846 Rustfmt 2026-03-07 22:12:56 +01:00
bjorn3 44614a0b3f Support removing schemes from a namespace
This can be done using rmdir /scheme/my_scheme. Scheme implementations
do not yet exit when all fds are closed, but you can now kill the
service and restart it after you removed its scheme.
2026-03-07 22:07:34 +01:00
Jeremy Soller be93450c91 Merge branch 'move_display_handle_create' into 'main'
Move DisplayHandle creation into GraphicsScheme::new

See merge request redox-os/base!147
2026-03-07 10:20:14 -07:00
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