diff options
Diffstat (limited to 'c-user/config/device-driver.rst')
-rw-r--r-- | c-user/config/device-driver.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/c-user/config/device-driver.rst b/c-user/config/device-driver.rst index 87ed27a..971bb9e 100644 --- a/c-user/config/device-driver.rst +++ b/c-user/config/device-driver.rst @@ -237,7 +237,7 @@ The Console Driver is responsible for providing the :file:`/dev/console` device file. This device is used to initialize the standard input, output, and error file descriptors. -BSPs should be constructed in a manner that allows :c:func:`printk` to work +BSPs should be constructed in a manner that allows :ref:`InterfacePrintk` to work properly without the need for the Console Driver to be configured. The @@ -439,9 +439,9 @@ This device driver is responsible for providing the :file:`/dev/console` device file. This device is used to initialize the standard input, output, and error file descriptors. -This device driver reads via :c:func:`getchark`. +This device driver reads via :ref:`InterfaceGetchark`. -This device driver writes via :c:func:`rtems_putc`. +This device driver writes via :ref:`InterfaceRtemsPutc`. The Termios framework is not used. There is no support to change device settings, e.g. baud, stop bits, parity, etc. @@ -493,14 +493,14 @@ This device driver is responsible for providing the :file:`/dev/console` device file. This device is used to initialize the standard input, output, and error file descriptors. -This device driver reads via :c:func:`getchark`. +This device driver reads via :ref:`InterfaceGetchark`. This device driver writes into a write buffer. The count of characters written into the write buffer is returned. It might be less than the requested count, in case the write buffer is full. The write is non-blocking and may be called from interrupt context. A dedicated task reads from the write buffer and outputs the characters via -:c:func:`rtems_putc`. This task runs with the least important priority. +:ref:`InterfaceRtemsPutc`. This task runs with the least important priority. The write buffer size is 2047 characters and it is not configurable. Use ``fsync( STDOUT_FILENO )`` or ``fdatasync( STDOUT_FILENO )`` to drain the |