hw/char/pl011: Warn when using disabled receiver
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 22 May 2023 09:05:49 +0000 (11:05 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 4 Mar 2025 13:45:34 +0000 (14:45 +0100)
commitabf2b6a028670bd2890bb3aee7e103fe53e4b0df
treea25f013c93874c2dce66fd482609d281dd3fba74
parent92988c45017ca9385f408eb109184d68d4fef8e7
hw/char/pl011: Warn when using disabled receiver

We shouldn't receive characters when the full UART or its
receiver is disabled. However we don't want to break the
possibly incomplete "my first bare metal assembly program"s,
so we choose to simply display a warning when this occurs.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Luc Michel <luc.michel@amd.com>
Message-Id: <20250220092903.3726-2-philmd@linaro.org>
hw/char/pl011.c