diff options
author | Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> | 2023-12-20 13:16:34 +0000 |
---|---|---|
committer | Thomas Huth <huth@tuxfamily.org> | 2023-12-22 14:08:26 +0100 |
commit | 0d60da39981c5907b8d822c6889ea948c76a4d30 (patch) | |
tree | 716df7b106902d47f2f90813747d39cd0752919d /bsd-user/openbsd/target_os_elf.h | |
parent | 7e993d934a2267940b16f5ebe328478a5273dcdf (diff) | |
download | qemu-0d60da39981c5907b8d822c6889ea948c76a4d30.zip qemu-0d60da39981c5907b8d822c6889ea948c76a4d30.tar.gz qemu-0d60da39981c5907b8d822c6889ea948c76a4d30.tar.bz2 |
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 'bsd-user/openbsd/target_os_elf.h')
0 files changed, 0 insertions, 0 deletions