diff options
author | Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> | 2021-03-04 22:10:44 +0000 |
---|---|---|
committer | Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> | 2021-03-07 10:39:05 +0000 |
commit | ad7f468c4252ee83f6e150c11ae02f71f6d467ef (patch) | |
tree | bb1d758a198f19c8eaec1ebb8680657c427f06a4 /include | |
parent | 93efe2e6243d0192ed0e383a3e3e91b0ce1d9063 (diff) | |
download | qemu-ad7f468c4252ee83f6e150c11ae02f71f6d467ef.zip qemu-ad7f468c4252ee83f6e150c11ae02f71f6d467ef.tar.gz qemu-ad7f468c4252ee83f6e150c11ae02f71f6d467ef.tar.bz2 |
esp: use ti_wptr/ti_rptr to manage the current FIFO position for PDMA
This eliminates the last user of the PDMA-specific pdma_cur variable which can
now be removed.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20210304221103.6369-24-mark.cave-ayland@ilande.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/scsi/esp.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/hw/scsi/esp.h b/include/hw/scsi/esp.h index 55b0aee..26bd015 100644 --- a/include/hw/scsi/esp.h +++ b/include/hw/scsi/esp.h @@ -58,7 +58,6 @@ struct ESPState { void (*dma_cb)(ESPState *s); int pdma_origin; uint32_t pdma_len; - uint32_t pdma_cur; void (*pdma_cb)(ESPState *s); uint8_t mig_version_id; |