zephyr/doc/services/index.rst

33 lines
539 B
ReStructuredText
Raw Normal View History

.. _os_services:
OS Services
###########
.. toctree::
:maxdepth: 1
crypto/index
debugging/index.rst
device_mgmt/index
file_system/index.rst
formatted_output.rst
ipc/index.rst
logging/index.rst
tracing/index.rst
resource_management/index.rst
modbus/index.rst
notify.rst
pm/index.rst
portability/index.rst
shell/index.rst
settings/index.rst
smf/index.rst
storage/index.rst
task_wdt/index.rst
tfm/index
usb/index.rst
virtualization/index.rst
rtio: Real-Time Input/Output Stream A DMA friendly Stream API for zephyr. Based on ideas from io_uring and iio, a queue based API for I/O operations. Provides a pair of fixed length ringbuffer backed queues for submitting I/O requests and recieving I/O completions. The requests may be chained together to ensure the next operation does not start until the current one is complete. Requests target an abstract rtio_iodev which is expected to wrap all the hardware particulars of how to perform the operation. For example with a SPI bus device, a description of what a read, and write mean can be decided by the iodev wrapping a particular device hanging off of a SPI controller. The queue pair are submitted to an executor which may be a simple inplace looping executor done in the callers execution context (thread/stack) but other executors are expected. A threadpool executor might for example allow for concurrent request chains to execute in parallel. A DMA executor, in conjunction with DMA aware iodevs would allow for hardware offloading of operations going so far as to schedule with priority using hardware arbitration. Both the iodev and executor are definable by a particular SoC, meaning they can work in conjuction to perform IO operations using a particular DMA controller or methodology if desired. The application decides entirely how large the queues are, where the buffers to read/write come from (some executors may have particular demands!), and which executor to submit requests to. Signed-off-by: Tom Burdick <thomas.burdick@intel.com>
2019-06-26 23:17:18 +08:00
rtio/index.rst
misc.rst