From: Paolo Bonzini Date: Thu, 11 Apr 2013 13:33:16 +0000 (+0200) Subject: exec: remove obsolete comment X-Git-Tag: qemu-xen-4.4.0-rc1~6^2~368^2~14 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=bbcfd2913cdb8623d1c57fa26bf481f34bf7989a;p=qemu-upstream-4.5-testing.git 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 Signed-off-by: Paolo Bonzini --- diff --git a/exec.c b/exec.c index aec65c506..197625c91 100644 --- a/exec.c +++ b/exec.c @@ -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); }