diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-01-13 12:35:33 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2025-01-13 12:35:33 +0000 |
commit | afd757e46166afe86a6df4407b64203e53ea44f4 (patch) | |
tree | a6ac8d65db1346a2fcac2b629b560bb00c3a3069 /rust/qemu-api | |
parent | 16e8c947bd6f741d328bb1521f62f69dccaa3fe1 (diff) | |
download | qemu-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