aboutsummaryrefslogtreecommitdiff
path: root/trace/control-internal.h
diff options
context:
space:
mode:
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2024-01-11 10:29:52 +0000
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-02-27 09:36:25 +0100
commit9cda31193b84ea91684efb3916ac2cc34a6715bc (patch)
treea694322dd5167f34be4157e6961289a0ceea4d72 /trace/control-internal.h
parent491da0af99527bb27859e576b12fa53f21ee2a13 (diff)
downloadqemu-9cda31193b84ea91684efb3916ac2cc34a6715bc.zip
qemu-9cda31193b84ea91684efb3916ac2cc34a6715bc.tar.gz
qemu-9cda31193b84ea91684efb3916ac2cc34a6715bc.tar.bz2
hw/nubus-device: round Declaration ROM memory region address to qemu_target_page_size()
Declaration ROM binary images can be any arbitrary size, however if a host ROM memory region is not aligned to qemu_target_page_size() then we fail the "assert(!(iotlb & ~TARGET_PAGE_MASK))" check in tlb_set_page_full(). Ensure that the host ROM memory region is aligned to qemu_target_page_size() and adjust the offset at which the Declaration ROM image is loaded, since Nubus ROM images are unusual in that they are aligned to the end of the slot address space. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Message-ID: <20240111102954.449462-2-mark.cave-ayland@ilande.co.uk> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'trace/control-internal.h')
0 files changed, 0 insertions, 0 deletions