zephyr/cmake/linker_script/common
Tom Burdick e3d877f811 rtio: Userspace support
Add support for userspace with RTIO by making rtio and rtio_iodev
k_objects. As well as adding three syscalls for copying in submissions,
copying out completions, and starting tasks with submit.

For the small devices Zephyr typically runs on one of the most important
attributes tends to be low memory usage. To maintain the low footprint of
RTIO and its current executor implementations the rings are not shared with
userspace. Sharing the rings it turns out would require copying submissions
before working with them to avoid TOCTOU issues.

The API could still support shared rings in the future so that a
kernel thread could directly poll, copy, verify, and start the submitted
work. This would require a third executor implementation that maintains its
own copy of submissions similiar to how io_uring in Linux works.

Signed-off-by: Tom Burdick <thomas.burdick@intel.com>
2022-11-08 10:44:03 +01:00
..
common-ram.cmake rtio: Userspace support 2022-11-08 10:44:03 +01:00
common-rom.cmake drivers: sensor: Add sensor info iterable section 2022-10-31 11:21:37 +01:00
debug-sections.cmake
thread-local-storage.cmake cmake: Add .tdata and .tbss to generated TLS linker sections 2022-04-28 11:09:01 +09:00