提交 1b3fb98f 编写于 作者: E Edgar E. Iglesias

exec: Make memory_region_section_get_iotlb use section AS

Reviewed-by: NPeter Maydell <peter.maydell@linaro.org>
Signed-off-by: NEdgar E. Iglesias <edgar.iglesias@xilinx.com>
上级 3be91e86
...@@ -796,7 +796,7 @@ hwaddr memory_region_section_get_iotlb(CPUArchState *env, ...@@ -796,7 +796,7 @@ hwaddr memory_region_section_get_iotlb(CPUArchState *env,
iotlb |= PHYS_SECTION_ROM; iotlb |= PHYS_SECTION_ROM;
} }
} else { } else {
iotlb = section - address_space_memory.dispatch->map.sections; iotlb = section - section->address_space->dispatch->map.sections;
iotlb += xlat; iotlb += xlat;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册