Home
last modified time | relevance | path

Searched hist:"78318119 eead6aed050d1730a6b72d1c555302d2" (Results 1 – 1 of 1) sorted by relevance

/qemu/target/m68k/
H A Dhelper.c78318119eead6aed050d1730a6b72d1c555302d2 Wed Jul 01 20:15:30 UTC 2020 Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> target/m68k: fix physical address translation in m68k_cpu_get_phys_page_debug()

The result of the get_physical_address() function should be combined with the
offset of the original page access before being returned. Otherwise the
m68k_cpu_get_phys_page_debug() function can round to the wrong page causing
incorrect lookups in gdbstub and various "Disassembler disagrees with
translator over instruction decoding" warnings to appear at translation time.

Fixes: 88b2fef6c3 ("target/m68k: add MC68040 MMU")
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20200701201531.13828-2-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>