next-cube.c: update and improve dma_ops
commitc0dedcf4c145314724473341dde179d95977bacf
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Wed, 20 Dec 2023 13:16:35 +0000 (20 13:16 +0000)
committerThomas Huth <huth@tuxfamily.org>
Fri, 22 Dec 2023 13:08:26 +0000 (22 14:08 +0100)
tree63d30719f7225347a6c051847b95db311c175c26
parent0d60da39981c5907b8d822c6889ea948c76a4d30
next-cube.c: update and improve dma_ops

Rename dma_ops to next_dma_ops and the read/write functions to next_dma_read()
and next_dma_write() respectively, mark next_dma_ops as DEVICE_BIG_ENDIAN and
also improve the consistency of the val variable in next_dma_read() and
next_dma_write().

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Thomas Huth <huth@tuxfamily.org>
Message-ID: <20231220131641.592826-6-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Thomas Huth <huth@tuxfamily.org>
hw/m68k/next-cube.c