genode/repos/os/src/drivers/uart/README
Norman Feske 5a1cef6381 Make label prefixing more strict
This patch unconditionally applies the labeling of sessions and thereby
removes the most common use case of 'Child_policy::filter_session_args'.
Furthermore, the patch removes an ambiguity of the session labels of
sessions created by the parent of behalf of its child, e.g., the PD
session created as part of 'Child' now has the label "<child-name>"
whereas an unlabeled PD-session request originating from the child
has the label "<child-name> -> ". This way, the routing-policy of
'Child_policy::resolve_session_request' can differentiate both cases.

As a consequence, the stricter labeling must now be considered wherever
a precise label was specified as a key for a session route or a server-
side policy selection. The simplest way to adapt those cases is to use a
'label_prefix' instead of the 'label' attribute. Alternatively, the
'label' attribute may used by appending " -> " (note the whitespace).

Fixes #2171
2016-11-30 13:37:07 +01:00

27 lines
1.0 KiB
Plaintext

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.