diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-02-19 16:23:30 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-03-04 14:45:34 +0100 |
commit | 91f8c04dd25f2eacbb9fd57db95b09313cdfd085 (patch) | |
tree | 8fce722dda23870d03eca1b2133dda1d4599a548 /scripts/check_sparse.py | |
parent | 2e6b2e08756e618e5d4316ff277e78213942a2a0 (diff) | |
download | qemu-91f8c04dd25f2eacbb9fd57db95b09313cdfd085.zip qemu-91f8c04dd25f2eacbb9fd57db95b09313cdfd085.tar.gz qemu-91f8c04dd25f2eacbb9fd57db95b09313cdfd085.tar.bz2 |
hw/char/imx_serial: Really use RX FIFO depth
While we model a 32-elements RX FIFO since the IMX serial
model was introduced in commit 988f2442971 ("hw/char/imx_serial:
Implement receive FIFO and ageing timer") we only read 1 char
at a time!
Have the IOCanReadHandler handler return how many elements are
available, and use that in the IOReadHandler handler.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Luc Michel <luc.michel@amd.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Tested-by: Bernhard Beschow <shentey@gmail.com>
Message-Id: <20250220092903.3726-7-philmd@linaro.org>
Diffstat (limited to 'scripts/check_sparse.py')
0 files changed, 0 insertions, 0 deletions