summary refs log tree commit diff stats
path: root/scripts/qapi/main.py
diff options
context:
space:
mode:
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2023-12-20 13:16:34 +0000
committerThomas Huth <huth@tuxfamily.org>2023-12-22 14:08:26 +0100
commit0d60da39981c5907b8d822c6889ea948c76a4d30 (patch)
tree716df7b106902d47f2f90813747d39cd0752919d /scripts/qapi/main.py
parent7e993d934a2267940b16f5ebe328478a5273dcdf (diff)
downloadfocaccia-qemu-0d60da39981c5907b8d822c6889ea948c76a4d30.tar.gz
focaccia-qemu-0d60da39981c5907b8d822c6889ea948c76a4d30.zip
next-cube.c: update scr_ops to properly use modern memory API
The old QEMU memory accessors used in the original NextCube patch series had
separate functions for 1, 2 and 4 byte accessors. When the series was finally
merged a simple wrapper function was written to dispatch the memory accesses
using the original functions.

Convert scr_ops to use the memory API directly renaming it to next_scr_ops,
marking it as DEVICE_BIG_ENDIAN, and handling any unaligned accesses.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Thomas Huth <huth@tuxfamily.org>
Message-ID: <20231220131641.592826-5-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Thomas Huth <huth@tuxfamily.org>
Diffstat (limited to 'scripts/qapi/main.py')
0 files changed, 0 insertions, 0 deletions