Skip to content
Commit 861c200c authored by Ard Biesheuvel's avatar Ard Biesheuvel
Browse files

Platform/FVP-AArch64: use different serial ports for DEBUG and console



The FVP models expose several emulated serial ports, and always start with
Xterm windows connected to at least two of them. So let's switch to the
second one for DEBUG output, leaving the original one for console output
via SerialDxe.

Note that explicit SerialPortWrite() calls made from other modules will
now also end up on the DEBUG console. Conversely, DEBUG output generated
in the context of SerialDxe will end up on the primary serial console.
This is a fundamental consequence of the way DEBUG() that is built on top
of SerialPortWrite(), which can only be implemented in one way in each
module (but can differe between modules, hence this patch)

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: default avatarArd Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: default avatarLeif Lindholm <leif.lindholm@linaro.org>
parent 88e5de1a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment