diff options
| author | Mark Cave-Ayland | 2020-07-01 22:15:31 +0200 |
|---|---|---|
| committer | Laurent Vivier | 2020-07-06 21:39:57 +0200 |
| commit | 852002b5664bf079da05c5201dbf2345b870e5ed (patch) | |
| tree | 15a44d51fbbbfe90699ae9ad1256ce239e472bc1 /include | |
| parent | target/m68k: fix physical address translation in m68k_cpu_get_phys_page_debug() (diff) | |
| download | qemu-852002b5664bf079da05c5201dbf2345b870e5ed.tar.gz qemu-852002b5664bf079da05c5201dbf2345b870e5ed.tar.xz qemu-852002b5664bf079da05c5201dbf2345b870e5ed.zip | |
target/m68k: consolidate physical translation offset into get_physical_address()
Since all callers to get_physical_address() now apply the same page offset to
the translation result, move the logic into get_physical_address() itself to
avoid duplication.
Suggested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20200701201531.13828-3-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
