summary refs log tree commit diff stats
path: root/scripts/qapi/expr.py
diff options
context:
space:
mode:
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2023-12-20 13:16:33 +0000
committerThomas Huth <huth@tuxfamily.org>2023-12-22 14:08:26 +0100
commit7e993d934a2267940b16f5ebe328478a5273dcdf (patch)
tree3a6a786722878859392b3c09621b272d30aa7b5e /scripts/qapi/expr.py
parent6f2454be58ebe656ce5ffffb03765e8d0adaac8c (diff)
downloadfocaccia-qemu-7e993d934a2267940b16f5ebe328478a5273dcdf.tar.gz
focaccia-qemu-7e993d934a2267940b16f5ebe328478a5273dcdf.zip
next-cube.c: update mmio_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 mmio_ops to use the memory API directly renaming it to next_mmio_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-4-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Thomas Huth <huth@tuxfamily.org>
Diffstat (limited to 'scripts/qapi/expr.py')
0 files changed, 0 insertions, 0 deletions