diff options
author | 2024-03-24 19:17:03 +0000 | |
---|---|---|
committer | 2024-04-04 15:17:53 +0100 | |
commit | 743d8736458d3f939fb957835f42ecc3e2d0f75c (patch) | |
tree | 92519fb81ad5a26cc9a9a86ecbebd96e188aaaa9 /plugins/api.c | |
parent | esp.c: move esp_set_phase() and esp_get_phase() towards the beginning of the file (diff) | |
download | qemu-743d8736458d3f939fb957835f42ecc3e2d0f75c.tar.xz qemu-743d8736458d3f939fb957835f42ecc3e2d0f75c.zip |
esp.c: introduce esp_update_drq() and update esp_fifo_{push, pop}_buf() to use it
This new function sets the DRQ line correctly according to the current transfer
mode, direction and FIFO contents. Update esp_fifo_push_buf() and esp_fifo_pop_buf()
to use it so that DRQ is always set correctly when reading/writing multiple bytes
to/from the FIFO.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20240324191707.623175-15-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Diffstat (limited to 'plugins/api.c')
0 files changed, 0 insertions, 0 deletions