summary refs log tree commit diff stats
path: root/ui/console.c
diff options
context:
space:
mode:
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2020-07-01 21:15:31 +0100
committerLaurent Vivier <laurent@vivier.eu>2020-07-06 21:39:57 +0200
commit852002b5664bf079da05c5201dbf2345b870e5ed (patch)
tree15a44d51fbbbfe90699ae9ad1256ce239e472bc1 /ui/console.c
parent78318119eead6aed050d1730a6b72d1c555302d2 (diff)
downloadfocaccia-qemu-852002b5664bf079da05c5201dbf2345b870e5ed.tar.gz
focaccia-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 'ui/console.c')
0 files changed, 0 insertions, 0 deletions