summary refs log tree commit diff stats
path: root/hw/scsi/esp.c
diff options
context:
space:
mode:
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2021-03-04 22:10:26 +0000
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2021-03-07 10:39:05 +0000
commit0097d3ec17cf9e5a55dc33bee412a380f757ff23 (patch)
tree2ffd84c0ac454567d724de59d0e284aa1cecc6a8 /hw/scsi/esp.c
parent0bd005be782d9492afe3cc6fc494d8c3b477e5b8 (diff)
downloadfocaccia-qemu-0097d3ec17cf9e5a55dc33bee412a380f757ff23.tar.gz
focaccia-qemu-0097d3ec17cf9e5a55dc33bee412a380f757ff23.zip
esp: add trace event when receiving a TI command
This enables us to determine whether the command being issued is for a DMA or a
non-DMA transfer.

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-6-mark.cave-ayland@ilande.co.uk>
Diffstat (limited to 'hw/scsi/esp.c')
-rw-r--r--hw/scsi/esp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/scsi/esp.c b/hw/scsi/esp.c
index f65c675872..73700550f2 100644
--- a/hw/scsi/esp.c
+++ b/hw/scsi/esp.c
@@ -697,6 +697,7 @@ void esp_reg_write(ESPState *s, uint32_t saddr, uint64_t val)
             }
             break;
         case CMD_TI:
+            trace_esp_mem_writeb_cmd_ti(val);
             handle_ti(s);
             break;
         case CMD_ICCS: