bjorn3
d94edccf9a
driver/graphics: Avoid unconditionally enabling CursorPlaneHotspot
...
This is necessary to fix software cursor support in Orbital.
2026-03-12 20:31:16 +01:00
Jeremy Soller
39cce0fd11
Merge branch 'orbclient_crates_io' into 'main'
...
Use orbclient from crates.io
See merge request redox-os/base!156
2026-03-12 12:26:05 -06:00
bjorn3
2c69d5f45f
Use orbclient from crates.io
2026-03-12 19:22:09 +01:00
Jeremy Soller
725bf9f6f1
Merge branch 'gpu_drm15' into 'main'
...
drivers/graphics: Add framebuffer indirection to the DRM interface
See merge request redox-os/base!154
2026-03-11 18:05:43 -06:00
Jeremy Soller
26470d176e
Merge branch 'fix_warnings' into 'main'
...
Fix a bunch of warnings
See merge request redox-os/base!153
2026-03-11 16:51:59 -06:00
bjorn3
f01d0fe8a1
drivers/graphics: Introduce UPDATE_CURSOR ioctl
...
Orbital needs this as we don't implement cursor planes yet.
2026-03-11 23:17:38 +01:00
bjorn3
511c6080ca
drivers/graphics: Add framebuffer indirection to the DRM interface
...
This matches the Linux DRM interface. With this I believe the only
divergence from the Linux DRM interface that would be a breaking change
to the in-tree users of the graphics api to change to the proper
interface is the use of the UPDATE_PLANE ioctl in the place of proper
modesetting interface. It should be possible to support this in
parallel to UPDATE_PLANE, so updating Orbital to the DRM interface
should now be possible. Orbital can be updated to the proper modesetting
interface once it is implemented.
2026-03-11 22:49:19 +01:00
bjorn3
9795abb0ea
Fix a bunch of warnings
2026-03-11 22:05:44 +01:00
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