Commit 1b3fb98f authored by Edgar E. Iglesias's avatar Edgar E. Iglesias

exec: Make memory_region_section_get_iotlb use section AS

Reviewed-by: 's avatarPeter Maydell <peter.maydell@linaro.org>
Signed-off-by: 's avatarEdgar E. Iglesias <edgar.iglesias@xilinx.com>
parent 3be91e86
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment