aboutsummaryrefslogtreecommitdiff
path: root/rust/qemu-api
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2025-01-13 12:35:33 +0000
committerPeter Maydell <peter.maydell@linaro.org>2025-01-13 12:35:33 +0000
commitafd757e46166afe86a6df4407b64203e53ea44f4 (patch)
treea6ac8d65db1346a2fcac2b629b560bb00c3a3069 /rust/qemu-api
parent16e8c947bd6f741d328bb1521f62f69dccaa3fe1 (diff)
downloadqemu-afd757e46166afe86a6df4407b64203e53ea44f4.zip
qemu-afd757e46166afe86a6df4407b64203e53ea44f4.tar.gz
qemu-afd757e46166afe86a6df4407b64203e53ea44f4.tar.bz2
tests/qtest/boot-serial-test: Reduce for() loop in PL011 tests
Since registers are not modified, we don't need to refill their values. Directly jump to the previous store instruction to keep filling the TXDAT register. The equivalent C code remains: while (true) { *UART_DATA = 'T'; } Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Fabiano Rosas <farosas@suse.de> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'rust/qemu-api')
0 files changed, 0 insertions, 0 deletions