summaryrefslogtreecommitdiffstats
path: root/include/hw
diff options
context:
space:
mode:
authorMark Cave-Ayland2021-03-04 23:11:02 +0100
committerMark Cave-Ayland2021-03-07 11:39:05 +0100
commit1b9e48a5bdbc96833113f249909af0d30a76cc25 (patch)
tree7868db88a9d6ee3a53839db966d3678af6d24d57 /include/hw
parentesp: add trivial implementation of the ESP_RFLAGS register (diff)
downloadqemu-1b9e48a5bdbc96833113f249909af0d30a76cc25.tar.gz
qemu-1b9e48a5bdbc96833113f249909af0d30a76cc25.tar.xz
qemu-1b9e48a5bdbc96833113f249909af0d30a76cc25.zip
esp: implement non-DMA transfers in PDMA mode
The MacOS toolbox ROM uses non-DMA TI commands to handle the first/last byte of an unaligned 16-bit transfer to memory. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Message-Id: <20210304221103.6369-42-mark.cave-ayland@ilande.co.uk>
Diffstat (limited to 'include/hw')
-rw-r--r--include/hw/scsi/esp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/scsi/esp.h b/include/hw/scsi/esp.h
index 2fe8d20ab5..95088490aa 100644
--- a/include/hw/scsi/esp.h
+++ b/include/hw/scsi/esp.h
@@ -40,6 +40,7 @@ struct ESPState {
uint32_t do_cmd;
bool data_in_ready;
+ uint8_t ti_cmd;
int dma_enabled;
uint32_t async_len;