genode/repos/os/src/drivers/uart
Ehmry - af52274972 Tup: add x86 drivers from os repo 2019-10-28 11:32:29 +01:00
..
kdb Follow practices suggested by "Effective C++" 2018-01-17 12:14:35 +01:00
spec Clang: do not use angle brackets for local includes 2019-10-28 11:32:29 +01:00
README Make label prefixing more strict 2016-11-30 13:37:07 +01:00
Tupfile Tup: add x86 drivers from os repo 2019-10-28 11:32:29 +01:00
main.cc Clang: do not use angle brackets for local includes 2019-10-28 11:32:29 +01:00
target.inc os: rename uart_drv unambigously (ref #2190) 2019-05-16 13:11:01 +02:00
uart_component.h Add missing override annotations 2019-02-19 11:12:11 +01:00
uart_driver_base.h Follow practices suggested by "Effective C++" 2018-01-17 12:14:35 +01:00

README

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_prefix="test-uart1" uart="1" detect_size="yes" />
  !   <policy label_prefix="test-uart2" uart="2" />
  !   <policy label_prefix="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.