diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2013-04-11 15:33:16 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2013-05-24 18:42:07 +0200 |
commit | bbcfd2913cdb8623d1c57fa26bf481f34bf7989a (patch) | |
tree | 8d5fa4da072b464d46a84b0dbac9a8bd891682fe | |
parent | 9ce0e9275434bacdeba42dd32e0e8269293fe2cf (diff) | |
download | qemu-bbcfd2913cdb8623d1c57fa26bf481f34bf7989a.zip qemu-bbcfd2913cdb8623d1c57fa26bf481f34bf7989a.tar.gz qemu-bbcfd2913cdb8623d1c57fa26bf481f34bf7989a.tar.bz2 |
exec: remove obsolete comment
See how we call memory_region_section_addr two lines below to
convert a physical address to a base address in the region.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r-- | exec.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -639,12 +639,6 @@ hwaddr memory_region_section_get_iotlb(CPUArchState *env, iotlb |= phys_section_rom; } } else { - /* IO handlers are currently passed a physical address. - It would be nice to pass an offset from the base address - of that region. This would avoid having to special case RAM, - and avoid full address decoding in every device. - We can't use the high bits of pd for this because - IO_MEM_ROMD uses these as a ram address. */ iotlb = section - phys_sections; iotlb += memory_region_section_addr(section, paddr); } |