History | View | Annotate | Download (10.9 kB)
cputlb: fix watchpoints handling
Cleanup commit e554861766d9ae84dd5720baa4869f4ed711506f have changedcode_address calculation in the tlb_set_page function in case of accessto a page with a watchpoint. This caused QEMU segfault in the xtensatest_break unit test. Fix it by moving code_address assignment above...
cputlb: prepare private memory API for public consumption
Fold is_ram_rom and is_ram_rom_romd() into callers.
Change is_romd() and section_addr() to take MemoryRegioninstead of MemoryRegionSection for consistency anduse memory_region_ prefix.
Reviewed-by: Richard Henderson <rth@twiddle.net>...
cputlb: move TLB handling to a separate file
Move TLB handling and softmmu code load helpers to cputlb.c,compile only for softmmu targets.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>