aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2024-01-12 12:54:04 +0000
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2024-02-13 19:37:28 +0000
commit02a3ce56a7573d4c7b173b570abda9f239666dc0 (patch)
tree3a791ad29a668d5324493428918fb252759de49a /scripts
parentd68212cdb1b60011e23e94fda3f4c2b88f601816 (diff)
downloadqemu-02a3ce56a7573d4c7b173b570abda9f239666dc0.zip
qemu-02a3ce56a7573d4c7b173b570abda9f239666dc0.tar.gz
qemu-02a3ce56a7573d4c7b173b570abda9f239666dc0.tar.bz2
esp.c: handle TC underflow for DMA SCSI requests
Detect the case where the guest underflows TC by requesting a DMA transfer which is larger than the available data. If this case is detected, immediately complete the SCSI request and handle any remaining FIFO accesses in the STATUS phase by raising INTR_BS once the FIFO is below the threshold. Note that handling the premature SCSI bus phase change in the case of TC underflow fixes booting EMILE on m68k once again. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Tested-by: Helge Deller <deller@gmx.de> Tested-by: Thomas Huth <thuth@redhat.com> Message-Id: <20240112125420.514425-73-mark.cave-ayland@ilande.co.uk> Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions