diff options
| author | Mark Cave-Ayland | 2021-03-04 23:10:57 +0100 |
|---|---|---|
| committer | Mark Cave-Ayland | 2021-03-07 11:39:05 +0100 |
| commit | 20c8d2ed6ae159b5840a46364bb679278f172576 (patch) | |
| tree | 5d7a1e78666eb90a94143165e598571c2309dec9 /include | |
| parent | esp: raise interrupt after every non-DMA byte transferred to the FIFO (diff) | |
| download | qemu-20c8d2ed6ae159b5840a46364bb679278f172576.tar.gz qemu-20c8d2ed6ae159b5840a46364bb679278f172576.tar.xz qemu-20c8d2ed6ae159b5840a46364bb679278f172576.zip | |
esp: add maxlen parameter to get_cmd()
Some guests use a mixture of DMA and non-DMA transfers in combination with the
SATN and stop command to transfer message out phase and command phase bytes to
the target. Prepare for the next commit by adding a maxlen parameter to
get_cmd() to allow partial transfers.
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-37-mark.cave-ayland@ilande.co.uk>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
