genode/repos/os/src/drivers/uart
Stefan Kalkowski ed52d5a211 Introduce 'spec' subdirectories to outline aspects
Instead of holding SPEC-variable dependent files and directories inline
within the repository structure, move them into 'spec' subdirectories
at the corresponding levels, e.g.:

  repos/base/include/spec
  repos/base/mk/spec
  repos/base/lib/mk/spec
  repos/base/src/core/spec
  ...

Moreover, this commit removes the 'platform' directories. That term was
used in an overloaded sense. All SPEC-relative 'platform' directories are
now named 'spec'. Other files, like for instance those related to the
kernel/architecture specific startup library, where moved from 'platform'
directories to explicit, more meaningful places like e.g.: 'src/lib/startup'.

Fix #1673
2015-09-16 13:58:50 +02:00
..
kdb Introduce 'spec' subdirectories to outline aspects 2015-09-16 13:58:50 +02:00
spec Introduce 'spec' subdirectories to outline aspects 2015-09-16 13:58:50 +02:00
README Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
uart_component.h Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
uart_driver.h Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00

This driver operates the UARTs on the given platform. It provides the
'Terminal_session' interface for output via serial line.

Configuration
~~~~~~~~~~~~~

The server supports the following configuration options, supplied
via Genode's config mechanism.

:Routing clients to specific UARTs:

  Depending on the underlying hardware platform, the UART server is
  configurable to route specific clients to distinct UARTs. There is
  no default routing, so the configuration is mandatory. UART 0 is
  assumed to be used by the kernel and, therefore, left untouched.

  ! <config>
  !   <policy label="test-uart1" uart="1" detect_size="yes" />
  !   <policy label="test-uart2" uart="2" />
  !   <policy label="test-uartx" uart="1" />
  ! </config>

  If the 'detect_size' attribute is set to "yes", the UART driver will
  try to detect the terminal size of the connected remote terminal using
  a protocol of escape sequences. If not specified, the UART driver will
  report a size of (0, 0) to the terminal-session client.