summaryrefslogtreecommitdiffstats
path: root/c-user/io/operations.rst
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-08-20 09:50:37 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-09-02 17:55:00 +0200
commit980734f1cdd4630eabe8bd82fe2ac21128b9a336 (patch)
tree6185fef23d5982d50895cf143f00ebafd9be8e87 /c-user/io/operations.rst
parentc-user: Split up interrupt manager (diff)
downloadrtems-docs-980734f1cdd4630eabe8bd82fe2ac21128b9a336.tar.bz2
c-user: Split up IO manager
This makes it easier to automatically generate parts of the manager documentation in the future. Update #3993.
Diffstat (limited to 'c-user/io/operations.rst')
-rw-r--r--c-user/io/operations.rst26
1 files changed, 26 insertions, 0 deletions
diff --git a/c-user/io/operations.rst b/c-user/io/operations.rst
new file mode 100644
index 0000000..ec0212d
--- /dev/null
+++ b/c-user/io/operations.rst
@@ -0,0 +1,26 @@
+.. SPDX-License-Identifier: CC-BY-SA-4.0
+
+.. Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR)
+
+Operations
+==========
+
+Register and Lookup Name
+------------------------
+
+The ``rtems_io_register`` directive associates a name with the specified device
+(i.e. major/minor number pair). Device names are typically registered as part
+of the device driver initialization sequence. The ``rtems_io_lookup``
+directive is used to determine the major/minor number pair associated with the
+specified device name. The use of these directives frees the application from
+being dependent on the arbitrary assignment of major numbers in a particular
+application. No device naming conventions are dictated by RTEMS.
+
+Accessing an Device Driver
+--------------------------
+
+The I/O manager provides directives which enable the application program to
+utilize device drivers in a standard manner. There is a direct correlation
+between the RTEMS I/O manager directives ``rtems_io_initialize``,
+``rtems_io_open``, ``rtems_io_close``, ``rtems_io_read``, ``rtems_io_write``,
+and ``rtems_io_control`` and the underlying device driver entry points.