target/sparc: remove MemoryRegionSection check code from sparc_cpu_get_phys_page_debug()
commit7e450a8f50ac12fc8f69b6ce555254c84efcf407
authorJean-Christophe Dubois <jcd@tribudubois.net>
Wed, 22 Nov 2017 06:32:50 +0000 (22 07:32 +0100)
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Tue, 9 Jan 2018 21:31:31 +0000 (9 21:31 +0000)
tree97db18857434bbdef70d04823e4cbc4a0f3783e7
parent3cee4db661ab9c0fce7937b3bbfa188a1845f31f
target/sparc: remove MemoryRegionSection check code from sparc_cpu_get_phys_page_debug()

This code is preventing the MMU debug code from displaying virtual
mappings of IO devices (anything that is not located in the RAM).

Before this patch, Qemu would output 0xffffffffffffffff (-1) as the
physical address corresponding to an IO device virtual address.

With this patch the intended physical address is displayed.

Signed-off-by: Jean-Christophe Dubois <jcd@tribudubois.net>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
target/sparc/mmu_helper.c