[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 01/15] exec: remove obsolete comment
From: |
Paolo Bonzini |
Subject: |
[Qemu-devel] [PATCH 01/15] exec: remove obsolete comment |
Date: |
Fri, 24 May 2013 19:02:53 +0200 |
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 <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
---
exec.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/exec.c b/exec.c
index aec65c5..197625c 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);
}
--
1.8.1.4
- [Qemu-devel] [PULL 00/15] IOMMU patches for 1.6, part 1, Paolo Bonzini, 2013/05/24
- [Qemu-devel] [PATCH 01/15] exec: remove obsolete comment,
Paolo Bonzini <=
- [Qemu-devel] [PATCH 02/15] exec: eliminate qemu_put_ram_ptr, Paolo Bonzini, 2013/05/24
- [Qemu-devel] [PATCH 03/15] exec: make qemu_get_ram_ptr private, Paolo Bonzini, 2013/05/24
- [Qemu-devel] [PATCH 05/15] memory: assert that PhysPageEntry's ptr does not overflow, Paolo Bonzini, 2013/05/24
- [Qemu-devel] [PATCH 04/15] exec: eliminate stq_phys_notdirty, Paolo Bonzini, 2013/05/24
- [Qemu-devel] [PATCH 06/15] memory: allow memory_region_find() to run on non-root memory regions, Paolo Bonzini, 2013/05/24
- [Qemu-devel] [PATCH 07/15] memory: Replace open-coded memory_region_is_romd, Paolo Bonzini, 2013/05/24
- [Qemu-devel] [PATCH 08/15] memory: Rename readable flag to romd_mode, Paolo Bonzini, 2013/05/24
- [Qemu-devel] [PATCH 09/15] memory: do not duplicate memory_region_destructor_none, Paolo Bonzini, 2013/05/24
- [Qemu-devel] [PATCH 10/15] memory: make memory_global_sync_dirty_bitmap take an AddressSpace, Paolo Bonzini, 2013/05/24
- [Qemu-devel] [PATCH 11/15] memory: fix address space initialization/destruction, Paolo Bonzini, 2013/05/24