diff options
author | Mark Cave-Ayland | 2021-03-04 23:10:30 +0100 |
---|---|---|
committer | Mark Cave-Ayland | 2021-03-07 11:39:05 +0100 |
commit | c47b5835f5b8f971b10ecf5965117ffa3500d0ce (patch) | |
tree | 38093ea3ac5e1cb7addc1dd8881e777324aaa71a /nbd | |
parent | esp: determine transfer direction directly from SCSI phase (diff) | |
download | qemu-c47b5835f5b8f971b10ecf5965117ffa3500d0ce.tar.gz qemu-c47b5835f5b8f971b10ecf5965117ffa3500d0ce.tar.xz qemu-c47b5835f5b8f971b10ecf5965117ffa3500d0ce.zip |
esp: introduce esp_get_tc() and esp_set_tc()
These functions simplify reading and writing the TC register value without having to
manually shift each individual 8-bit value.
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-10-mark.cave-ayland@ilande.co.uk>
Diffstat (limited to 'nbd')
0 files changed, 0 insertions, 0 deletions