This series implements unaligned accesses for early m68k CPUs that do not
support word/long accesses at byte granularity. Patch 1 implements the
do_unaligned_access function for m68k CPUs, whilst patch 2 is based upon a
prototype patch developed by Laurent as part of Gitlab Issue #2165.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2165
Mark Cave-Ayland (2):
target/m68k: implement do_unaligned_access callback for m68k CPUs
target/m68k: pass alignment into TCG memory load/store routines
target/m68k/cpu.c | 1 +
target/m68k/cpu.h | 4 ++++
target/m68k/op_helper.c | 11 +++++++++++
target/m68k/translate.c | 18 +++++++++++++++---
4 files changed, 31 insertions(+), 3 deletions(-)
--
2.39.2