mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
exec: Make memory_region_section_get_iotlb use section AS
Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
This commit is contained in:
parent
3be91e862a
commit
1b3fb98ff0
1 changed files with 1 additions and 1 deletions
2
exec.c
2
exec.c
|
@ -796,7 +796,7 @@ hwaddr memory_region_section_get_iotlb(CPUArchState *env,
|
|||
iotlb |= PHYS_SECTION_ROM;
|
||||
}
|
||||
} else {
|
||||
iotlb = section - address_space_memory.dispatch->map.sections;
|
||||
iotlb = section - section->address_space->dispatch->map.sections;
|
||||
iotlb += xlat;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue