Files
xemu/docs/devel
Paolo Bonzini ac2c4d3aed rust: pl011: Really use RX FIFO depth
While we model a 16-elements RX FIFO since the PL011 model was
introduced in commit cdbdb648b7 ("ARM Versatile Platform Baseboard
emulation"), we only read 1 char at a time!

Have can_receive() return how many elements are available, and use that
in receive().

This is the Rust version of commit 3e0f118f82 ("hw/char/pl011: Really
use RX FIFO depth"); but it also adds back a comment that is present
in commit f576e0733c ("hw/char/pl011: Add support for loopback") and
absent in the Rust code.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2025-05-12 17:47:39 +02:00
..
2025-05-06 16:02:04 +02:00
2024-02-20 22:20:48 +03:00
2025-02-07 15:50:59 +01:00
2025-01-17 10:45:49 +00:00
2024-10-15 15:16:17 +01:00
2025-05-12 17:47:39 +02:00
2023-11-14 10:40:54 -08:00
2025-04-28 13:40:17 -07:00
…