qemu/rust
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
..
hw rust: pl011: Really use RX FIFO depth 2025-05-12 17:47:39 +02:00
qemu-api rust: clippy: enable uninlined_format_args lint 2025-05-06 16:02:04 +02:00
qemu-api-macros rust: clippy: enable uninlined_format_args lint 2025-05-06 16:02:04 +02:00
.gitignore rust: add bindgen step as a meson dependency 2024-10-11 12:32:17 +02:00
Cargo.lock rust: remove offset_of replacement 2025-05-06 16:02:04 +02:00
Cargo.toml rust: clippy: enable uninlined_format_args lint 2025-05-06 16:02:04 +02:00
clippy.toml rust: clippy: enable uninlined_format_args lint 2025-05-06 16:02:04 +02:00
Kconfig rust: add PL011 device model 2024-11-05 14:18:15 +01:00
meson.build rust: build: add "make clippy", "make rustfmt", "make rustdoc" 2024-12-10 18:44:06 +01:00
rustfmt.toml rust: add crate to expose bindings and interfaces 2024-10-11 12:32:17 +02:00
wrapper.h include/system: Move exec/address-spaces.h to system/address-spaces.h 2025-04-23 14:08:21 -07:00